PDF Cheat Sheet: Analytics Tagging
Analytics Tagging Cheat Sheet
Purpose
• Ensure consistent, accurate tracking of user interactions.
• Align data layer, tagging plan, and variable architecture.
• Prevent data loss, outages, or inconsistencies.
Key Components
1. Data Layer
2. JS object storing structured info about page, user, interactions.
3. Example: [Link] ,
[Link] .
4. Tagging Plan
5. Excel document communicating analytics requirements to developers.
6. Includes: page comps, clickable elements, required tags, and data layer references.
7. Variables | Type | Purpose | Notes | |------|--------|------| | props | Traffic/popularity | Not
persistent, pathing possible | | eVars | Conversion/persistent data | Associates with success events
| | events | Success metrics | Goal completions like clicks or submissions |
8. Page-Level vs Click-Level
9. Page-Level: Page loads, form submissions, state changes.
10. Click-Level: CTA interactions (buttons, links, icons).
11. Selectors: Class names (e.g., stat-text-link ) identify CTA types.
12. Location Data: data-dtm maps to prop27 (section) & prop32 (section + link).
Event Tracking
• Page Load: s.t() call to fire page view
• CTA / Interaction: [Link]() call to fire events
• Dynamic updates: Push events to [Link] before Adobe call
1
Prerequisites for Tagging Plan
• SDR: Variable map & data layer definitions
• Comp or URL: Page visuals/wireframes
• Copy doc (optional): Text copy & link destinations
• Tagging templates: Standardized for ad-hoc or sustain plans
KPIs
• Vehicle search results views
• Quote request completions
• Configurator step progress
Site-to-Site Parameters
• Query strings appended to URLs to track visits between GM sites
• Helps identify traffic source and navigation path
Common Tools
• Awesome Screenshot & Screen Recorder – Capture full pages, edit, annotate
• Snagit – Record screen, audio, and video
• PicPick / One Click Page Screenshot – Quick screenshots
Quick Tip
Keep the data layer structured and updated. Even without Adobe, this allows other analytics tools
(Mixpanel, GA4) to consume consistent tracking data.