First-Party Tag Hosting
Last updated
Was this helpful?
Last updated
Was this helpful?
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!
If you haven't declared any domains yet, you will see the following message on the 'First-Party Tag Hosting' page:
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
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)
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.
Note: If you have configured multiple subdomains, the file will be available on each of them.
example:
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)
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
Please note: Please note that there is a 'refresh' delay applicable to this feature. It may take up to one hour to upload your file to the First-Party configuration. Our development team is currently working to reduce this time.
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