P
Prisma•2mo ago
K1|ller

I need to register the popularity of products

I'm creating a site where I need to create some "product history" but also register the popularity so people can sort the product list. If I register each visit I'll be registering bots or crawlers visits. How did you achieve this in your app? google analytics?
1 Reply
Nurul
Nurul•2mo ago
Hello @K1|ller 👋 I think you would need to implement a system that filters out bot or crawler traffic while still tracking user activity. You can use something like this to detect bots and exlude them: https://github.com/faisalman/ua-parser-js
GitHub
GitHub - faisalman/ua-parser-js: "Unmask Your Traffic" - UAParser.j...
"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection - faisalman/ua-parser-js

Did you find this page helpful?