Data layer documentation for web developers

Bronze Contributor
Bronze Contributor

Hello,

has anyone found a clever way to document the data layer on different pages/event? Some sort of document or file that can be maintained by the business owner but then read and used directly from the devs, so it has to have a very standardised format.

The main point for me would to be able to add clearly:

  • where/when to populate the data layer (either page load url or specifc event)
  • format/type of the variables
  • possible values for each variable (or logic to use to populate it)

My aim would then to be able to use the same document for testing as well

Thanks,

Davide

1 REPLY 1

Data layer documentation for web developers

Gold Contributor
Gold Contributor

Hi @Davide ,

We usually follow the Below Tealium documentation for the Implementation.

https://docs.tealium.com/platforms/javascript/
or https://docs.tealium.com/
Regarding the data layer you can request for a deployer tool and then add all your pages and events that you track.

It's upto you what kind information(variables) you want to pass within utag_data(utag.view()) and utag.link(), for more information please visit: calls. https://docs.tealium.com/platforms/javascript/track/

The below Tealium documentation is useful to understand how it works and within the definition section you can few brand's data layer example that gives an idea on how to get start with building your business specific data layer: https://docs.tealium.com/platforms/getting-started-web/data-layer/how-the-data-layer-works-for-websi...

Please let me know if you have any questions.

Kind Regards,

Mohammed Aaqib Uddin

Senior CDP Specialist @ Digitas Dubai
Public