Set up Content Analytics tracking
To use Content Analytics with custom pages or widgets, add the tracking profile to your Employee Center or service portal theme header and add the cdaAnalytics service to your custom widgets.
Before you begin
About this task
More steps for page tracking:
Add the tracking profile to your Employee Center or service portal theme header.
<widget
id="cda-site-analytics"
options="{ 'tracking_profile_name': '{PROFILE_NAME}', 'enable_logging': false}"
></widget>
Note:
If you don’t specify a tracking profile in the options, content analytics tries to use the default tracking profile. See Create a Content Analytics tracking profile.