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.

Source Distribution

django-tools-seo-1.0.6.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

django_tools_seo-1.0.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file django-tools-seo-1.0.6.tar.gz.

File metadata

  • Download URL: django-tools-seo-1.0.6.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for django-tools-seo-1.0.6.tar.gz
Algorithm Hash digest
SHA256 fb0085dd40a6867cfc4708d13bca612ebdc637bbd232a9f70cba9d255df1474b
MD5 af3c9e60591e54f81846ed86c67bc70b
BLAKE2b-256 90f1d80a2d2e04937a47700e1348797e3b20bcf2f727066e50c999baaf1a08ab

See more details on using hashes here.

File details

Details for the file django_tools_seo-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: django_tools_seo-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for django_tools_seo-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5c5d0babffb0794d743625cb37c055a00795309d059dfbc2f0ba862fcd369d56
MD5 9561ebc37ad6098f3b0fd5af6f165af6
BLAKE2b-256 b975fd6105ad719633bbb99f256bcfe00a2f5fbff7f7cb770f8045a92ed79c20

See more details on using hashes here.

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