Context
We want to track a baseline of footnote clicks on the wikis where the A/B test should run. See Parent ticket
Acceptance Criteria
We want to track
- source wiki
- timestamp
- logged-in status ( anon / not anon )
- edit count buckets
These are all part of the default web schema. So no need for a custom schema here
They can be configured in the test setup UI in the Contextual Attributes
Implementation
- Track clicks on the References section in the TOC of the article
- The link that we need to apply the tracking to could be identified by looking at the DOM to figure out the references list tag
- In case there are multiple references lists we should use the last one
- Use the headline of that references list to figure out the TOC link
- Use the TestKitchen to create a simple instrument see epic for which wikis are affected
- Make sure we get the datapoints above