Skip to content

Server-Side TrackingPublished 12 min read

Adobe Analytics Data Layer and Server-Side Tracking Explained

How the Adobe Client Data Layer works, how Web SDK, AppMeasurement and the Edge Network fit together, and what server-side tracking in Adobe Analytics actually involves, for agencies that meet Adobe on enterprise accounts.

Muhammad Qitmeer, founder of Augere Labs
Muhammad Qitmeer
Co-founder and CEO, Augere Labs
Share

In Adobe Analytics, the data layer is a JavaScript object on the page that holds the values you want to measure, so tags read from one agreed structure instead of scraping the page. Adobe's current recommendation is the Adobe Client Data Layer (ACDL), an array called window.adobeDataLayer that the site pushes data and events into. Server-side tracking in Adobe means sending data to Adobe's Edge Network or Analytics collection servers from a server instead of, or as well as, from the browser. Adobe documents two server-side routes, the Edge Network API and the Data Insertion APIs, plus event forwarding to send Edge data on to other platforms.

Most agencies live in Google Tag Manager, GA4 and Meta, and meet Adobe only when an enterprise client or a larger agency partner uses it. The concepts carry over well, but the names and the plumbing are different. This guide maps them for you.

The data layer in Adobe Analytics

A data layer separates what the site knows (page type, product, form name, logged-in state) from how each tag collects it. Developers push values; the tag manager reads them. That is the same idea as the GTM dataLayer, and it fails in the same ways when a redesign renames or drops pushes.

Adobe Client Data Layer (ACDL)

ACDL is Adobe's open-source data layer library and the one Adobe recommends for new or restructured implementations. The basics:

window.adobeDataLayer = window.adobeDataLayer || [];

// Push data
window.adobeDataLayer.push({
  page: { pageInfo: { pageName: "pricing", siteSection: "plans" } }
});

// Push an event, optionally with data
window.adobeDataLayer.push({
  event: "form submitted",
  form: { name: "demo-request" }
});

Every push is merged into one computed state that any script can read with getState(), and scripts can listen for events with addEventListener. Two points trip people up:

  • ACDL does not send anything to Adobe by itself. It is a store of values and events. A rule in Adobe Tags, or your own code, has to read it and send the data on.
  • Pushes before the library loads are kept. Because the array is declared first, the site can push early and the library processes the queue when it loads, much like the GTM dataLayer.

The older W3C data layer: digitalData

Many existing Adobe sites use the older W3C Customer Experience Digital Data Layer, a global object usually called digitalData. Adobe still documents it as an alternative and notes that the important thing is for the organization to agree on one specification. In Adobe Tags it is usually read with JavaScript Variable data elements such as digitalData.page.pageInfo.pageName. If a client already has a working digitalData, migrating to ACDL is a project, not a quick fix, so weigh it against the actual tracking problem.

How Adobe Tags reads it

Adobe Tags (formerly Adobe Launch) is Adobe's tag manager. With ACDL, the Adobe Client Data Layer extension gives you a "Data layer push" event to trigger rules, a "Data layer computed state" data element to read values, and a "Push to data layer" action. If you think in GTM terms: the push event is the Custom Event trigger, the computed state data element is a Data Layer Variable, and rules are tags with their triggers attached.

How data gets from the page to Adobe Analytics

Adobe lists four client-side methods for websites. For new implementations it recommends the Web SDK extension.

MethodWhat it isWhen you see it
Web SDK extension (in Adobe Tags)The Web SDK managed through Tags; Adobe's recommendation for new customersNew and migrated implementations
Web SDK (alloy.js)The JavaScript library that sends events to the Adobe Edge Network, configured in codeCustom builds without Tags
Analytics extension (in Adobe Tags)The classic Analytics integration managed through TagsMost existing implementations
AppMeasurementThe legacy JavaScript library; s.t() sends a page view and s.tl() a link or custom event that does not count as a page viewOlder sites, often hard-coded

Web SDK, XDM and datastreams

