Skip to main content

Track external links with a signal on click.

Project description

Captures clicks on external links, and invokes a callback (signal).

Useful for tracking outbound links.

pip install django-external-urls


Add to


Add to

urlpatterns = patterns('',
    url(r'', include('external_urls.urls')),


  1. The templates can be used as follows:

    {% load external_urls %}
    {% external_url %}
    {% external_url "" %}
  2. Sends a Signal, external_link:

    from external_links.signals import external_click
    from django.dispatch import receiver
    def my_callback(sender, url, ip):
        print("tracked click to {} from {}".format(url, ip))

Project details

Download files

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

Files for django-external-urls, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size django-external-urls-0.3.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page