Giter Site home page Giter Site logo

Comments (5)

Mercy811 avatar Mercy811 commented on July 25, 2024

Hi @nblum37, have you ever sent IP and location before enabling COPPA? If so, Amplitude's backend uses history IP and location data. Could you log the payload of events sent to see if IP and location are include? If not, it means COPPA is set successfully. You can simply test with another user id or create another project and send events to the new project.

from amplitude-flutter.

nblum37 avatar nblum37 commented on July 25, 2024

No, so COPPA was enabled starting from the very first attempt to include Amplitude. I see the same behavior if I change to a user that was not logged before, meaning also the location and IP are tracked.
As the Amplitude traffic is sent via a native package, it is not straightforward to intercept the packages before being HTTPS encrypted. Does the framework offer the possibility to enable verbose logging in the console? Or how can I log the payload?

EDIT: Is it possible that clearUserProperties() resets the COPPA setting? If I enable COPPA again after clearing the user properties, it seems to work fine. The only question would be then, if also other settings like server region and so on need to be set again, as well?

from amplitude-flutter.

Mercy811 avatar Mercy811 commented on July 25, 2024

Hi @nblum37, could you share your project link so that I can check if Ip and location are in raw requests. clearUserProperties() internally send a $clearAll event to clear all history user properties including region in DB so it should work.

from amplitude-flutter.

nblum37 avatar nblum37 commented on July 25, 2024

Thanks for the reply. I sent the link to your GitHub e-mail address.

So it seems to keep COPPA enabled if I use the following code to set user properties

  Future setUserId({@required String? id}) async {
    id = id?.split('_').lastOrNull ?? id;

    await _analytics.enableCoppaControl();
    await _analytics.setUserId(id);
  }

from amplitude-flutter.

Mercy811 avatar Mercy811 commented on July 25, 2024

Hi @nblum37, thanks for sending you project link. I've checked that for user 830acde4-ef26-4411-a9b1-150957cb3a83, IP address is not tracked in the event payload. Note that COPPA covers "geolocation information sufficient to identify street name and name of a city or town" which means if you enable it, Amplitude will not track Ip address, city, latitude, longitude. (code reference and doc). If you want to disable tracking country and city, please follow this doc.

Looks like the SDK works as expected as far as I investigate. Could you share a link of the event/user if there is a special case tracking COPPA info.

For your last comment, did you solve it by putting enableCoppaControl() inside?

from amplitude-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.