To begin using Analytics, data must be sent to a report suite to display in reporting.
This section describes the legacy method of implementing Analytics. All Analytics customers have access to Dynamic Tag Management which is the standard method to deploy Experience Cloud tags.
To successfully implement a page with code to collect data, you must have access to your hosting servers to upload new content to your website. It is also useful to have an existing site to implement code.
The following steps walk you through a basic Analytics implementation.
The download is available in Code Manager .
This download zip contains several files. AppMeasurement.js and VisitorAPI.js are the relevant files when implementing Analytics.
|Set up the Experience Cloud ID service.|
(Formerly Visitor ID service .) See Set Up the Experience Cloud ID Service for Analytics .
|Update AppMeasurement.js .|
Copy the Example AppMeasurement.js Code and paste it at the beginning of your AppMeasurement.js file. At a minimum, update the following variables:
See Correctly populate the trackingServer and trackingServerSecure variable or contact Client Care if you are unsure about any of these values. If they are not set correctly, data will not be collected by your implementation.
|Host AppMeasurement.js and VisitorAPI.js .|
|Reference AppMeasurement.js and VisitorAPI.js on all site pages.|
|Update and deploy page code.|
Copy the Example Page Code and paste it just after the opening <body> tag on each page you want to track. At a minimum, update the following variables:
|Use the DigitalPulse Debugger to verify that data is being sent.|
Install the Adobe Debugger bookmarklet. After it is installed, load a page where you have deployed page code and then open the debugger. The debugger displays details about the collection data that was sent.