Where to add headers.
-
I need to add the below header to all of my pages to track on google analytics. It looks like your interface changes often as there is not a youtube video on the internet that shows how to do this correctly on wordpress.
https://www.googletagmanager.com/gtag/js?id=UA-124579576-1window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());gtag(‘config’, ‘UA-124579576-1’);
-
Hi there,
We’d be happy to help, but we require one vital piece of information. What is the URL of your website?
Bare in mind that if your websites uses the self-hosted version of WordPress rather than WordPress.com, you should post in the self-hosted forums or alternatively contact your hosting prover. Note the difference here: https://en.support.wordpress.com/com-vs-org/
Let us know this information and we’ll try and move forward. :)
- The topic ‘Where to add headers.’ is closed to new replies.