mint-metrics / mojito-js-delivery

🧪 Source-controlled JS split testing framework for building and launching A/B tests.
https://mojito.mx/docs/js-delivery-intro
Other
16 stars 30 forks source link

Event tracking for excluded users #55

Closed kingo55 closed 4 years ago

kingo55 commented 4 years ago

For experimenters making heavy use of the Mojito.options.excluded default exclusion rule, I think it could be useful to track which useragents are excluded.

Two ways I have thought of for tracking this:

  1. Track exclusion for each experiment as it activates
  2. Track exclusion when the container loads

Tracking at activation

Tracking on load

Be good to hear if you guys have any thoughts on this too..

allmywant commented 4 years ago

@kingo55 Both way looks good, but tracking on load looks better.

dapperdrop commented 4 years ago

@kingo55 I think for simplicity and ease of use, tracking on load is the way to go.

kingo55 commented 4 years ago

Cheers guys... I think you're right. It may call for a new Snowplow Schema / event context that we have to setup.

kingo55 commented 4 years ago

Closing as it seems like a problem independent of the library and very much specific to the client/user's tracking.