Skip to main content

How do I set up first-party tracking?

In this article you learn how to load the Tracify script through your own domain: start the domain setup, add three CNAME records, wait for the verification, activate first-party tracking for your shop and check the result.

Written by Dennis Rudolf

With first-party tracking, the Tracify script and the events of your shop are loaded and sent through your own domain, for example script.yourshop.com instead of a Tracify domain. Browsers and ad blockers block requests to your own domain less often, so Tracify sees more of your visitors and orders.

In this article

ℹ️ Note: You need access to the DNS settings of your shop domain, usually at your domain registrar or at Cloudflare. If someone else manages your DNS, send them step 2.


1. Start the domain setup in Tracify

  1. In the dashboard, select exactly one store at the top left. The setup is done per store and the page only works with a single store selected.

  2. Check the domain next to the button. It is the domain of your shop. If it is wrong, contact us before you continue.

  3. Click Start Domain Setup.

After a few seconds the page shows three CNAME records with the status Not set: script, ingest and ip4.


2. Add the three CNAME records

Log in to your DNS provider and add the three records exactly as Tracify shows them. The screenshots show Cloudflare, other providers look similar.

  1. Open the DNS records of your domain and click Add record.

  1. Choose CNAME as type. Copy the Name and the Target of the first record from Tracify with the copy icons and paste them into the form.

  1. If your provider offers proxying, as Cloudflare does, switch it off (DNS only). Save the record.

  1. Repeat this for the other two records. Afterwards your DNS list contains the three CNAME records.

⚠️ Important: Do not proxy the CNAME records and do not change the names or targets. A proxied or changed record is not recognized by Tracify.

Guides of common providers: Cloudflare, Amazon Route 53, Google Cloud DNS, Microsoft Azure DNS, IONOS, Hetzner, Strato. For other providers, search for "[provider] add CNAME record".


3. Wait for the verification

Go back to Settings › First-Party Tracking. Tracify checks the records and shows Active with a green checkmark for every record that is set correctly.

⏰ Timing: Tracify needs at least 15 to 30 minutes after you saved the records to recognize them. Depending on your DNS provider, the change can take 24 hours and in rare cases up to 96 hours to propagate. If a record is still Not set after that, check name, target and proxying, and contact us if it still does not work.


4. Activate first-party tracking for your shop

Where you activate it depends on your shop system:

Shopify

  1. Tick Enable first-party tracking. The checkbox is only active once all three records are Active.

  2. Click Update Shopify Shop.

WooCommerce

  1. In WordPress, open the settings of the Tracify plugin.

  2. Set First-party tracking to Enabled.

  3. Enter your tracking domain in Tracking script domain: script.yourdomain.com, with yourdomain.com replaced by your shop domain.

  4. Click Save Changes.

Shopware 6

  1. In the Shopware admin, open the configuration of the Tracify plugin.

  2. Enter your tracking domain in Tracking domain: script.yourdomain.com, with yourdomain.com replaced by your shop domain.

  3. Click Save.

Other shop systems and custom integrations

Load the Tracify script from script.yourdomain.com instead of the Tracify domain. The developer documentation at tracify.dev describes the script, and we help you with the change via the chat.


5. Check that the script loads from your domain

  1. Open your shop in the browser, right-click and choose Inspect.

  2. Open the Network tab and type csid into the filter.

  3. Reload the page and click the tracify entry.

  4. The request URL starts with script.yourdomain.com and the status is 200 OK.

ℹ️ Note: It can take 5 to 10 minutes after the activation until the script loads from your domain. If the request still goes to a Tracify domain afterwards, check that the activation was saved.

Did this answer your question?