Implement Adobe Analytics

Banner

Adobe Analytics requires code within your website, mobile app, or other application to send data to data collection servers. There are several methods to implement this code, depending on platform and your organization’s needs.

Website implementation methods

For your website, the following implementation methods are available:

Client-side

  • Web SDK extension: The standardized and recommended method to implement Adobe Analytics for new customers. Add the Adobe Experience Platform Web SDK extension in Adobe Experience Platform Data Collection Tags, then place a loader tag on each page. The tag sends data to the Adobe Experience Platform Edge Network, which forwards that data to Adobe Analytics.
    Web SDK extension
    See How to implement Adobe Analytics using the Adobe Experience Platform Web SDK extension. for more information.

  • Web SDK: You can manually load the Web SDK libraries on your site if you do not want to use Adobe Experience Platform Data Collection. Reference the Web SDK library (alloy.js) on each page, and send the desired tracking calls to the Adobe Experience Platform Edge Network in a format convenient to your organization. The Edge Network forwards that data to Adobe Analytics.
    Web SDK
    See How to implement Adobe Analytics using the Adobe Experience Platform Web SDK for more information.

  • Analytics extension: Add the Adobe Analytics extension in Adobe Experience Platform Data Collection Tags, then place a loader tag on each page. The tag sends data directly to Adobe Analytics. Use this implementation method if you want the convenience of Tags, but do not want to use the Edge Network infrastructure.
    Adobe Analytics extension
    See How to implement Adobe Analytics using the Analytics extension for more information.

  • Legacy JavaScript: The historical manual method to implement Adobe Analytics. Reference the AppMeasurement library (AppMeasurement.js) on each page, then set variables and settings in JavaScript.
    How to implement Adobe Analytics using Legacy JavaScript
    This implementation method can be useful for implementations using custom code and is ideal for implementation types not offered elsewhere, such as for AMP pages.

The following decision flow can help you select a client-side implementation method:

A decision tree for selecting an implementation method, as described in this section.

TIP
Contact your Adobe Account Team for advice and best practices on which implementation to choose based on your current situation.

Server-side

To implement Adobe Analytics server side, you have the following options:

Mobile app implementation methods

For your mobile app, the following implementation methods are available:

  • Mobile SDK extension: The standardized and recommended method to implement Adobe Analytics in your mobile app. Use dedicated libraries to easily send data to Adobe from within your mobile app. Add the Adobe Experience Platform Mobile SDK extension in Adobe Experience Platform Data Collection Tags, then implement the Mobile SDK library in your app. You can use the SDK to import libraries, register extensions, and load the tag configuration. Send data to the Adobe Experience Platform Edge Network; Edge then forwards that data to Adobe Analytics.
    Mobile SDK extension

    See Implement Adobe Analytics using the Adobe Experience Platform Mobile SDK for more information.

  • Analytics extension: Add the Adobe Analytics extension in Adobe Experience Platform Data Collection Tags, and implement the Mobile SDK library in your app. You can use the SDK to import libraries, register extensions, and load the tag configuration. This implementation method sends data directly to Adobe Analytics. It is recommended if you want the convenience of Adobe Experience Platform Data Collection, but do not want to use Adobe’s Experience Platform Edge network infrastructure.
    Analytics extension

    See Implement Adobe Analytics using the Analytics extension for more information.

CAUTION
See for support for older versions of Adobe’s mobile SDKs the SDKs end-of-support announcements.

Key Analytics Implementation articles

Key Analytics resources

recommendation-more-help
b4f6d761-4a8b-4322-b801-c85b9e3be690