roshanoracle
5/4/2017 - 12:44 PM

HBO Nordics : Event : data available

HBO Nordics : Event : data available

[
  {
    "gtm.start": 1493900773788,
    "event": "gtm.js",
    "gtm.uniqueEventId": 0
  },
  {
    "environment": "prod"
  },
  {
    "event": "gtm.dom",
    "gtm.uniqueEventId": 2
  },
  {
    // this is the last point where GTM will allow you to fire a tag without a custom event
    "event": "gtm.load", 
    "gtm.uniqueEventId": 3
  },
  {
    // this critical data is not available to be used without a custom event
    "loggedInStatus": "logged in",
    "userID": "9006 5815 2519 1292",
    "accountStatus": "closed",
    "region": "Nordic",
    "userMode": "Standard"
  },
  {
    "voucher": "9006"
  },
  {
    "voucher": "9006"
  },  
  {
    // if you push this var in then we can fire a tag and leverage all of the above data (using dataLayer.push({event:"data available"});)
    // IMPORTANT NOTE - IF THERE IS NO USER-LEVEL DATA THEN YOU'LL STILL NEED TO TRIGGER THIS EVENT OR NO TAG WILL FIRE!
    "event": "data available", // 
    "gtm.uniqueEventId": 4
  }
]