Avatar

Level 1

Hi All,

I've been asked to insert a Google Analytics tag to a page load rule in DTM.  I've implemented it in the normal fashion (sequential javascript), however, I need the tag to be populated with data by pulling in the data from data elements.

I've used the following formats and nothing seems to work:

* %data_element%

* _satellite.getVar('data_element')

* _satellite.getDateElement('data_element')

Our partners checked their Google Analytics instance and for the top option they are seeing %data_element% rather than the actual data.  For the other two formats they received no transaction data at all.

Attached is an image of the code (identifiable names changed), the three items in red are the objects that I want to be populated by data elements.

Any help would be greatly appreciated!

Thanks

Matt

Google Analytics tag.jpg