{ "info": { "author": "Benjamin Wilbur", "author_email": "wilburb@wilburweb.com", "bugtrack_url": null, "classifiers": [], "description": "Django Google Analytics\n=======================\n\nDjango template tag app for inserting google analytic code on a per\nsite basis.\n\nCopyright (C) 2011 Benjamin Wilbur \n\nLicense\n-------\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see .\n\n\n* This codes underlying structure is largely based off Django's\n documentation at the following url. \n http://docs.djangoproject.com/en/dev/howto/custom-template-tags/\n\nInstallation\n------------\n1. `pip install django_google_analytics`\n1. Ensure you have sites configured. https://docs.djangoproject.com/en/1.8/ref/contrib/sites/#enabling-the-sites-framework\n1. add `analytics` to your `INSTALLED_APPS`\n1. `python manage.py migrate`\n1. In the django admin interface visit the \"Sites\"\n page and add your google web property id for the site you\n wish to track.\n1. Add the following to your desired templates.\n `{% load analytics %}`\n1. at the very bottom of your head section add this\n `{% analytics %}`\n1. if you want to avoid counting logged in user visits\n surround the above line with the following\n `{% if not user.is_staff %}`\n `{% endif %}`\n1. Go to your google analytics control panel and refresh\n frantically to see if it is working", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "wilburweb.com", "keywords": "django google analytics site", "license": "GNU General Public License", "maintainer": null, "maintainer_email": null, "name": "django_google_analytics", "package_url": "https://pypi.org/project/django_google_analytics/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django_google_analytics/", "project_urls": { "Download": "UNKNOWN", "Homepage": "wilburweb.com" }, "release_url": "https://pypi.org/project/django_google_analytics/2/", "requires_dist": null, "requires_python": null, "summary": "Google analytics web property per site in django admin", "version": "2" }, "last_serial": 2087812, "releases": { "1": [ { "comment_text": "", "digests": { "md5": "dc00618369b86368218ca8be4235072a", "sha256": "520c56072f39f984a1823bf4dc634d1d4543432355a84edf02bb29925dded43e" }, "downloads": -1, "filename": "django_google_analytics-1.tar.gz", "has_sig": false, "md5_digest": "dc00618369b86368218ca8be4235072a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3494, "upload_time": "2011-06-26T23:35:35", "url": "https://files.pythonhosted.org/packages/84/f7/66d993886b142293a3ef9eaa3034df0ada009b54b3c0574f7ca16d22d96a/django_google_analytics-1.tar.gz" } ], "2": [ { "comment_text": "", "digests": { "md5": "4f0d02a7375f0b9f815e124f46426929", "sha256": "0996f519fc04bb2efaa218ce7738c751a676f40f7ddba235eefacfbdf0f5bb74" }, "downloads": -1, "filename": "django_google_analytics-2.tar.gz", "has_sig": false, "md5_digest": "4f0d02a7375f0b9f815e124f46426929", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3349, "upload_time": "2016-04-28T00:49:03", "url": "https://files.pythonhosted.org/packages/1f/59/91021e585ef530ef80d34a4e4d05df6e993f5f060ee6c253cbc6041be8af/django_google_analytics-2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f0d02a7375f0b9f815e124f46426929", "sha256": "0996f519fc04bb2efaa218ce7738c751a676f40f7ddba235eefacfbdf0f5bb74" }, "downloads": -1, "filename": "django_google_analytics-2.tar.gz", "has_sig": false, "md5_digest": "4f0d02a7375f0b9f815e124f46426929", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3349, "upload_time": "2016-04-28T00:49:03", "url": "https://files.pythonhosted.org/packages/1f/59/91021e585ef530ef80d34a4e4d05df6e993f5f060ee6c253cbc6041be8af/django_google_analytics-2.tar.gz" } ] }