Activation and Setup

Analytics is enabled for your environment by dotCMS Customer Success — there is no self-service path during the Early Adopter Program. The steps below describe what that provisioning sets up, and the one step that is yours.

Step 1: Configure Per Site#


dotCMS Analytics is configured through the Content Analytics app under Settings → Apps.

Step 2: Site Auth Per Domain#


The Site Auth identifies and authorizes the analytics events coming from a given site. It is required in every event request. To replace it, paste your own value, or click Auto Generate Site Auth to have dotCMS generate a new secure one.

How Site Auth Is Used#

On every incoming batch, dotCMS resolves which site the events belong to from the request's Origin or Referer header, matching it against a dotCMS site name or alias. It then checks the site_auth in the payload against the Site Auth configured on that site. If they do not match, the events are rejected.

Attribution comes from the resolved site, not from the Site Auth — so the Site Auth acts as an access check at ingest time, not as the identifier your data is stored under.

You will use this value automatically in Traditional mode (dotCMS injects it into the script), or by copying it into your application config in Headless mode.

Step 3: Connect Event Manager#


The Content Analytics app needs a bearer token to talk to the dotCMS Analytics service. dotCMS performs this as a one-time exchange:

  1. The Admin Username and Admin Password for the event manager are entered in the app.
  2. On Save, dotCMS uses those credentials to mint a bearer token scoped to your tenant.
  3. On success, both fields are cleared automatically. Neither the username nor the password is stored — only the encrypted bearer token is retained.

Your tenant is determined by your dotCMS infrastructure; there is nothing to enter for it. If the token ever needs to be rotated, contact dotCMS Support — rotation repeats this same exchange.

Step 4: Add the Analytics Tool#