Adobe Analytics source connector for report suite data

Adobe Experience Platform allows you to ingest Adobe Analytics data through the Analytics source connector. The connector streams report suite data into a Platform dataset in real time, converting it to XDM format.

How the Analytics source connector works

You continue to use your existing Adobe Analytics implementation, such as AppMeasurement or the Adobe Analytics tag extension, to collect data into your report suites. The source connector does not change how you collect or report on that data. After your data reaches the Analytics data collection servers, the connector captures a copy of it.

A graphic illustrating the journey of data from different Adobe applications, including Adobe Analytics.

This copy is a partially processed form of each hit, known as mid-values. Analytics produces mid-values after pre-processing (such as processing rules) but before visit- and visitor-level processing. As a result, they do not include post-processed context, such as visit number. The original hit continues through the pipeline to be written to your report suite as usual.

The connector streams these mid-values into a dataset in Experience Platform in real time. From the data lake, the data is available to Query Service and other data-discovery applications, and it can also enrich the Real-Time Customer Profile.

For details on how Analytics collects and processes data, including the mid-value stage, see Processing order for data in Adobe Analytics.

Mapping Adobe Analytics fields to XDM

When you create a source connection in the Experience Platform user interface, Analytics fields are automatically mapped to XDM and ingested into a Platform dataset. For instructions, see the Analytics source connector tutorial.

For detailed information on the field mapping that occurs between Analytics and Experience Platform, see the Adobe Analytics field mapping guide.

IMPORTANT
Data Prep transformations can add latency to the overall dataflow. The amount of additional latency varies based on the complexity of the transformation logic.

Primary identifiers in Analytics data

Every hit from the Analytics source connector contains a primary identifier that depends on whether an ECID or an AAID exists. If there is an ECID, the ECID is designated as the primary identifier. If there is an AAID, then the AAID is designated as the primary.

The following table provides more information on identity fields in your Analytics data.

Identity field
Description
AAID
The AAID is the primary device identifier in Adobe Analytics and is guaranteed to exist on every event that is passed through the Analytics source. The AAID is sometimes referred to as the Legacy Analytics ID or as the s_vi cookie ID. Despite this, an AAID is created even if the s_vi cookie is not present. The AAID is represented by the post_visid_high and post_visid_low columns in Analytics data feeds. On any given event, the AAID field contains a single identity which may be one of the several different types described in the order of operations for Analytics IDs. Note: Within an entire report suite, an AAID may contain a mix of types across events.
ECID
The ECID is a separate device identifier field, which is populated in Adobe Analytics when Analytics is implemented using the Visitor ID Service. The ECID is sometimes also referred to as MCID (Marketing Cloud ID). If an ECID exists on an event, the AAID may be based on ECID depending on whether the Analytics grace period is configured. The ECID is represented by the mcvisid in Analytics data feeds. For more information on ECID, see the ECID overview. For information on how ECID works with Analytics, see the document on Analytics and ECID Requests.
AACUSTOMID
The AACUSTOMID is a separate identifier field which is populated in Adobe Analytics based on the use of the visitorID variable in the Analytics implementation. If the AACUSTOMID is present, then the AAID is based on the AACUSTOMID because the AACUSTOMID trumps all other identifiers as defined by the order of operations for Analytics IDs.

How the Analytics source treats identities

The Analytics source passes these identities to Experience Platform in XDM form as:

  • endUserIDs._experience.aaid.id
  • endUserIDs._experience.mcid.id
  • endUserIDs._experience.aacustomid.id

These fields are not marked as identities. Instead, the same identities (if present in the event) are copied into XDM’s identityMap as key-value pairs:

  • { "key": "AAID", "value": [ { "id": "<identity>", "primary": <true or false> } ] }
  • { "key": "ECID", "value": [ { "id": "<identity>", "primary": <true or false> } ] }
  • { "key": "AACUSTOMID", "value": [ { "id": "<identity>", "primary": false } ] }

When the identity or identities are copied into identityMap, endUserIDs._experience.mcid.namespace.code is also set on the same event:

  • If AAID is present, endUserIDs._experience.aaid.namespace.code is set to “AAID”.
  • If ECID is present, endUserIDs._experience.mcid.namespace.code is set to “ECID”.
  • If AACUSTOMID is present, endUserIDs._experience.aacustomid.namespace.code is set to “AACUSTOMID”.

In the identity map, if ECID is present, it is marked as the primary identity for the event. In this case, AAID may be based on ECID due to the Visitor ID Service grace period. Otherwise, AAID is marked as the primary identity for the event. AACUSTOMID is never marked as the Primary ID for the event. However, if AACUSTOMID is present, then AAID is based on AACUSTOMID due to the CX Enterprise order of operations.

Migrate privacy handling privacy

Use Adobe Experience Platform Privacy Service to process privacy requests for your Adobe Analytics source dataset. First, review your report suite labels. Next, manually configure schema identities and data usage labels. Finally, switch the privacy source for the dataflow.

Learn about privacy request handling in the Privacy Service overview.

IMPORTANT
Adobe Analytics obfuscates identifiers when processing privacy deletion requests and retains the remaining hit data. Experience Platform deletes matching rows instead, which can change reporting metrics. Recreating labels does not preserve the Analytics deletion behavior.

Review report suite labels review-analytics-privacy-rules

Before you migrate, review the labels and identity namespaces for the report suite that supplies your dataset. You need the Data Governance admin permission in Adobe Analytics.

  1. In Adobe Analytics, go to Admin > All admin > Data configuration and collection > Data governance.
  2. Select the report suite.
  3. Review the variable labels for identity, sensitivity, access, and deletion, along with the configured identity namespaces.

The Adobe Analytics privacy labeling grid lists report suite variables with identity, sensitivity, access, deletion, and namespace settings.

Learn about labels in the privacy labeling overview. Follow the instructions to assign or edit report suite privacy labels. Review the definitions of data privacy labels for variables.

Recreate privacy configuration configure-platform-privacy

Manually configure identities and labels in the schema for your Analytics source dataset. Experience Platform does not automatically copy labels from Adobe Analytics.

Configure schema identities separately from data usage labels. Use the table to map Analytics labels to Experience Platform settings.

Adobe Analytics label
Experience Platform configuration
ID-DEVICE
Mark the corresponding schema field as an identity.
ID-PERSON
Mark the corresponding schema field as an identity.
I1
Apply the I1 data usage label.
I2
Apply the I2 data usage label.
S1
Apply the S1 data usage label.
S2
Apply the S2 data usage label.
ACC-ALL, ACC-PERSON
Experience Platform does not support these labels. Access requests return all data in matching hits. You cannot select which fields to return.
DEL-DEVICE, DEL-PERSON
Do not recreate these labels. Experience Platform deletes matching rows instead of obfuscating identifiers.

Apply additional data usage labels, including C1 through C12, PSPD, and RHD, where applicable. The additional labels have no direct Analytics equivalents. The labels I1, I2, S1, and S2 have corresponding meanings, but the products use them for different purposes.

IMPORTANT
Changing schema identities or field labels affects every dataset that uses the schema. Review the affected datasets before editing the schema.

Before you switch the privacy source, configure identities and data usage labels.

  1. In Experience Platform, select Schemas, then open the schema for your Analytics source dataset.

  2. Use the Adobe Analytics field mapping to find schema fields for your labeled Analytics variables.

  3. Mark the schema fields mapped from ID-DEVICE or ID-PERSON variables as identities.

    Follow the schema identity configuration instructions to configure identity fields and namespaces.

  4. In the Labels tab, select the fields that need data usage labels.

  5. Select Apply access and data governance labels, then select the applicable labels from the mapping table.

  6. Select Save.

For detailed instructions, read how to apply labels to a schema.

Review custom Analytics privacy settings, VISTA rules, and Content Aware and Marketing Channel configurations. Also review Data Prep transformations. Configure identities and labels for any additional fields that require them.

Switch the privacy source switch-privacy-source

After configuring identities and labels, switch the privacy source in the Experience Platform Sources workspace. The migration affects the dataset associated with the selected dataflow, not the entire organization.

IMPORTANT
You cannot reverse migration after you start the process. To restart migration, delete the connection and create it again.
  1. In Sources, select Dataflows and open the menu for the dataflow you want to migrate.

    The dataflow menu includes the Migrate privacy to AEP action.

  2. Select Migrate privacy to AEP to open the confirmation dialog.

    Review the configuration reminder in the confirmation dialog before continuing.

    The privacy migration dialog includes a configuration acknowledgment and the Start migration action.

  3. Confirm your dataset privacy configuration by selecting the acknowledgment checkbox.

  4. Select Start migration.

    In Dataflows, the Privacy handling column displays Migrating to AEP with a transition notice.

    The Privacy handling column displays Migrating to AEP and a transition notice.

Hit timestamp precision and event ordering

The connector receives Analytics data as mid-values, which carry second-level hit timestamps. Because Analytics records time at only second-level precision and does not track sub-second timing, the order of hits collected within the same second is not deterministic. As a result, the order of same-second events ingested through the connector can differ from the order shown in Analytics reporting.

Customer Journey Analytics resolves timestamps to the millisecond, but Analytics-sourced data only populates whole seconds. The timestamp alone therefore cannot establish the relative order of events that share the same second. This is most noticeable when several hits are collected in the same second (for example, a page view and an Adobe Target (A4T) hit).

For more information on Analytics timestamp precision, see the Adobe Analytics timestamp variable and Hit depth documentation. For the timestamp fields the connector maps to XDM (hit_time_gmt and post_cust_hit_time_gmt), see the Adobe Analytics field mapping guide.

Your options for timestamp precision include:

  • Accept minor same-second ordering differences. For most reporting, the effect is limited to events that share the same second and does not affect aggregate metrics. This is the recommended approach, including for mixed page-view and Adobe Target (A4T) scenarios.
  • For order-sensitive use cases, prefer the Web SDK. Sending data through the Adobe Experience Platform Web SDK directly into Experience Platform and Customer Journey Analytics preserves sub-second (millisecond) timestamp precision and avoids Analytics reprocessing. This approach is recommended when event order is important.

Data latency and backfill

The expected latency for Analytics data on Experience Platform is outlined in the table below. Latency varies depending on customer configuration, data volumes, and consumer applications. For example, if the Analytics implementation is configured with A4T, latency to the pipeline increases by 5-10 minutes.

Analytics Data
Expected Latency
New data to Real-Time Customer Profile (A4T not enabled)
< 2 minutes
New data to Real-Time Customer Profile (A4T is enabled)
up to 30 minutes
New data to data lake
< 2.25 hours
New data to Customer Journey Analytics without stitching
< 3.75 hours
New data to Customer Journey Analytics with stitching
< 7 hours
Backfill of less than 10 billion events
< 4 weeks

For more information about Customer Journey Analytics latencies, see: Customer Journey Analytics Guardrails.

The Analytics backfill for production sandboxes defaults to 13 months. For Analytics data in non-production sandboxes, backfill is set to three months. The limit of 10 billion events mentioned in the table above is strictly with respect to expected latency.

When you create an Analytics source dataflow in a production sandbox, two dataflows are created:

  • A dataflow that does a 13-month backfill of historical report suite data into the data lake. This dataflow ends when the backfill is complete.
  • A dataflow that sends live data to the data lake and to the Real-Time Customer Profile. This dataflow runs continuously.

Best practices

Follow these best practices to avoid exceeding your license entitlements and overwhelming your total storage and data richness metrics:

  • Set up the Experience Event Dataset Retention Time-To-Live (TTL) in the beginning to optimize data lifecycle management and storage efficiency. For more details, see the guide on managing Experience Event Dataset Retention in the data lake using TTL.
  • When you create an Analytics source dataflow, start by configuring the connector to ingest data only into the data lake. After confirming that the dataflow is working, you can enable Profile ingestion for the dataset. This approach works best when row and column filters effectively reduce the data volume. Learn more in the connecting Adobe Analytics to Experience Platform documentation.

Frequently asked questions

Does Analytics backfill data count toward my licensed profile count?
No. Analytics backfill data is not ingested into Profile, so it does not count toward your license entitlements.
Can I import more than 13 months of historical data?
The Analytics backfill for production sandboxes defaults to 13 months, and non-production sandboxes are limited to three months. For production sandboxes, if you have licensed the additional SKU that entitles you to import more than 13 months of historical backfill data, contact Adobe to request the extended backfill.
How do I prevent secondary identities (AAID and AACUSTOMID) from being ingested into Real-Time Customer Profile?
You can use Data Prep to filter out secondary identities coming from Analytics, such as AAID and AACUSTOMID. If filtered out, these identities are not ingested into Profile even if they are available in the incoming Analytics data.
recommendation-more-help
experience-platform-help-sources