In this article, I am going to talk about how to create a server-side container for Google Tag Manager.
Create a new container in GTM
The first step is to create a new container in Google Tag Manager. Follow the below steps:
Step-1: Navigate to Google Tag Manager account and click on ‘Admin’.
Step-2: Now under the ‘Container’ column click on the ‘+’ button to create a new container.
Step-3: Give your container a descriptive name, select ‘Server’ from the available target platform, and click on ‘Create’.
Once you click on ‘Create’, a pop-up will come like below asking to provide the container with tagging server (Google Cloud App Engine Standard Instance).
In this step, we have to provide the tagging server details for the new GTM container that we created in the earlier steps.
You have two options to select ‘Automatically provision tagging server’ and ‘Manually provision tagging server’.
If you are new to Google Cloud Platform you can select the first option where you will need to create a billing account providing your financial details and Google will automatically create a tagging server for you.
If you already have access to Google Cloud Platform and have your own server you can select the ‘Manually provision tagging server’ option. In our case I am going with the first option.
Step-4: Now click on ‘ Automatically provision tagging server’.
Create billing account
In this step, we are going to create a billing account required for setting up a server side container.
Step-5: After step-4, you will get a pop up like below. Now click on ‘Create Billing Account’.
Step-6: Now add a name to your billing account, select your country and then click on ‘Continue’.
The next step will be to add billing information.
Add billing information
In this step, we are going to provide billing information.
Step-7: The account information is by default taken by Google, if not you can select the ‘Switch Account’ link and connect with a different account if needed.
Now check your selected account and select the country. Mark the checkbox under terms of services and click on ‘Continue’.
Step-8: Now in this step we need to fill ‘Identity Verification and Contact Information’. Google will automatically fetch the contact number associated with the selected account.
If you want to use a different number you can do it by clicking on ‘Use a different number’, otherwise you can click on ‘Continue’.
Step-9: You will be redirected to the third step of creating the billing account. Here you have the option to select the account type. Options available are ‘Business’ and ‘Individual’. In this case, I am going to select the ‘Individual’ option. You can skip this step if you want to select the ‘Business’ account.
Click on the Pencil icon beside ‘Account Type’.
Step-10: Now select ‘Individual’.
Step-11: Now add your credit card number, tax information and then click on ‘Start My Free Trial’.
Step-12: Once you click, you will be redirected to a new page to verify your billing account. You will be charged very less, like 1 or 2 cents, just to verify that you are not a BOT. Click on ‘Continue’.
Once the payment method is verified, you will be redirected to the GTM account settings.
In this step we will connect the server side container to the billing account.
As you are redirected to the GTM container settings you will get below screen.
Step-13: Now select the billing account that you just created and then click on ‘Select billing account and create server’.
It will take a few minutes to create the server for you and you will see the below screen.
Once the server is created you will get below screen with information like ‘Container configuration’, ‘Google Cloud Platform Project ID’, ‘Created By’, and ‘Default URL’.
Now click on ‘Close’.
Congratulations! You have successfully created your Google Tag Manager container for server side. Now you need to configure DNS for a GTM server side container which we will see in our next article which is. How to Configure DNS for GTM Server Side Container.
Frequently asked questions about how to create a server side container for Google Tag Manager
What is server side tagging in GTM?
Server side tagging is a new way to use Google Tag Manager (aka GTM) in Google’s cloud environment.
It has its own benefits like reduced page load time, better security and control over the data that you send to Google Analytics and third-party tools. Where a normal Google Tag Manager container resided in a client-side environment, a server-side container resides in the Google Cloud environment.
Server-side containers also use the same concepts, like tags, triggers and variables, which you have used earlier.
A server-side container acts like a proxy in the cloud environment that you own. So instead of sending hits directly to the endpoint server (like in client-side GTM), you send hits to a server-side GTM container and then to the endpoint server which collects the data.
What are the benefits of server-side tagging?
Following are the benefits of server-side tagging.
Reduced page load: One of the great benefits of server-side tagging is reduced page load time. As we define all the tags in server-side containers, the JavaScript loads in the cloud and then sends data to individual third-party servers which collect the information.
More secure and safe: In a typical GTM implementation, the GTM container resides at the client side and the data processing can be exposed to the spammers who can send fake pageviews and events to your Analytics property. But in the case of server-side tagging, the data processing happens in a cloud environment that you own, and that only you have access to.
Extra control for data collection: Since third-party tools don’t have any direct connection to the user’s device there are no data leaks or setting up third party cookies, you have complete control on what data is being sent to the endpoint tools and these tools are communicating only with your server.
Is server-side tagging in GTM free?
No, server-side tagging comes with the cost incurred to host the server-side container in the cloud. A server-side GTM container is still free to use and the cost incurred is only to host it in the cloud.
In general, a minimum of three servers are required in the Google Cloud Platform to host this solution and it may cost up to $120 USD per month. If you track more data and process it in the cloud, the solution will be a higher price depending on the server calls.
Register for the FREE TRAINING...
"How to use Digital Analytics to generate floods of new Sales and Customers without spending years figuring everything out on your own."
Here’s what we’re going to cover in this training…
#1 Why digital analytics is the key to online business success.
#2 The number 1 reason why most marketers are not able to scale their advertising and maximize sales.
#3 Why Google and Facebook ads don’t work for most businesses & how to make them work.
#4 Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.
#5 The number 1 reason why conversion optimization is not working for your business.
#6 How to advertise on any marketing platform for FREE with an unlimited budget.
#7 How to learn and master digital analytics and conversion optimization in record time.
My best selling books on Digital Analytics and Conversion Optimization
Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.
Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.
Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.
Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.
About the Author
Himanshu Sharma
Founder, OptimizeSmart.com
Over 15 years of experience in digital analytics and marketing
Author of four best-selling books on digital analytics and conversion optimization
Nominated for Digital Analytics Association Awards for Excellence
Runs one of the most popular blogs in the world on digital analytics
Consultant to countless small and big businesses over the decade
error: Alert: Content is protected !!
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Allow Cookies”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.