Metadata-Version: 2.1
Name: django-tools-seo
Version: 1.0.6
Summary: Simple Django app to manage project SEO like Google Analytics
Home-page: https://github.com/semicolom/django-tools-seo
Author: Toni Colom
Author-email: toni@semicolom.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Description-Content-Type: text/markdown

# Django Tools SEO

Simple Django app to manage project SEO like Google Analytics

## Installation

1. Install with pip install `django-tools-seo`.

2. Add `djtools.seo` to your INSTALLED_APPS setting like this:
```
INSTALLED_APPS = [
    ...
    'djtools.seo',
]
```

3. If you want to add the Google Analytics Tracking Script you should
3.1 Add you Google Analytics Tracking ID to your settings file:
```
GOOGLE_ANALYTICS_TRACKING_ID = "UA-TESTID"
```
3.2 Add a context processor to your settings file:
```
TEMPLATES = [
    {
        ...
        'OPTIONS': {
            'context_processors': [
                ...
                'djtools.seo.context_processors.google_analytics',
            ],
        },
    },
]
```
3.3 Include the `google_analytics.html` into your base template:
```
{% include "djtools/seo/google_analytics.html" %}
```


