A data layer is a data structure on your site or app that holds the information you want to process and sends it to other applications, like a tag management system.

The information you can pass through a data layer includes user actions on your site, app, or portal, such as page views, scrolls, or clicks, and additional details like product IDs and prices or cart value.

A tag manager can read data from your data layer and use it for tags, triggers, and variables, just like it would use data from the page’s source code. Your analytics data gets enriched with a record of all user behaviors, increasing opportunities for website or web-based application tracking.

With a data layer, you can:

  • Enhance your tracking capabilities.
  • Act on the data stored in a data layer to improve user experience.
  • Collect data in post-login areas.
  • Establish communication between the website or app with other tools like tag manager or analytics.
  • Benefit from a simpler debugging process.
  • Easily test changes or new features.
  • Simplify the execution of custom event tracking.
  • Facilitate personalization campaigns.

Learn more about data layers in analytics:


  • PHI and PII

    PHI and PII: How they impact HIPAA compliance and your marketing strategy

    Personally identifiable information (PII) and protected health information (PHI) may seem similar. However, there are critical distinctions between the two. While PII is a catch-all term for any information that can be associated with an individual, PHI applies specifically to HIPAA-covered entities dealing with identifiable patient information. Keeping HIPAA compliant and protecting patient information requires…

  • How can healthcare organizations benefit from using a customer data platform (CDP)

    Like many industries, healthcare has been undergoing significant change and is under immense pressure. Patients expect personalized healthcare experiences, but are increasingly aware of their privacy rights and demand that their data is safe and not misused. Healthcare providers have been seeking ways to connect, scale, and leverage customer data more effectively to meet consumers’…