Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!

Calculated Metric for Data Layer

Avatar

Level 1

In Customer Journey Analytics, is there the option to create a calculated metric that shows if there are pages that do not have the adobe data layer? We are specifically wondering for page view events that show if there are pages on our website that do not have the data layer spec.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Community Advisor and Adobe Champion

I think something like that would have to be custom coded... a data layer is just one way of passing information between the site and the analytics... it's not even the only way....

 

Data can come from different sources (data layers, cookies, session variables, custom event details, in-line attributes, etc)

 

So if you have an issue with missing data layers, I think your best bet is to code a solution that flags pages without data layers.... that is of course assuming that you aren't using the data layer itself as the trigger for your rules... then you potentially have a bigger problem of tracking to overcome.... 

 

Can you share more details about your implementation?

Avatar

Community Advisor

As @Jennifer_Dungan mentions, this will have to be custom coded.

The ACDL is just a means of exposing data from the website to your tag management system (presumably Adobe Launch).

Hence, you could maybe add a field in your data schema that can contain contextual information about how data was ingested into the platform.

 

How you implement it in the XDM is completely up to you but should be fairly straight forward for the ACDL, simply by executing a custom code that checks whether window.adobeDataLayer is set.

Cheers from Switzerland!


Avatar

Level 4

I agree with @Jennifer_Dungan , 

 

Our team has put into place similar things like the current Launch build name, etc.  But to see something like the absence of a data-layer or if you have multiple, the name of the data layer applied you will have to implement an event that will fire for when the data-layer is detected and then find pages that do not have that event fire.