Created
February 21, 2018 05:16
-
-
Save apeckham/d780bdb069116d742620bd55b6246b5a 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
==================== | |
ORIGINAL AMP TAG | |
<script type='text/javascript' src='https://www.googletagservices.com/tag/js/gpt.js'> | |
googletag.pubads().definePassback('/1031683/Rubicon_AMP_Passback_300x250_BTF_2', [300, 250]).display(); | |
</script> | |
=================== | |
MODIFIED TAG WITH URL PATTERN MACRO | |
<script src="https://www.googletagservices.com/tag/js/gpt.js"> googletag.pubads().definePassback( | |
'/1031683/Rubicon_AMP_Passback_300x250_BTF_2', [300, 250]).set("page_url",%%PATTERN:url%%).display(); | |
</script> | |
=================== | |
MODIFIED TAG WITH URL PATTERN MACRO (and quotes) | |
<script src="https://www.googletagservices.com/tag/js/gpt.js"> googletag.pubads().definePassback( | |
'/1031683/Rubicon_AMP_Passback_300x250_BTF_2', [300, 250]).set("page_url","%%PATTERN:url%%").display(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment