Skip to main content

Django app for Google Tag Manager

Project description

Google Tag Manager App
-----
Simple app that intends to simplify GTM configuration and allows to add named
settings for different containers.

Google Tag Manager https://tagmanager.google.com


Usage
===

1. Do migrations
2. Open GTM settings in the admin page
3. Set value for Default GTM Settings
4. Add named GTM Settings
5. Use default or named GTM settings whenever you need in your templates.

Examples
===

1. Custom code

```
{% gtm "GTM-FNHEHD" %}
{% gtm_head "GTM-FNHEHD" %}
{% gtm_body "GTM-FNHEHD" %}
```

2. Default value

```
{% gtm %}
{% gtm_head %}
{% gtm_body %}
```

3. Named settigns

```
{% gtm name="name1" %}
{% gtm_head name="name1" %}
{% gtm_body name="name1" %}
```


Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_gtm-0.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

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