Created
December 13, 2018 15:38
-
-
Save lukebergen/a732fd46fcdb429102b098d451eedc11 to your computer and use it in GitHub Desktop.
This file contains 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
<script type="text/javascript"> | |
var src = '[%ImageFile%]' || '[%HostedCreativeURL%]' | |
window.parent.Reviewed.Gad.Sidewrap.render('%%CLICK_URL_UNESC%%[%ClickthroughURL%]', src, '[%BackgroundColor%]', '[%Title%]', '[%FullJSTag%]') | |
var p = [ "[%Thirdpartyimpressiontracker1%]", "[%Thirdpartyimpressiontracker2%]" ]; | |
for (var i in p) { | |
if (p[i]) { | |
document.write('<img src="'+p[i]+'" height="1" width="1" style="visibility: hidden; position: absolute" />') | |
} | |
} | |
var t = [ '[%ScriptTagTrackerURL1%]', '[%ScriptTagTrackerURL2%]' ] | |
for (var i in t) { | |
if (t[i]) { | |
document.write('<s'+'cript type="text/javascript" src="'+t[i]+'"></sc'+'ript>'); | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment