No project description provided
Project description
pulumi-google-tag-manager
This project contains a pip packaged named pulumi-google-tag-manager
which allows Google Tag Manager and Google Analytics resources to be managed in Pulumi.
An example Pulumi program which uses this package is present in the example
folder.
Prerequesits
- Install the package into your Pulumi project using
pip
$ pip install pulumi-google-tag-manager
- Set your Google credentials in your stack config:
$ pulumi config set aws:region <region>
$ pulumi config set google_api_key_file <google-api-key-file>
$ pulumi config set ga_account_id <google-analytics-manager-account-id>
$ pulumi config set gtm_account_id <google-tag-manager-account-id>
You will need to ensure that your API key represents a service worker with Project Owner permissions, and that you have added this user to the GTM users.
Directory structure
.
.
├── README.md
├── example
│ ├── Pulumi.yaml
│ ├── README.md
│ └── __main__.py
├── pulumi_google_tag_manager
│ ├── dynamic_providers
│ │ ├── __init__.py
│ │ ├── container.py
│ │ ├── container_provider.py
│ │ ├── custom_html_tag.py
│ │ ├── custom_html_tag_provider.py
│ │ ├── tag.py
│ │ ├── tag_provider.py
│ │ ├── workspace.py
│ │ └── workspace_provider.py
│ ├── service.py
│ └── templates
│ ├── __init__.py
│ ├── gtm_tag.html
│ └── gtm_tag_noscript.html
├── requirements.txt
├── setup.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pulumi_google_tag_manager-0.0.1.tar.gz
.
File metadata
- Download URL: pulumi_google_tag_manager-0.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a42bd85275f701f4103f5001b95a61fb183b4b63169bbc74a2ab06174cc7400 |
|
MD5 | 452fead60e4b8b7461d940334a629820 |
|
BLAKE2b-256 | 0dd59c52b4494a4f369dd2ea09c5219bd2ebe8fc85e2ee6180c25248d863c012 |
File details
Details for the file pulumi_google_tag_manager-0.0.1-py3.6.egg
.
File metadata
- Download URL: pulumi_google_tag_manager-0.0.1-py3.6.egg
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 702adbd2178346f4d6d3284bf81a4d6eec6d6163c02384145b94b3ac1055d6b2 |
|
MD5 | 2dadfef33325b046134bc706954a0cdc |
|
BLAKE2b-256 | 833eea9e9ae97ff2c561811fc378801af9c8307e11ca84a38af10e9fdc0f213e |