amplitude / amplitude/experiment-js-client

Automatic $exposure tracking

Offen
#55 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
18
Forks
11
Ø Merge
3 T. 18 Std.
Gemergte PRs (30 T.)
4

Beschreibung

Hello Amplitude SDK Team,

[We](https://www.carbmanager.com/) are trying to implement Amplitude Experiments in our app but having trouble understanding how the automatic`$exposure` tracking works!

The [docs](https://www.docs.developers.amplitude.com/experiment/general/exposure-tracking/#automatic-exposure-tracking) say that the exposure tracking works automatically when using the SDK (we use version `1.5.3`)

We need the `$exposure` to be tracked by Amplitude along with a custom event tracking provider.

Here is a snippet of how we initialize the SDK

```js
AmplitudeExperiment.initialize(apiKey, {
automaticExposureTracking: true,
exposureTrackingProvider: new RudderStackExposureTrackingProvider(), // our custom provider
debug:
true,
initialVariants: experiments.getAll().reduce(
(variantsAcc, experiment) => ({
...variantsAcc,
[experiment.id]: experiment.fallback,
}),
{}
),
});
```

We are unable to see the exposure events being tracked in Amplitude

image

We would appreciate any help with this.

Thank you
Joel

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.