Last active
January 18, 2016 17:21
-
-
Save 33sticks/ef157d611dee4ed5c82f to your computer and use it in GitHub Desktop.
A method for dynamically creating a marketing pixel using Adobe DTM.
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
if(_satellite.getVar('Order Value')){ | |
var orderValue; | |
var img = new Image(); | |
orderValue = _satellite.getVar('Order Value'); | |
img.src = "https://marketingpixel.example.org/track/conv/?adid=2dngvjx&order_value=" + orderValue ; | |
document.body.appendChild(img); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment