Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tour engagement counter #842

Open
jrosindell opened this issue Apr 27, 2024 · 1 comment
Open

Tour engagement counter #842

jrosindell opened this issue Apr 27, 2024 · 1 comment

Comments

@jrosindell
Copy link
Member

We have a views field on the tour table of our database but it's not being utilised at present from what I can see. We need to update this as a minimum and in future work we could consider giving users the chance to add a * rating and comment for tours after reaching the end.

@lentinj
Copy link
Collaborator

lentinj commented Apr 28, 2024

I'm fairly sure this was never implemented. But if it were, piping the data to google analytics makes more sense.

Otherwise we turn each tour read into a write, which would mean that only one user could ever be served at a time, as they'd have to wait for their turn to increment the visit counter.

This would also have the advantage of being triggered in Javascript, so more likely someone actually viewing a tour vs. scripts downloading tours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants