A data layer is a JavaScript object that sits in your pages for every user and holds the key pieces of information used by many of the technologies that you might want to deploy on your site.

In simplest terms, it is a standard way of defining user, page and product information for every page. 

The W3C standard was formed after looking at the many different technologies and products out there, including analytics, affiliate marketing, retargeting and site utilities like online chat.

The standards team (including ourselves) examined their requirements in terms of the information they need about the page, product, user, etc and built an in-page JavaScript object that can hold all of this information. 

So how can the inclusion of this data layer help developers and ecommerce businesses?

1. It allows easy integration of third-party technologies

If you work in digital marketing, you’ll almost certainly have spent many hours tearing out your hair in the name of integration.

With the use of APIs and modular code design, switching from one third-party technology provider to another should theoretically be easy. However it’s not because different applications have, until now, all handled data in a variety of ways.

Adding a data layer allows you to pass any information you’d like from the page to your scripts easily, without hassle. Third-party integration becomes a pleasure, not a pain. 

2. Improve the information you collect

How many pings do you collect for each pageview? How many variables have you got set up? Even if you don’t have hundreds of variables set up yet, what happens if you want to in the future?

As digital marketing gets more sophisticated, the demands digital marketers have of their technologies will strain the current model of manual tag addition.

With more variables, you can collect more granular data and therefore get a better idea of how your customers behave, and ultimately drive conversions. 

3. Future proof your site from the demands of future third-parties

The new data layer not only allows easy integration of third-party technologies, the huge increase in the amount of variables you can reasonably handle effectively future-proofs your site against the increasing sophistication of new, third-party technologies.

With the rise of disruptive forces such as 4G, more and more information is going to be collected, stored and acted upon. Don’t let your website let you down. 

4. Move beyond the IT development cycle

While you still need someone who can talk JavaScript, the time it takes to add a new tag to your website is minimal, and it’s even quicker to edit it.

Adding a data layer streamlines the development process in several ways, as you will have made server-side changes for the last time for any tags/tools you might want to deploy. Just plug them in and play. 

5. Update all your tags from a single point

Edit the data layer and you edit your tags, site-wide. The marketer isn’t completely released from the developer, but the developer is released from the donkey work of editing a multitude of tags over a multitude of pages.

Moreover, the marketer is able to move faster in the deployment of new technologies, letting them be more nimble and customer-responsive. The new data layer saves time and cost for both IT and marketing – a clear win-win!

Econsultancy’s Crunch – Data, Analytics and the Rise of the Marketing Geek, takes place on October 10 at Truman Brewery, London. Crunch is the event for the analysts, strategists and boffins who turns raw numbers into insight, then revenue. This event is one of five that make up our Festival of Marketing.