The dataLayer is a global object of key/value pairs passed to Google Tag Manager.
I want to get some values from dataLayer object of google tag manager. In chrome tag assistance i am getting …
javascript jquery google-tag-manager google-datalayerHere is my dataLayer array: dataLayer = [{ 'giftBatch' : { 'giftID': '', 'giftAmount': 0, 'giftCount': 0, 'giftUpdate': { 'giftPhase': 'Gift Empty' } }, 'txBatch': { 'txID': '', 'txTotal': 0, 'txURL': …
javascript arrays google-analytics google-tag-manager google-datalayerWe initially push an object containing variables to the dataLayer: dataLayer.push({ 'environment': { 'userName': 'abc', 'id': 123, 'clicks': 0 } }); We now want …
javascript google-analytics google-tag-manager google-datalayerWhen my page is displayed, I push some data to Google Tag Manager (GTM) dataLayer: dataLayer.push({ event: "MY_EXPERIMENT", …
google-analytics google-tag-manager google-datalayer