Created
March 5, 2015 14:38
-
-
Save lucemia/7c610953ef2037a0fffa to your computer and use it in GitHub Desktop.
track.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(d) { | |
| if (typeof tagtoo_advertiser_id != "undefined") { | |
| var tagtooIframe = d.createElement("iframe"); | |
| tagtooIframe.src = "//ad.tagtoo.co/static/ad/html/track.html#ad=" + tagtoo_advertiser_id + "&p=" + encodeURIComponent(document.location.href); | |
| tagtooIframe.scrolling = "no"; | |
| tagtooIframe.width = 1; | |
| tagtooIframe.height = 1; | |
| tagtooIframe.marginheight = 0; | |
| tagtooIframe.marginwidth = 0; | |
| tagtooIframe.frameborder = 0; | |
| tagtooIframe.style.display = 'none'; | |
| var node = d.getElementsByTagName("script")[0]; | |
| node.parentNode.insertBefore(tagtooIframe, node); | |
| } | |
| })(document); | |
| if (tagtoo_advertiser_id != 225) { | |
| if (typeof TagtooTagManager == "undefined") { | |
| (function(w, d, s, l, i) { | |
| w[l] = w[l] || []; | |
| w[l].push({ | |
| 'gtm.start': new Date().getTime(), | |
| event: 'gtm.js' | |
| }); | |
| var f = d.getElementsByTagName(s)[0], | |
| j = d.createElement(s), | |
| dl = l != 'dataLayer' ? '&l=' + l : ''; | |
| j.async = true; | |
| j.src = | |
| '//www.googletagmanager.com/gtm.js?id=' + i + dl; | |
| f.parentNode.insertBefore(j, f); | |
| })(window, document, 'script', 'TagtoodataLayer', 'GTM-MHN67X'); | |
| TagtooTagManager = true; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment