-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Keeping track of Product Views through Anonymous Data #425
Comments
As pointed out here, that should probably rather be done on the server side than on the client side. |
@monsieurtanuki thank you for the amazing insight. Please correct me if I am wrong again, but I would suggest implementing Google Analytics APIs on the server-side for this purpose. It can prevent falsifying of data as pointed out here, as it doesn't record multiple Event API calls from the same user for a default Time Frame. Also, it can track per product views using the Real-Time Reporting API, making it a lot easier to get started with Most Popular Section. |
When I remember correctly there is already some kind of loose tracking of some metrics, but Open Food Facts has a big focus on privacy therefore I guess Google Analytics isn't in use. But as monsieurtanuki already pointed out, this repository has nothing to do with tracking metrics but is just a wrapper around the OpenFoodFacts API. You'll probably get a better answer if you either ask in the server repository or even better on Slack |
I'm closing, as we indeed already compute a popularity index server side, and have also a https://github.com/openfoodfacts/openfoodfacts-monitoring repository |
We can add the functionality to keep track of the views a certain product is getting, thereby providing us with essential information about which products are liked or generally bought by people.
Using this data, we can improve the Open Food Facts AI and create a section for Most Popular Products.
The text was updated successfully, but these errors were encountered: