Skip to main content

A simple Django app for managing Google Analytics and Site Verification codes.

Project description

## Installation

  1. Add googletools to your INSTALLED_APPS

  2. Run ./manage.py migrate (or ./manage.py syncdb if you do not make use of South)

## Management

Go to the admin interface. When correctly installed, you will find the Googletools app. Here you can manage your Google Analytics and Site Verification codes.

## Templatetags

In order to use the googletools in your templates you’ll have to load the templatetags.

{% load googletools %}

### Google Analytics

Use {% analytics_code %} for inserting your Analytics code. This will return an empty string when no code is setup for the current site.

### Google Site Verification

Use {% site_verification_code %} for inserting your site verification code. This will return an empty string when no code is setup for the current site.

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

django-google-tools-0.1.3.tar.gz (4.9 kB view hashes)

Uploaded source

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