Web SDK sends events with alloy("sendEvent", { xdm: {...}, data: {...} }) to Adobe's Edge Network, not directly to Analytics. Where the data goes from there is decided by a datastream, which Adobe describes as the server-side configuration for its Web and Mobile SDKs. A datastream with the Analytics service added forwards the event to the right report suite.

The xdm object holds data mapped to an Experience Data Model schema. The data object holds free-form data, and Adobe maps data.__adobe.analytics straight to Analytics variables: eVar1 to eVar250, prop1 to prop75, and events. Values set there override the same variables mapped from XDM, which is a common source of "why is my eVar wrong" confusion in mixed setups.

Server-side tracking in Adobe Analytics

Adobe documents two server-side ways to get data into Analytics for websites, and event forwarding as a separate step for sending Edge data elsewhere.

1. Edge Network API

This is the server equivalent of Web SDK. Your server sends events to the Edge Network, the datastream routes them to Analytics (and other Adobe services), exactly as browser events would be routed.

  • The interact endpoint takes a single event and returns a response, for example personalization content. Authenticated calls go to server.adobedc.net; unauthenticated calls go to edge.adobedc.net.
  • The collect endpoint is non-interactive and accepts batches of events, which suits sending events from a back end in bulk.
  • Adobe's bot detection rules apply to unauthenticated traffic on edge.adobedc.net, not to authenticated server.adobedc.net requests, so filter bots yourself if you send server traffic with authentication.

2. Data Insertion API and Bulk Data Insertion API

These send data directly to Analytics, without the Edge Network:

  • The Data Insertion API sends one hit per call, as a query string or XML. It does not need authentication.
  • The Bulk Data Insertion API uploads gzip-compressed CSV files of hits, authenticated with OAuth server-to-server credentials. For new server-side implementations on this route, Adobe recommends the bulk API.

These are the natural fit for offline events, such as a CRM stage change or an in-store purchase, that you want in the same report suite as web data.

3. Event forwarding

Event forwarding is Adobe's server-side tag manager. Data that has already reached the Edge Network through Web SDK or Mobile SDK can be processed and sent on from Adobe's servers to other destinations, such as an ad platform's conversion API, without extra tags in the browser. If you know server-side GTM, this is the closest Adobe equivalent, and the destination side works the same way as any Conversions API setup. Adobe states that event forwarding is a paid feature included with certain Real-Time CDP packages, so check the client's contract before planning around it.

Visitor identification: the part that breaks server-side setups

Browser tracking gets visitor identity almost for free from cookies. Server-side tracking has to send it explicitly, or every server hit looks like a new person.

  • Adobe Analytics chooses a visitor ID from a fixed order: a custom visitor ID you set, the legacy s_vi cookie ID, the Experience Cloud ID (ECID, from the AMCV cookie or the Web SDK identity cookie), a fallback ID, and finally IP address plus user agent. Adobe recommends the ECID as the primary identifier.
  • A Data Insertion API hit must carry at least one of those identifiers, or it is left out of reporting. When the identifier is not preserved, the same person is counted as a new unique visitor, which inflates visitor numbers.
  • For Web SDK, Adobe supports a first-party device ID (FPID): a UUID you generate and set as a cookie from your own server, which the Edge Network uses to seed the ECID. This makes the identity more durable against browser cookie limits and gives server and browser events a shared ID.
  • The report suite's timestamp setting decides what happens to hits with their own timestamps. "Timestamps not allowed" drops timestamped hits, "required" drops hits without one, and "optional" accepts both. Back-dated server events, such as CRM events sent hours later, need a suite that accepts timestamps. Adobe advises not to set a custom visitor ID on timestamped hits in an optional suite, because hits can arrive out of order.

In practice: capture the ECID or FPID in the browser, store it with the lead or order, and send it with every server event for that person. It is the same discipline as keeping a GCLID with a lead for Google Ads imports.

Consent

