--- url: /reference/items/Track/anatomy.md --- # Anatomy The `Track` family declares analytics entirely in markup. A tracked element carries `data-track:` attributes, and an optional `TrackContext` ancestor factors out data shared by every descendant. Use this map to see which parts exist and how they nest. ## Structure ``` TrackContext data-component="TrackContext" shared, inherited data (optional) └─ Track | TrackShopify data-component="Track" one tracked element ├─ data-track:="…" the events to dispatch └─