1. Home
  2. Docs
  3. TikTok Web Events API
  4. Step 1: Set-up sub-domain for first party cookies

Step 1: Set-up sub-domain for first party cookies

Set-up Process

Set-up Sub Domain and implement DNS mappings (pre-requisite for Web data source to enable first party cookies and server to server tracking )

Before setting up your first Web data Source Connector in Datahash, you need to complete a prerequisite step – setting up a subdomain. If you have already set up a subdomain in your project, you can skip this step.

Note: You can only set up one subdomain per project. To add a new subdomain, you will need to create a new project.

Sub Domain Setup

To start the subdomain setup, click on the central Datahash engine icon. There are two main steps to complete:

  • Login to Datahash and open the sub-domain set-up by clicking on the Datahash icon in the center
  • Providing Sub Domain and Domain Name: Provide a sub-domain name e.g. s2s or firstpartydata. Provide the domain name of the website on which tracking has to be setup. The domain name will be prefilled based on your work email. Do verify and update as required. Click Next.
  • Set up the NS records in the Domain Manager: Once you save the sub-domain and domain name, Nameserver (NS) records will be generated for the sub-domain and will be availabe to be set up on your website domain’s Domain manager in the DNS settings section.

Sub domain Setup is mandatory to enable server to server first-party tracking between multiple sources and destinations. Once you have successfully set up your subdomain, proceed to setting up your Website Source Connector

Kindly refer to the below section to understand how to setup nameserver (NS) records in the DNS managers of few most popular domain name providers:

NS records set-up on Godaddy DNS Manager

NS records set-up on Cloudflare

NS Records set-up on AWS

Articles

How can we help?