First-Party Tag Hosting

Our first-party tag hosting feature ensures that ad blockers do not interrupt responsible data tracking unfairly. This is in line with privacy best practice and GDPR compliance.

By configuring your first-party tag hosting, you can change the host of your external files used in your tags (from Web Containers).

Looking for an alternative way to avoid the effects of ad blockers and maintain tracking? You've come to the right place!

Domain Configuration

Prerequisite: have a valid CNAME in your DNS configuration 2 CNAMEs are required: 1 for file's hosting & 1 for SSL certification More info here

Add your domain

If you have already configured a "domain" in "domain management" for CDN first-party hosting, you can skip the first step

If you haven't declared any domains yet, you will see the following message on the 'First-Party Tag Hosting' page:

Declare your sub-domain

Go on Administration > Domain Management

Look to the menu Domain Management for CDN 1st party

Click on "Add Subdomain"

Enter your subdomain name

Once saved, the new subdomain will be displayed in your list

Validate your configuration

Once your subdomain is added, you need to validate your configuration, to obtain a Valid Certificate It will be validated only if your CNAME has been properly configured

Activation

As long as the domain isn't activated, your workspace will not be impacted by your configuration. Once activated, all your Web Container(s) & Privacy banner(s) will be hosted on the new subdomain(s)

JS URL File declaration

Go to 'Administration > First-Party Tag Hosting' to declare the JavaScript (JS) external files/libraries that you want to host with the First-Party feature.

Click on "add js url" button

Then, all you need to do is declare your JavaScript file URL

Make sure the 'Enable hosting' toggle button is set to 'ON'.

Our product will automatically suggest you a safe renaming of your file, but you can change it if you wish. This will be mentioned in the path of the hosting url (example: "https://my_sub_name.domain.com/8461026763.js"

If you change the name, be careful to use a name that will not be blocked by ad blockers. (eg. don't use the partner name, such as "gtag")

You can Save! The configuration is complete and your new JS URL has been added to your list.

example:

Update the URL of your file(s) call(s)

Last step before complete setup!

Replace the related JavaScript file URL called inside your tag's code of your Web Containers.

Then you can regenerate and deploy your Web Container(s)

How to test

Go on your website, check in the network of the browser console.

Your new first-party hosting URL file will replace the partner one

The partner JavaScript file URL will no longer appears

Last updated

Was this helpful?