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 Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page