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

Public