amplitude / amplitude/experiment-js-client

Automatic $exposure tracking

Aperta
#55 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
18
Fork
11
Merge medio
3g 18h
PR unite (30g)
4

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.