I want to use Server Side in Google Tag Manager because it will improve my meta pixel a lot and it will reflect on my ads performance. But I don’t want to use google cloud platform either.
We have two options for this. Google can make an automatic connection for you on the Google Cloud Platform. The second option is to install it manually on your server.
There is no content that fully explains how to install it manually. There is only google’s document. Let’s look at the document.
https://developers.google.com/tag-platform/tag-manager/server-side/manual-setup-guide
I realized that I needed to install docker and installed docker on my server.
In my video I type the following command and it seems to work.
sudo systemctl status docker
I installed gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable that google asked for by typing docker images.
The last time I test it. In the code below, in the <config_string> field I write the Container Config I got from gtm-server.
docker run -p 8080:8080 -e CONTAINER_CONFIG=” -e RUN_AS_PREVIEW_SERVER=true gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable
I’m sending a request to the link below but I’m not getting a response. I only want 200.
http://localhost:8080/healthz
What do you think the reason is? I’ve been thinking about it for days. What could I have missed? Actually, it seems simple. Install Docker. Install images from Google. Preview at the end. But I can’t get 200.
I also couldn’t find any other content about it, although it must be very important to open gtm-server somewhere other than gcp.
I am grateful to friends for their support.
2
Answers
I figured it out, it was actually working and I didn't realize it. at http://localhost:8080/healthz I had to enter my ip address in the localhost section and watch it in the browser. ChatGPT provided support. Problem solved.
Hi I am from India I also want to setup Manual Setup of GTM Server-Side on Digital Ocean but I am non tech person and I was using free steap.io access which was free now I am unable to use it because 20$ is very high for me , can you please help me to setup that please? I have digital ocean access / paid account. please contact me [email protected]
Whatsapp No – +919903550507
please help me , or if you can make a whole video for step by step i can share with any tech person who can setup for me . please help