Skip to main content

No project description provided

Project description

Deploy

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_google_tag_manager-0.0.1.tar.gz (4.3 kB view hashes)

Uploaded source

Built Distribution

pulumi_google_tag_manager-0.0.1-py3.6.egg (19.5 kB view hashes)

Uploaded 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page