{ "info": { "author": "Praekelt.org", "author_email": "dev@praekelt.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "*forked to patch handling of international urls*\n\nDjango Google Analytics\n=======================\n**Django Google Analytics brings the power of server side/non-js Google Analytics to your Django projects**\n\n.. contents:: Contents\n :depth: 3\n\nInstallation\n------------\n\n#. Install ``django-google-analytics-app`` from PyPI or add to your Python path some other way.\n#. Add ``google_analytics`` to you ``INSTALLED_APPS`` setting.\n#. Add URL include to your project's ``urls.py`` file::\n\n (r'^djga/', include('google_analytics.urls')),\n\n#. Specify a Google Analytics `tracking code `_, i.e.::\n\n GOOGLE_ANALYTICS = {\n 'google_analytics_id': 'xxx',\n }\n\n where ``xxx`` is your tracking code.\n\n#. If you intend tracking through middleware and Celery remember to `install Celery and run its worker process `_.\n\nUsage\n-----\n\nThere are two ways to add tracking to your pages.\n\n1. HTML tag\n***********\n\nUsing ```` and sticking it in your ``base.html``::\n\n {% load google_analytics_tags %}\n
\n \n
\n\n2. Middleware + Celery\n**********************\n\nUsing Django's middleware, you can process every request and use Celery to make the request to Google Analytics::\n\n MIDDLEWARE_CLASSES = (\n 'google_analytics.middleware.GoogleAnalyticsMiddleware',\n )\n\nYou have to add ``google_analytics`` to your ``CELERY_IMPORTS``::\n\n CELERY_IMPORTS = ('google_analytics.tasks')\n\nYou can also specify paths that will be excluded when tracking::\n\n GOOGLE_ANALYTICS_IGNORE_PATH = ['/health/', ]\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LaurenBenoit/django-google-analytics-international.git", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-ga-intl-app", "package_url": "https://pypi.org/project/django-ga-intl-app/", "platform": "", "project_url": "https://pypi.org/project/django-ga-intl-app/", "project_urls": { "Homepage": "https://github.com/LaurenBenoit/django-google-analytics-international.git" }, "release_url": "https://pypi.org/project/django-ga-intl-app/4.3.1/", "requires_dist": [ "django (<2.0)", "django-celery", "celery (<4.0)", "requests", "beautifulsoup4", "six" ], "requires_python": "", "summary": "Django Google Analytics app allowing for server side/non-js (fork with international url support and User id tracking)tracking.", "version": "4.3.1" }, "last_serial": 4512036, "releases": { "4.3.0": [ { "comment_text": "", "digests": { "md5": "2f25d0b8b970b71340a57c4f9659271a", "sha256": "d955c189f6b3604cce391bc75ed097366e8bc21a472ed6e0d2010e8b2e407011" }, "downloads": -1, "filename": "django-ga-intl-app-4.3.0.tar.gz", "has_sig": false, "md5_digest": "2f25d0b8b970b71340a57c4f9659271a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10362, "upload_time": "2018-06-27T15:33:27", "url": "https://files.pythonhosted.org/packages/41/9a/e2b83df443faede7a2d6e592a2eecf2dc7218993b3f6a592a6d16d959315/django-ga-intl-app-4.3.0.tar.gz" } ], "4.3.1": [ { "comment_text": "", "digests": { "md5": "1e30340f139e0c5abe590df028114d0f", "sha256": "843ececc3bf98182eb4b0d5cdb753946a3959cb69befebafb1fcbab0f43c573d" }, "downloads": -1, "filename": "django_ga_intl_app-4.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e30340f139e0c5abe590df028114d0f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11761, "upload_time": "2018-11-21T11:37:04", "url": "https://files.pythonhosted.org/packages/2f/b3/bbee1002f742028954f4319467fe14cd43bca2362e7914a8984a6519bcc2/django_ga_intl_app-4.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "caee0b76ce9de036d34a5851c1fe66cd", "sha256": "c99523ef014cf8c4af699df74057027de3e96313d446636741507e11ae9c6b38" }, "downloads": -1, "filename": "django-ga-intl-app-4.3.1.tar.gz", "has_sig": false, "md5_digest": "caee0b76ce9de036d34a5851c1fe66cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10448, "upload_time": "2018-11-21T11:37:05", "url": "https://files.pythonhosted.org/packages/e6/f2/83439bd16dbc115ee90f9647f69f124e35203a316e3260263aff6e4550cc/django-ga-intl-app-4.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e30340f139e0c5abe590df028114d0f", "sha256": "843ececc3bf98182eb4b0d5cdb753946a3959cb69befebafb1fcbab0f43c573d" }, "downloads": -1, "filename": "django_ga_intl_app-4.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e30340f139e0c5abe590df028114d0f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11761, "upload_time": "2018-11-21T11:37:04", "url": "https://files.pythonhosted.org/packages/2f/b3/bbee1002f742028954f4319467fe14cd43bca2362e7914a8984a6519bcc2/django_ga_intl_app-4.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "caee0b76ce9de036d34a5851c1fe66cd", "sha256": "c99523ef014cf8c4af699df74057027de3e96313d446636741507e11ae9c6b38" }, "downloads": -1, "filename": "django-ga-intl-app-4.3.1.tar.gz", "has_sig": false, "md5_digest": "caee0b76ce9de036d34a5851c1fe66cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10448, "upload_time": "2018-11-21T11:37:05", "url": "https://files.pythonhosted.org/packages/e6/f2/83439bd16dbc115ee90f9647f69f124e35203a316e3260263aff6e4550cc/django-ga-intl-app-4.3.1.tar.gz" } ] }