Comments (4)
I'd like to get feedback on the monday Product Opener call before we move on that one.
There are privacy implications, and there are functional implications (how we want to do it).
from smooth-app.
@teolemon Generally speaking, would that mean systematically setting the app user parameter each time we query the server?
I've just had a look at the code and it looks like we systematically add the user to product-read server queries, except for single product refreshes (which are the most common, e.g. the refresh after product change).
In product_refresh.dart
:
final ProductResultV3 result = await OpenFoodAPIClient.getProductV3(
getBarcodeQueryConfiguration(
barcode,
language,
),
uriHelper: ProductQuery.uriProductHelper,
// just add this parameter, that already exists -> user: ProductQuery.getUser(),
);
That wouldn't be a hidden option, that would just be "From now on Smoothie always sends you the user, do whatever you want on the server side with that additional info".
Would only take 5 minutes to PR.
from smooth-app.
I got feedback, it should be ok for all logged in users that have enabled the analytics collection
from smooth-app.
@teolemon Let me summarize the current status.
If the user is logged in, we ALWAYS send the user in our server queries (READ/WRITE) except in one case: single product refresh (that we use all the time) where no user is provided.
Obviously we need to add the user parameter to the last remaining case (single product refresh), in order to match the needs from OP.
On the other hand, if it is considered as "inappropriate tracking", we should NOT use the user param in any READ server query when the user specified that no analytics should be performed. Assuming that using it for WRITE is tacit common sense.
from smooth-app.
Related Issues (20)
- Bad logos for "Signal a problem" in offline
- Empty chip in some cases on price page HOT 1
- Add a pathway to price per kilo HOT 3
- The photo list performs very badly HOT 1
- Crash reports on category addition (and possibly others) on iOS HOT 1
- White on white onboarding? HOT 2
- Add an item about Data Quality in the Contribute Section HOT 2
- F-Droid build failed HOT 3
- The app could disallow Emoji’s in brand names HOT 1
- Hotfix: 4.15.1 HOT 2
- Allow disabling deeplinks in iOS HOT 1
- In editing section, add a deeplink to Hunger Games logo
- Create a "Contribute to your country" link HOT 6
- Add an accessibility setting for visually impaired users
- (Brainstorm) Add a page listing all the features of the app, with icons, and the ability to deep-dive HOT 2
- Upgrade dependencies of the project HOT 1
- Harmonize search screens
- Analytics/Matomo: Add a parameter if the user is logged in
- Add events added to the code in analytics.openfoodfacts.org
- bug on opening deep link for login from nutripatrol
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smooth-app.