Monitoring a Data Layer
Monitoring a Data Layer
To help you monitor and utilize your data layer in ObservePoint, here’s a guide where we cover the basics! While this can be helpful, we always recommend that you work with your assigned data governance consultant and determine the best possible strategy for your team.
What is a Data Layer?
Here are some resources for learning more about a data layer and how to use it:
- Google’s Definition
- Google’s Developer Guide
- Datalayer for Analytics Implementation (Adobe)
- Tealium’s Definition
- Benefits of Using a Data Layer
- The Data Layer: From Novice to Expert in 2.5 Seconds
Adding Your Data Layer to ObservePoint
In most cases, your data layer and its objects will be able to be called by the name of the data layer. You’ll need the name of the data layer to add it to your Audits and Journeys (the name is determined by someone internally at your company).
The first step is to go to your Account Settings within ObservePoint, by hovering over the cog icon in the bottom left corner.
Then select Bulk Operations:
Then select the Domains tab:
Click edit on the domain you want to monitor your data layer in:
Then put in the name of your data layer:
You can add more than one by putting a comma between the names. Once you have saved the data layer name you’ll need to rerun any audit or journey you’re wanting to see it in right away, otherwise you’ll see it show on the next run of any audits or journeys that are associated with that domain.
Looking at a Data Layer in your Audit/Journey
Any report that would show your tagging technologies will now also show the data layer on pages where it is found. It will show up as a tag (see screenshot).
You can see the variables for your data layer in the Variable Summary report of an Audit or by expanding the data layer within a Journey report.
Monitoring Your Data Layer
Once you’ve added your data layer to your domain(s), you can begin to set up alerts for your data layer. Just like any other rule in the ObservePoint, you can go from basic to complex. Here the three main use cases:
Monitor for Data Layer Presence
The rule set up below will check every single page and give you an alert if it does not see the data layer. You could change this up by adding a filter to the top and filter for URLs where you should have the data layer or if it sees the Adobe tag it should expect the data layer.
Monitor a Variable within the Data Layer
This rule set up is checking a specific variable within the data layer is correct. This rule says, on pages where the url contains about-us or careers, I expect the Data Layer to have a variable called pageType that matches a regex for aboutus|careers (the pipe symbol | in regex means or).
If on a page where the url contained about-us or careers it saw the data layer was missing, the data layer variable pageType was missing, or the data layer variable pageType did not match aboutus or careers it would then send an alert if you have your email set for notification.
Compare a Tag’s Variable Against the Data Layer Value
If your data layer is passing information to your tags you can use rules to compare the two. This rules says on all pages, I expect the Adobe Analytics tag to have a variable called 0.pageType and the value for that variable to be the same value as the Data Layer’s value for the variable pageType on that page.