• Skip to primary navigation
  • Skip to main content
The Data Lab

The Data Lab

Pruple button with the word menu
  • About Us
        • About Us

           
          Visit our About Us page

        • Careers
        • Our Team
        • Impact
        • The Scottish AI Alliance
        • Contact us
  • Business
        • For Business

           

          Visit our Business Support page

        • Access Talent
        • Funding and Business Support
        • Partnerships
  • Professionals
        • For Professionals

           

          Visit our Professional Development page

        • Online Courses
        • Data Skills for Work
  • Students
        • For Students

           

          Visit our Students page

        • The Data Lab Academy
        • Student Placements
        • Scholarships
  • Universities and Colleges
        • For Universities and Colleges

           

          Visit our Universities and Colleges page

        • Funding and Support
        • Collaborate and Innovate
        • Academic Projects
  • Community
        • Community

           

          Visit our Community page

        • Online Community
        • News
        • Case Studies
        • DataFest

​Understanding Data Layers For Your Business

Guest Blogs, News 05/06/2019

data analytics
Guest blog by Yard

If you work in the world of digital, it’s likely you’re familiar with the term ‘data layer’, but perhaps you’re wondering what exactly it means. To put it simply, data layers make data collection more efficient and reliable, compiling all data in one place to make it easier to understand website usage and performance. It’s a list of all your business’ website requirements in formats that can be understood by both your IT team and your client.

Most analytics packages will collect data as standard but this can be minimal. Using a data layer instead allows you to combine the information recorded by various tracking tools that may already be in place on a site (i.e. Google Analytics and a Facebook pixel).

As a result, data layers can help you make informed decisions about your marketing activity in many ways, by collecting additional information to show the effectiveness of your marketing activity and how customers are using your website.

This blog will give you an initial understanding of what data layers are and how to create them.

What is a Data Layer?

A data layer acts as the single point of reference for the information that needs to be collected by your Tag Management System. The system then sends it out to any third-party technologies you already have implemented. In simpler terms, you can specify the exact information you want to collect about how your website is used by site visitors. The data layer then collates this information and sends it to other programmes to package this data for easy analysis.

How to Create and Implement a Data Layer

Firstly, you’ll want to determine your KPIs. Once these are defined, you can then consider what kinds of data points you need to collect. With that determined, you can finally design your solution.

Creating a data layer will be different for each company, but any individual or team with a requirement for the data, or those responsible for its design and implementation, should be involved. Teams who should be consulted include:

  • Analytics/Data and Insight
  • Marketing
  • Data Science
  • Business Intelligence
  • IT/Developers
  • Trading

Beyond these initial teams, it’s a good idea to make sure that the wider business is at least aware of the plan so the opportunity for input is available to all.

Next, you’ll want to decide on the design of your data layer. It’s your development and IT teams who will most likely be involved in this part of the process but generally, the agreed design will either be a flat data layer or a multi-layer object. While a flat data layer entails all the project properties being a direct property of the variable, the latter has multiple levels of different groups of data.

Once you’ve clarified what your business requirements will be as well as the format of your data layer, it’s time to choose what data points you’ll add. You should consider all current business requirements as well as potential future ones too. If a requirement or KPI is a complex one, it’s likely that measuring performance will require several data points.

However, regardless of your industry, there are some variables which are commonly agreed to always feature. These include:

  • Page URL
  • Page path
  • Referrer
  • Page category
  • Campaign code

Creating a data layer is a continuous process and one you should revisit and update as your business requirements evolve. Succeed in doing this and you can improve the information you collect and report on, reduce work being duplicated across teams and make more informed and savvy marketing decisions.

Now that you have learned a bit about the basics of data layers, why not take a closer look with this in-depth guide to data layers?

Innovate • Support • Grow • Respect

Get in touch

t: +44 (0) 131 651 4905

info@thedatalab.com

Follow us on social

  • Twitter
  • YouTube
  • Instagram
  • LinkedIn
  • TikTok

The Data Lab is part of the University of Edinburgh, a charitable body registered in Scotland with registration number SC005336.

  • Contact us
  • Partnerships
  • Website Accessibility
  • Privacy Policy
  • Terms & Conditions

© 2025 The Data Lab