Javascript Integration

Add the popup to your website using standard javascript

Team avatar
Written by Team
Updated over a week ago

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

<!-- Your website head -->


<!-- Your website body -->

<!-- Geo popup code script -->

var geotargetlypopup1527054303942 = document.createElement('script');
geotargetlypopup1527054303942.async = 1;
var w = window, d = document, e = d.documentElement, g = d.getElementsByTagName('body')[0], w = w.innerWidth || e.clientWidth || g.clientWidth, h = w.innerHeight|| e.clientHeight|| g.clientHeight;
var geotargetlypopup1527054303942url = '//'+w+'&ch='+h;
geotargetlypopup1527054303942.setAttribute('src', geotargetlypopup1527054303942url);

Did this answer your question?