This article explains how to use first-party-domains
After your domains are configured and the certificates are validated you can begin using your first-party domains with the following services:
First-party domains and environment switcher
Environment switcher is a browser plugin that can be used to change the Tealium files (utag.js and utag.sync.js) that are loaded on a page, which is useful during testing. Environment switcher does not work properly when first-party domains is used for the tags.tiqcdn.com domain. In this case, you can setup a URL redirect for tags.tiqcdn.com in environment switcher.
The publishing URLs determine where to load the additional utag.#.js files for each default environment. If you forget this step, then the vendor tag files loaded after utag.js will not originate from your domain.
To set the publishing URLs:
Click Save/Publish, then click Configure Publish Settings….
Under Publishing URLs, enter a URL for each environment that uses your first-party domain.
After all of these changes, save and publish to apply the changes to your site.
To use your first-party domain with Tealium EventStream or Tealium AudienceStream you need to update the data collection URL in your installation of Tealium Collect. For websites, this requires setting the Tealium Collect Endpoint field for the Tealium Collect tag.
To update the Tealium Collect tag:
Go to iQ Tag Management > Tags and expand the Tealium Collect tag.
In the Tealium Collect Endpoint field, enter your first-party domain endpoint.
Collect for mobile
For mobile apps, you must override the dispatch URL in the Collect module.
For more information on setting your first-party domain endpoint, see the following:
[Tealium for Swift: config.overrideCollectURL]/platforms/ios-swift/api/tealium-config/#overridecollecturl)
[Tealium for Android: config.overrideCollectUrl]/platforms/android-kotlin/module-list/collect/#configuration-options)