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

uses ahoy js to prevents bot tracking #556

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

uses ahoy js to prevents bot tracking #556

wants to merge 1 commit into from

Conversation

adrienpoly
Copy link
Owner

We recently had lots of fake traffic creating a massive amount of visits
Ahoy implemements a bot detection feature but backend side it is not always reliable. Using the front end package is recommended in such cases

let's see if it filters more bot!!!


import ahoy from 'ahoy.js'

ahoy.trackView()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add this into a turbo:load event listener so it tracks it in the right way? Or did you do it like this on purpose?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good point, I used the install recommended by the documentation
I will look into the source and do a few testing

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

Successfully merging this pull request may close these issues.

2 participants