Track by Name

The default tracking method for a snapshot is to track using the URL; this is 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.

Snapshot Setup
A snapshot must be added for each variant you'd like to track.
  1. Add a new snapshot using the direct variant URL
  2. Set the snapshot to Track by Name under Advanced Options
  3. 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.
< ! - Track a specific Crazy Egg snapshot by name - >
<script type="text/javascript">
    var CE_SNAPSHOT_NAME = "Variant A";

<script type="text/javascript" src="//" async="async"></script>

Still need help? Contact Us Contact Us