Stape
Search
Try for free

How to switch server GTM hosting from Google Cloud to Stape

Updated
Sep 27, 2024
Published
Jan 8, 2022

There are several reasons why you want to consider moving the hosting of your server Google Tag Manager container from Google Cloud to stape.io.

Here are some benefits of using Stape:

  1. Price
  2. One-click tagging server set up
  3. Custom gtm.js loader
  4. Preview header
  5. Faster gtm.js/gtag.js/analytics.js loading time
  6. No need to run scripts if you want to upgrade to the production environment
  7. No additional configuration in the server GTM container
  8. Autoscaling
  9. Access and billing
  10. Account sharing
  11. Support

We have a more detailed description of the stape benefits here. In this blog post, I want to show how to switch sGTM hosting from Google Cloud to stape.io.

There are two main ways of transferring sGTM hosting from Google Cloud to stape.io:

1. Export the existing sGTM container (hosted on Google Cloud) and import it into a new container (hosted on stape.io). 

1.1 Open the Admin tab of the sGTM container hosted on the Google Cloud and click Export Container. 

1.2 Create a new server container with a manually configured tagging server. For a more detailed description of setting up an sGTM container with a manually configured tagging server, follow the steps from this blog post

1.3 Import container settings. 

1.4 Update DNS settings. When you’ve set up a custom subdomain on Google Cloud, you’ve added A and AAAA settings. For stape.io, you should set only A record. That is why when transferring sGTM from Google Cloud to stape, you need to remove the AAAA record and change the IP address for the A record. 

2. Another way is to use the existing sGTM container. 

2.1 Open sGTM container settings and copy Container Configuration. 

2.2 Paste Container Configuration into your stape.io sGTM container settings. 

2.3 Update A record for your custom subdomain and remove the AAAA record (if you set it up for Google Cloud). 

Do not forget to turn off the GCP project. Because otherwise, you will still be billed for the GCP.

How to delete a GCP project

Follow the steps to delete a Google Cloud Project:

2. Select your project (from drop-down on top nav-bar).

3. Select IAM & Admin (from hamburger menu on top-left nav-bar).

4. Click Settings in the left-side-bar nav.

5. Click SHUT DOWN.

6. Enter text per instructions to confirm project shutdown.

And that's it.

Tagged with:gtm server

Try Stape for all things server-sideright now!