Skip to content

trackingOptions are ignored #1308

@SebastianFranze

Description

@SebastianFranze

We tried to disable tracking of IP addresses by providing the trackingOptions object when calling amplitude.init of the SDK. IP addresses are still stored in Amplitude. Is there some other configuration overriding it?

Expected Behavior

I would expect no information about IP, location, operating system, or browser stored in Amplitude events.

Current Behavior

My information is stored. The IP address is not even anonymised/truncated.

Steps to Reproduce

  1. Provide a trackingOptions object when calling amplitude.init as shown here: https://amplitude.com/docs/sdks/analytics/browser/browser-sdk-2#optional-tracking
  2. track event by calling amplitude.track
  3. Check data stored in Amplitude dashboard

Environment

  • JS SDK Version: amplitude-ts/2.24.1
  • Installation Method: NPM
  • Browser and Version: Chrome 140

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions