---
updatedAt: 2026-04-07T10:11:24.000Z
agentTools:
  siteIndex: https://developers.liveramp.com/llms.txt
  projectIndex: https://developers.liveramp.com/authenticatedtraffic-api/v1.0/llms.txt
---

# Capturing Conversion Information

ATS, via the `retrieveEnvelope` function, can be used alongside traditional image or Javascript tags to capture conversion events.

[block:callout]
{
  "type": "info",
  "title": "Decrypting Envelopes",
  "body": "You will need access to additional LiveRamp services, such as the [envelope API,](https://developers.liveramp.com/authenticatedtraffic-api/docs/about-the-ats-api) in order to convert volatile envelopes into stable RampIDs (or IDLs)."
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "<script>\n  function dropTag(result) {\n    if (result) {\n      envelope = JSON.parse(result).envelope;\n      envelopeImage = document.createElement('img');\n      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;\n      document.body.appendChild(envelopeImage);\n    }\n  }\n  ats.retrieveEnvelope(dropTag)\n</script>",
      "language": "html",
      "name": "Conversion Image Tag"
    }
  ]
}
[/block]