Skip to content
Digital Data Tactics
  • Home
  • About
  • Beacon Parser
    • Beacon Parser v2 Beta
  • Appearances & Recorded Content
  • Privacy

DTM Examples

Because I get asked for certain snippets and examples rather frequently, I’ve posted them online for faster reference:

  • Setting a global “s” analytics object
  • Setting s.products and array-based variables
  • DTM Load Order and custom code blocks
  • General Troubleshooting and common code snippets
  • Appending a Third-Party Tag Non-Sequentially
  • Basic W3C Data Layer
  • Single Page Apps and Data Layers
  • Direct Call Rules
    • Direct Call Rules (including using clearVars and “dasiy-chaining”)
    • Suppressing Page Load beacons in favor of setting a Direct Call Rule
  • Event-Based Rules
    • Event-Based Rules: Setting s.tl beacons
    • Event-Based Rules: pushState and hashchange conditions
    • Using “this” directly in the interface
    • Event-Based Rules: Custom Events
    • Event-Based Rules: Troubleshooting and Bubbling

Recent Posts

  • Visitor Identification (and Cross-Domain tracking) in Adobe Analytics (and why CNAMEs aren’t the solution)
  • Adobe Analytics/AEP: How to add a Customer Care Supported User
  • Big news, and reflections on my time at 33 Sticks
  • The Rule Sandwich: now for the webSDK!
  • Stop Saying “Cookieless”

Latest Comments

  1. MitchellT on Visitor Identification (and Cross-Domain tracking) in Adobe Analytics (and why CNAMEs aren’t the solution)
  2. Lily Garcia on Adobe Analytics/AEP: How to add a Customer Care Supported User
  3. Charles Godlove on Silly Launch Builder Chime
  4. John Kiriakou on Using Charles Proxy for Analytics
© 2026 Digital Data Tactics • Built with GeneratePress