Cloudflare: DNS configuration for subdomain

In this explanation of DNS Configuration, we explain the steps to configure the DNS (domain name system) so that it can be used for server side tagging. In fact, if you want to use a custom domain for your server side tagging setup (recommended), you will need a DNS record. A custom domain is a subdomain on your current domain name where you send all the data.

Domain: example.com

Subdomain: test.example.com

A DNS record is a setting that ensures that your domain name is sent to the correct server and is therefore necessary for server side tagging. DNS records are managed by your domain/web hosting provider. This explanation focuses on Cloudfare. Do you have another provider? Then check out one of these articles:

Transip

Yourhosting

Hostnet

Mijndomein

Versio

Argeweb

Cloud86

Not sure which provider your domain is hosted with: Use this tool. If your provider is not among our list, read this article.

Step 1: Create custom domain

While creating your container in TAGGRS 1. Get the choice to create a custom domain. Once you do this, you will be prompted to set the DNS, as shown in the screenshot. Under Custom Domain, enter your desired domain, for example, GTM.jouwdomein.nl. Once you have done this, the required DNS setting will automatically appear at the bottom.

create-gtm-container-taggrs

Next to the DNS record, the validate button appears. If you are able to create the DNS record yourself, you can validate it with the button right away as well. With that, you test whether everything is working properly. But don’t worry: you can always do the validation at a later time, if you leave the creation of the DNS record to someone else.

Step 2: Create DNS record

First, log in to Cloudfare. If you don’t have this information, you can probably request it from the IT department or one of your website’s web developers.

Once you are logged into Cloudfare, choose a domain name. Then choose DNS from the menu bar. Then click add record. Choose by type A. Under name, enter the prefix of the Custom Domain. At target you enter the Record. Proxy turn off. TTL at 5 minutes. Then click “Save.

Once the saving is successful, click the validate button in the previous steps (the first image). This indicates whether your DNS succeeded and came through at TAGGRS. If this is successful, then you can move on to the next step. You can also complete the validation later.

Validate Your DNS Settings

Have you added DNS Records? If so, confirm them in the TAGGRS Dashboard by clicking 'validate.' Then, visit your subdomain in a new tab. You should see a picture like the one below. If it's not visible, there might be a configuration error. For details, check out the article for all DNS and Subdomain errors and solutions.

Please note: Subdomain validation may take up to 24 hours.