diggama 2.0 Help

Analytics

Allowing domains to feed data to analytics

From a project dashboard, click on the project name in the project selector on the top left. Navigate to settings, and add the domains that will be allowed to feed data into the project.

Generating a token

A token is necessary to uniquely identity the project that will be fed hit data. From the project dashboard, select the "Project tokens" tab. Click on "Generate a new token", and give it a name. Leave the "Permissions" field empty, as this token will only be used to feed data into the analytics engine.

Copy the token, and keep it safe. It will be used in the next step.

Integrating the analytics script into a website

Next, add the following script at the end of each page (ideally in a layout component):

<script src="https://api.diggama.com/v1/here.js" x-diggama-token="{token}" async/>

Replace {token} with the token generated in the previous step.

Last modified: 13 February 2025