Adobe Analytics

Integrating LogRocket with Adobe Analytics

Add a LogRocket session URL to Adobe Analytics as a custom variable. Add this code into any of your custom Adobe Analytics custom event calls to correlate sessions to your Adobe Analytics data.

alloy("sendEvent", {
  "xdm": {
    "commerce": {
      "order": {
        "purchaseID": "a8g784hjq1mnp3",
        "purchaseOrderNumber": "VAU3123",
        "currencyCode": "USD",
        "priceTotal": 999.98,
        "sessionURL": LogRocket.sessionURL
      }
    }
  }
});