New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

django-tools-seo

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-tools-seo

Simple Django app to manage project SEO like Google Analytics

  • 1.0.6
  • PyPI
  • Socket score

Maintainers
1

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" %}

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc