Tracking Pages By Name for A/B Testing
The default tracking method for a snapshot is to track using the URL; this is not ideal for A/B tests because different variants/test pages can be served from the same URL. Track by Name solves this problem. When tracking by name, we will determine which page to track based on the Track by Name code instead of the URL.
- Add a new snapshot using the direct variant URL
- Set the snapshot to Track by Name under Advanced Options
- The Track by Name code that is presented will need to be placed on the variant page before the standard Crazy Egg tracking script, example below.