Created
December 4, 2018 21:04
-
-
Save lukebergen/695ab9003279c8a0836cc8cb84940aa6 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%]') | |
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