Sample Global Configuration Code for Adobe SiteCatalyst AppMeasurement.js

This section to show the sample code for the Adobe SiteCatalyst AppMeasurement.js global configuration which should be placed at the beginning of your AppMeasurement.js file.

Important: This example uses the visitor ID service, which is deployed as part of your JavaScript Implementation. Enabling the visitor ID service in AppMeasurement before you have included the Visitor API JavaScript file on all site pages could result in duplicate visitor counts. To avoid duplicate visitor counts, make sure that you understand and follow the process described in Visitor ID Service.

Complete example code below:

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA