{ "info": { "author": "Monwara LLC", "author_email": "branko@monwara.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License" ], "description": "===========\ndjango-heap\n===========\n\nHeap is a unique new service that automatically captures all user actions on\nyour site including UI interaction.\n\nThis library helps developers integrate `Heap analytics`_ into their Django\nprojects.\n\nInstallation\n============\n\nInstall using pip::\n\n pip install django-heap\n\nBasic usage\n===========\n\nAdd ``heap`` to installed apps::\n\n INSTALLED_APPS = (\n ...\n 'heap',\n )\n\nThere is no need to run ``manage.py syncdb`` since django-heap has no database\ntables. Add the ``heap`` context processor::\n\n TEMPLATE_CONTEXT_PROCESSORS = (\n ...\n 'heap.context_processors.heap',\n )\n\nFinally, configure the app ID in ``settings.py``::\n\n HEAP_APP_ID = '12345...'\n\nTo enable Heap tracking, you must include the script tag snippet in your\ntemplate like so::\n\n \n ....\n {% include 'heap/script.html' %}\n \n\nNow you are ready to start tracking.\n\nTracking superusers\n===================\n\nBy default, django-heap tracks your site's superusers as well. You can disable\nthis by setting the ``HEAP_TRACK_SUPERUSER`` flag to ``False``. This prevents\nthe script tag template from rendering when user has ``is_superuser`` property\nset to ``True``.\n\nAutomatic identification of users\n=================================\n\ndjango-heap can automatically call ``heap.identify`` with data from the\nauthenticated user. To do that, you need to set the ``HEAP_AUTO_ID_USER``\nsetting to ``True`` (disabled by default). Only authenticated users will be\nidentify. The User object's ``get_full_name`` method will be used to derive the\n``name`` parameter for the ``identify`` call, and if User object has an\n``email`` field, the ``email`` parameter will also be passed. There is\ncurrently no handling for the cases where ``get_full_name`` returns the user's\n``email`` address.\n\n**Note** This implementation is currently experimental, so please do it\nmanually in the ``BODY`` tag as suggested by Heap documentation if you find it \ndoesn't work for you.\n\nCustomizing django-heap\n=======================\n\nYou can customize django-heap by simply overriding the default template. There\nis currently no direct support for custom tracking calls, but it is planned for\nthe next release.\n\nReporting bugs\n==============\n\nPlease report bugs to our BitBucket `issue tracker`_.\n\n.. _Heap Analytics: https://heapanalytics.com/\n.. _issue tracker: https://bitbucket.org/monwara/django-heap/issues", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/monwara/django-heap/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/monwara/django-heap", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-heap", "package_url": "https://pypi.org/project/django-heap/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-heap/", "project_urls": { "Download": "https://bitbucket.org/monwara/django-heap/downloads", "Homepage": "https://bitbucket.org/monwara/django-heap" }, "release_url": "https://pypi.org/project/django-heap/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Simple Heap analytics integration", "version": "0.0.2" }, "last_serial": 601669, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1ab23c31193818e989d999686cae7e78", "sha256": "53395bccd4127ad5a3d6523e880a4cfd91cbc1f0a729b358a816529d4713c200" }, "downloads": -1, "filename": "django-heap-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1ab23c31193818e989d999686cae7e78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3404, "upload_time": "2013-04-02T13:45:28", "url": "https://files.pythonhosted.org/packages/dc/71/c93faaf3a3350f624447ca244671d2713d068f98f1fa99739c51ab7a7add/django-heap-0.0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "243a48be89e81f455e0a6065add311a9", "sha256": "938bc21d509b3b8dd7a7daff79f19648800717a24bc28ae971dac26b3bbf2f0b" }, "downloads": -1, "filename": "django-heap-0.0.1.zip", "has_sig": false, "md5_digest": "243a48be89e81f455e0a6065add311a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5397, "upload_time": "2013-04-02T13:45:39", "url": "https://files.pythonhosted.org/packages/2b/da/50a5fa94cad10f9dd0d2c38f800ad49c007c08b42be85293f7af6dd64d2f/django-heap-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "013017dd2b104e4b2e3340c112eea86c", "sha256": "2c32832d9e0571569b9b3de69e00bc1af8c08ada5586e0c7c91e7e940d5aa2d6" }, "downloads": -1, "filename": "django-heap-0.0.2.tar.gz", "has_sig": false, "md5_digest": "013017dd2b104e4b2e3340c112eea86c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3859, "upload_time": "2013-04-02T15:38:01", "url": "https://files.pythonhosted.org/packages/15/f8/6b6f8dd6f7ec2a10badfae0da2b825fcf6f1c32504b6ec3d7feabc696cbf/django-heap-0.0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "bc2be349b20c8de00890a530e2f2ff30", "sha256": "e64b079b51f7ada314b830e512887fcba4b49f3e2d090a06021424707d6cf760" }, "downloads": -1, "filename": "django-heap-0.0.2.zip", "has_sig": false, "md5_digest": "bc2be349b20c8de00890a530e2f2ff30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6217, "upload_time": "2013-04-02T15:38:06", "url": "https://files.pythonhosted.org/packages/a1/b8/fa54f5c66905ca4a2ad7f276457a10adf3280b6c15d8c4bf1a3d025f8283/django-heap-0.0.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "013017dd2b104e4b2e3340c112eea86c", "sha256": "2c32832d9e0571569b9b3de69e00bc1af8c08ada5586e0c7c91e7e940d5aa2d6" }, "downloads": -1, "filename": "django-heap-0.0.2.tar.gz", "has_sig": false, "md5_digest": "013017dd2b104e4b2e3340c112eea86c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3859, "upload_time": "2013-04-02T15:38:01", "url": "https://files.pythonhosted.org/packages/15/f8/6b6f8dd6f7ec2a10badfae0da2b825fcf6f1c32504b6ec3d7feabc696cbf/django-heap-0.0.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "bc2be349b20c8de00890a530e2f2ff30", "sha256": "e64b079b51f7ada314b830e512887fcba4b49f3e2d090a06021424707d6cf760" }, "downloads": -1, "filename": "django-heap-0.0.2.zip", "has_sig": false, "md5_digest": "bc2be349b20c8de00890a530e2f2ff30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6217, "upload_time": "2013-04-02T15:38:06", "url": "https://files.pythonhosted.org/packages/a1/b8/fa54f5c66905ca4a2ad7f276457a10adf3280b6c15d8c4bf1a3d025f8283/django-heap-0.0.2.zip" } ] }