How can we help?

How to configure Google Tag Gateway

Ivanna
Ivanna
  • Updated

Before you begin, please ensure that web Google Analytics 4 and/or Google Ads tracking is configured for your website. Stape Google Tag Gateway works only based on data that web GA4 and/or gAds requests send. 

 

1. Create a Google Tag Gateway container on Stape by adding:

  • Gateway name. You can create a random name.  
  • Web Google Tag Manager. Follow these steps to find the web Google Tag Manager ID
  • Select a server location. Select a location closer to your website visitors. 

Click Create Google Tag Gateway.  

Знімок екрана 2024-09-29 о 00.00.12.png

 

 

2. Select the subscription plan or choose to add payment later. 

There are two subscription plans: 

1. Pay as you go

  • 10$ per month or 100$ per year per domain.
  • 2,000,000 requests per month.

With the pay as you go plan, you can add several combinations of custom domains and web GTM. Each additional domain will cost 10$ per month (100$ per year).


2. Ultimate

  • 100$ per month or 1000$ per year.
  • 20,000,000 requests per month.
  • 20 custom domains.

Знімок екрана 2024-09-29 о 00.01.23.png

 

3. [Recommended] Configure custom domain.

Configuring a custom domain is highly recommended because it allows you to serve your Google Tags from the first-party context and prolongs first-party cookies. 

 

1. Choose your Google Tag Gateway on Stape. Click Add a custom domain

 

Screenshot 2024-08-09 at 17.12.21.png

 

2. Type the domain name and select whether you want to use Own CDN. Own CDN allows serving custom domains (tagging server URL) from the same IP address as your website domain. It helps to set first-party cookies in browsers with ITP, like Safari and Firefox

Read more about configuring Own CDN for Google Tag Gateway here.

 

Знімок екрана 2024-09-29 о 00.06.35.png

 

3. Configure the DNS records you see in the Stape.io admin. Below is an example of Cloudflare. If you use any other DNS provider, please check these guides

 

Screenshot 2024-08-09 at 17.13.35.png

  • Log in to your Cloudflare account
  • Select website
  • Click DNS records
  • Click Add record
  • Add a CNAME record similar to the screenshot below. Ensure that the proxy status is off 
  • Save changes

Screenshot 2024-08-09 at 17.18.29.png

It usually takes 20-30 minutes to validate DNS records, but for some providers, it might take up to 72 hours. If the domain is not verified in 72. hours, please follow the steps from this guide or reach out to Stape support

 

4. [Recommended] Configure custom loader. 

The custom loader makes Google Analytics 4 and Google Ads script invisible to adblockers, improving the quality and quantity of the data. 

  • Select a domain of your gTag Gateway.
  • Web GTM ID will be predefined based on the previous setting. 
  • Select the CMS. If your website is custom-built or a CMS is not listed in the dropdown, select Other. You will see the Custom loader configuration description based on the CMS selection on the right side.  
  • Follow the instructions on the right side to update the web Google Tag Manager script on your website. You can either use one of the CMS apps (WordPress, Shopify, Magento, BigCommerce) or update the web Google Tag Manager script manually. 

Screenshot 2024-08-09 at 18.11.22.png

 

5. Update the tagging server URL of your Google Tag in the web GTM.

Add the following record inside your Google Tag in the web Google Tag Manager container. 

Configuration parameter: server_container_url
Value: is your domain name in stape.io admin

Screenshot 2024-08-09 at 18.29.54.png

 

Screenshot 2024-08-09 at 18.40.38.png

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.