Skip to main content

Simple Django app to manage project SEO like Google Analytics

Project description

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',
]
  1. 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" %}

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_tools_seo-1.0.6-py3-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel py3
django-tools-seo-1.0.6.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page