Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Django Google Analytics
=======================

Django Google Analytics provides a template tag for inserting the tracking code to provide [Google Analytics](http://www.google.com/analytics/) data.

Installation
------------

Run `pip install django-google-analytics`

Add `google_analytics` to your `INSTALLED_APPS` setting:

```python
INSTALLED_APPS = (
...
'google_analytics',
)
```

Template Tags
-------------

###google_analytics
Inserts the Google Analytics' tracking code in your template. Takes the tracking code as an argument.

```html
{% load analytics %}
<html>
<head>
<title>My Site</title>
</head>
<body>
<h1>My Site</h1>
<p>My site's content.</p>
{% google_analytics 'UA-XXXXXXX-XX' %}
</body>
</html>
```

Download files

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

Source Distribution

django-google-urchin-0.1a1.zip (7.0 kB view details)

Uploaded Source

File details

Details for the file django-google-urchin-0.1a1.zip.

File metadata

File hashes

Hashes for django-google-urchin-0.1a1.zip
Algorithm Hash digest
SHA256 a0397216dfb9331f6450106c23f95e09a1116f88a3daae7b20599de21147d57d
MD5 bd2a9327333fc30e16c955c3c187e527
BLAKE2b-256 60276cd4aebd103ddb7e6d912d7b79b7e5871c6eedf5f2f8858de3aace44e61d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1a1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page