Created
February 13, 2014 17:01
-
-
Save buritica/8979153 to your computer and use it in GitHub Desktop.
Glossy JSON format for Leaf
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> | |
var message = JSON.stringify({ | |
view_url: '%%VIEW_URL_UNESC%%', | |
click_url: '%%CLICK_URL_UNESC%%', | |
cachebuster: '%%CACHEBUSTER%%', | |
glossy_id: '{{replace me with glossy id}}', | |
type: 'glossy', | |
pixels: [ | |
'{{replace me with pixel or delete me}}', | |
'{{replace me with pixel or delete me}}' | |
] | |
}); | |
window.top.postMessage(message, '*'); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment