Capturing Conversion Information
ATS, via the retrieveEnvelope function, can be used alongside traditional image or Javascript tags to capture conversion events.
Decrypting EnvelopesYou will need access to additional LiveRamp services, such as the envelope API, in order to convert volatile envelopes into stable RampIDs (or IDLs).
<script>
function dropTag(result) {
if (result) {
envelope = JSON.parse(result).envelope;
envelopeImage = document.createElement('img');
envelopeImage.src = "https://analytics.example.com/pixel?advertiser=123&su=2&site_url=https%3A%2F%2Fwww.authenticated-traffic-solution.com%2F&referer=https%3A%2F%2Fwww.google.com&envelope=" + envelope;
document.body.appendChild(envelopeImage);
}
}
ats.retrieveEnvelope(dropTag)
</script>Updated 2 days ago