Skip to main content
Javascript Integration
Team avatar
Written by Team
Updated over 5 years ago

The provided javascript code needs to be placed in your website just before the closing body tag </body> or in your website footer.
โ€‹

<head>
<!-- Your website head -->
</head>

<body>

<!-- Your website body -->


<!-- Geo bar code script -->

<script>
var geotargetlybar1530717920324 = document.createElement('script');
geotargetlybar1530717920324.setAttribute('type','text/javascript');
geotargetlybar1530717920324.async = 1;
geotargetlybar1530717920324.setAttribute('src', '//geotargetly-1a441.appspot.com/geobar?id=-LG_tSh3j7rhZRKi76rK');
document.getElementsByTagName('head')[0].appendChild(geotargetlybar1530717920324);
</script>

</body>

The geo bar script is an asynchronous non blocking script, hence it will process while the rest of your web page loads.

Did this answer your question?