Posts Tagged ‘data-layer’
How to fix ReferenceError: datalayer is not defined in Google Tag Manager
I was using Google Tag Manager and custom event tracking to track time on site and was noticing a console error ReferenceError: datalayer is not defined – after investigating I found a good summary on how to use the data layer from Lunametrics. Here is how I changed the Custom HTML tag to resolve the…
Read More