Need Feedback on Javascript for Tracking iframe


I am getting an error notification in my javascript but I can’t see what the error is. I have javascript to include an iframe on my landing page and the added code to be able to track it in Google Tag Manager and that is when the error happens. Do you see anything I can update to correct the error?

My URL is cwfl.mister-sparky-electric.com/booknow


2 replies

Userlevel 5

Hi @mindilin1 welcome to the Unbounce Community :unbounce:

It looks like you are missing the rest of the Google Analytics script. The error is because the script is looking for something called “ga” but it doesn’t exist.

Make sure you copy and paste the whole GA script for the tracking to work.

What if I using Google Tag Manager, that is the full script I have included. Should I update it using only the GA script instead of GTM script?

Reply