Analytics for Target implementation
Several steps are required when implementing Adobe Analytics as the reporting source for Target (A4T).
The following table describes the steps required to deploy this integration to your site.
Step 1: Request provisioning for Analytics and Target
After you implement Analytics as the reporting source for Target, you must be provisioned for Analytics and Target. Use this form to request to be provisioned .
Step 2: Set up user permissions
User account requirements must be met before you can create an Adobe Analytics-based activity in Adobe Target. See User permission requirements .
Step 3: Implement the Experience Cloud Visitor ID service
The visitor ID service lets you identify users across Experience Cloud solutions. You must implement or migrate to the required version of the Experience Cloud Visitor ID. For more information, see "Implementation Requirements" in Before you implement .
See Implement the Experience Cloud ID Service for Target in the Experience Cloud Visitor ID Service documentation.
You must implement or migrate to the required version of appMeasurement.js. For more information, see "Implementation Requirements" in Before you implement .
Step 5: Download and update at.js or mbox.js
You must implement or migrate to the required version of at.js or mbox.js using your production account. No modifications are required on the code.
For more information, see "Implementation Requirements" in Before you implement .
Step 6: Host at.js or mbox.js
If you previously deployed at.js or mbox.js, you can replace your existing file with the updated version. For more information, see "Implementation Requirements" in Before you implement .
Step 7: Reference at.js or mbox.js on all site pages
Include at.js or mbox.js below VisitorAPI.js by adding the following line of code in the tag on each page:
It is essential that VisitorAPI.js is loaded before at.js or mbox.js, so if you are updating an existing at.js or mbox.js file, make sure that you verify the load order.
Step 8: Validate the implementation
This is especially important to confirm in Single Page Applications (SPAs) where the order of calls is not always predictable.
Note: The matching of these values is required in order for A4T to function correctly.
Step 9: (Optional) Remove previous integration code
We recommend that you remove the previous integration to simplify your implementation and eliminate the need to sort out discrepancies between the systems. You can remove any code you might have deployed for a previous SC to T&T integration, including mboxLoadSCPlugin.
Step 10: Enable the options for using Analytics as the reporting source for Target
In Target, click Setup > Preferences and choose either Select per activity or Adobe Analytics to enable the options.
- Select per activity lets you choose between Target and Analytics when creating each activity.
- Adobe Analytics sets Analytics as the reporting source for all activities that you create.