[Adobe DTM|Datalayer] data-* attribute with json object
If you would like to implement a datalayer, you can use a div tag with a HTML5 data-* attribute and a json object. Example:
data-provider="{"pageInstanceID":"example123:PROD","page":{"pageInfo":{"pageName":"Example Page","server":"www.example.com"},"attributes":{"country":"de","language":"de"}}}"
If you use an id with the div you can easily use jquery to get data out of it. Example:
$('#waData').data('provider').page.pageInfo.pageName;











