This package provides an easy way to track all the link clicks you want to track whether they exists in site or in your email campaigns
- Add "clickanalysis" to INSTALLED_APPS:
- INSTALLED_APPS = {
- ... 'clickanalysis', ...
}
- Add clickanalysis.middleware.ClickAnalysisMiddleware to the MIDDLEWARE_CLASSES tuple in your settings file.
- Run python manage.py syncdb to create required tables.
- After all this you are set to track all the clicks. You may be seeing two tables created in admin site "Campaign" and "ClickTracking".
- You can start by creating a campaign in Campaign table which will generate a unique ID for you, just copy that and keep it in clipboard to paste in the links.
- Now whatever links you want to track just append this param to those links /link/?cid=campaign_unique_id
You will start getting tracking data soon when users start clicking through the links!!!