Skip to main content

Google Tag Manager Integration

Add a one time code to your website

Written by Chiara
Updated over 10 months ago

Each Geo Content service you create will come with its own JavaScript code.

This piece of JavaScript code needs to be added as a Custom HTML Tag in your Google Tag manager container.

The code looks like this:

<script> (function(g,e,o,t,a,r,ge,tl,y){ s=function(){var def='geotargetlygeocontent1743153898803_default',len=g.getElementsByClassName(def).length; if(len>0){for(i=0;i<len;i++){g.getElementsByClassName(def)[i].style.display='inline';}}}; t=g.getElementsByTagName(e)[0];y=g.createElement(e); y.async=true;y.src='https://g1584674684.co/gc?winurl='+encodeURIComponent(window.location)+'&refurl='+g.referrer+'&id=-OMR3PHbXbb-ed7C2KWw&navigatorlang='+(navigator.language || navigator.userLanguage || ''); t.parentNode.insertBefore(y,t);y.onerror=function(){s()}; })(document,'script'); </script> <noscript><style>.geotargetlygeocontent1743153898803_default{display:inline !important}</style></noscript>
Did this answer your question?