Web SDK handles consent with two settings. defaultConsent decides what happens before the visitor chooses: in sends data, out discards it, and pending queues events in the browser until consent is set. It is not remembered, so it has to be set every time the SDK is configured. setConsent records the visitor's choice, in Adobe's own consent standards or IAB TCF 2.0, and stores it in a cookie. Server-side events must follow the same choice; sending from a server does not remove the need for consent, as with Google's Consent Mode.

Debugging an Adobe implementation

  • Adobe Experience Platform Debugger is a Chrome extension that shows which Adobe libraries are on a page, what each request sends and which Tags rules fired.
  • Assurance, started from the Debugger's Edge Trace, shows requests going to and from the Edge Network, which is where Web SDK issues are usually visible.
  • For server-side events, log the exact request you send and the response, and check that the visitor ID in a server event matches the one on the same person's browser hits.

Adobe and Google terms side by side

AdobeClosest Google equivalent
Adobe Client Data Layer (adobeDataLayer)GTM dataLayer
Adobe Tags rules and data elementsGTM tags, triggers and variables
Web SDK and the Edge NetworkThe Google tag sending to Google's collection endpoints
DatastreamRoughly, the destinations configured on a Google tag
Event forwardingServer-side GTM
Data Insertion API, Edge Network APIGA4 Measurement Protocol
ECID / FPIDGA4 client ID; User-ID for signed-in people
eVars and propsCustom dimensions (event- and user-scoped)

What to check first on an Adobe account

  1. Which collection method is live (Web SDK, Analytics extension or AppMeasurement), and whether more than one is running at once.
  2. Which data layer the site uses, and whether it is documented: event names, required fields, who owns changes.
  3. Whether conversion events, such as form submissions and purchases, are pushed only on confirmed success, not on button clicks.
  4. For any server-side events: which API, which visitor ID they carry, and whether the report suite accepts their timestamps.
  5. How consent is wired to the SDK, and whether server events respect it.
  6. A real test conversion traced in the Debugger and in the report suite, rather than assumed from configuration.

Getting help

Augere Labs works mainly in Google Ads, GA4, Google Tag Manager and Meta. On accounts that also run Adobe, the same principles apply: one documented data layer, conversions pushed on confirmed success, consistent visitor IDs and proof by test conversion. If a client's ad conversions and Adobe numbers disagree, our server-side tracking work and the tracking health check are a good place to start.

Just one quick fix, not a whole account? Our founder takes small fixed-price jobs on Fiverr: Meta Conversions API and duplicate event fix

Frequently asked questions

What is a data layer in Adobe Analytics?

A JavaScript object on the page that holds the values to be measured, such as page name, product or form name, so tags read one agreed structure instead of scraping the page. Adobe recommends the Adobe Client Data Layer (window.adobeDataLayer) for new implementations; many older sites use the W3C digitalData object.

Does the Adobe Client Data Layer send data to Adobe Analytics?

No. ACDL only stores data and events in the page. A rule in Adobe Tags or your own code has to read it and send the data on, usually through Web SDK to the Adobe Edge Network.

How does server-side tracking work in Adobe Analytics?

A server sends events to Adobe instead of the browser. Adobe documents two routes: the Edge Network API, which routes events through a datastream like Web SDK does, and the Data Insertion APIs, which send hits straight to Analytics. Each server event must carry a consistent visitor ID such as the ECID, or it counts as a new visitor.

What is Adobe event forwarding?

Adobe's server-side tag manager. It takes data that already reached the Edge Network through Web SDK or Mobile SDK and sends it on from Adobe's servers to other destinations. Adobe states it is a paid feature included with certain Real-Time CDP packages.

Should I use Web SDK or AppMeasurement?

For new implementations Adobe recommends the Web SDK extension in Adobe Tags. AppMeasurement and the Analytics extension are still common on existing sites, and migrating is a planned project rather than a quick change.

Muhammad Qitmeer

Written by

Muhammad Qitmeer, founder of Augere Labs

Augere Labs is the white-label tracking partner behind marketing agencies. If a client account has numbers you don't trust, I'm happy to look at it with you and tell you straight what's wrong.

Connect on LinkedIn