google-marketing-solutions / sgtm-autodeployer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server-side Tag Manager Autodeployer

This tool enables you to deploy server-side Tag Manager easily in your own Google Cloud environment, allowing you to customize the regions to use, scaling capabilities and custom domain to use.

The deployment is based on the Cloud Run setup guide and is meant to simplify the process for new users of server-side tagging.

Before installing the tool, we strongly recommend you to join the sGTM Autodeployer users group. In there you will be able ask questions and provide feedback about the solution.

Quick start

Click the Open in Cloud Shell button to open this repository in Google Cloud Shell and follow a guided tutorial to deploy server-side Tag Manager.

Open in Cloud Shell

Advance usage

If you want to use the tool without the guided tutorial, make sure to edit the terraform.tfvars file first, and provide all the needed parameters there (there are detailed instructions for each variable in the bottom of the file).

To prepare the terraform environment, execute the following command from the root folder of this repository:

terraform init

If you have already deployed the tagging server in the target Google Cloud project, recover the terraform state using the command below, otherwise you can skip this step.

bash recover_state.sh

To start the deployment, use the command below and follow the prompts to confirm the operation (you need to enter yes when prompted if you agree with the changes, otherwise the script will exit).

terraform apply

Disclaimers

This is not an officially supported Google product.

Copyright 2023 Google LLC. This solution, including any related sample code or data, is made available on an “as is,” “as available,” and “with all faults” basis, solely for illustrative purposes, and without warranty or representation of any kind. This solution is experimental, unsupported and provided solely for your convenience. Your use of it is subject to your agreements with Google, as applicable, and may constitute a beta feature as defined under those agreements. To the extent that you make any data available to Google in connection with your use of the solution, you represent and warrant that you have all necessary and appropriate rights, consents and permissions to permit Google to use and process that data. By using any portion of this solution, you acknowledge, assume and accept all risks, known and unknown, associated with its usage, including with respect to your deployment of any portion of this solution in your systems, or usage in connection with your business, if at all.

About

License:Apache License 2.0


Languages

Language:HCL 75.5%Language:Shell 24.5%