{ "info": { "author": "Funkbit AS", "author_email": "post@funkbit.no", "bugtrack_url": null, "classifiers": [], "description": "# django-funkymetrics\n\ndjango-funkymetrics is a super simple Django application for easily tracking events and submit them asynchronously to KISSmetrics using celery tasks.\n\n## Features\n\n* Track app events easily\n* Submits analytics events asynchronously to KISSmetrics\n\n## Installation\n\nAdd the KISSmetrics JS snippet to your project template(s).\n\nInstall `django-funkymetrics`:\n\n pip install django-funkymetrics\n\nAlternatively, download the source code and manually add it to your `PYTHONPATH`.\n\nSet your KISSmetrics API key:\n\n KISS_API_KEY = ''\n\nTrack events and profit.\n\n## Prerequisites\n\nThe library assumes that Celery is installed and configured for the Django project. Tasks are automatically created for each `record_event`.\n\n## Usage\n\nSimply import `record_event` in your code where you want to track events, and call it as needed:\n\n from funkymetrics.events import record_event\n \n # Without properties\n record_event(request, 'downgraded')\n \n # With properties\n record_event(request, 'upgraded plan', {'to_plan': 'Standard'})\n\nThe request object is used to identify the user the event is associated with.\n\nWhen the request isn't available, a user instance can be passed instead. Note that we can't extract the anonymous KISSmetrics identifier from the user object, so it doesn't really make sense to pass anonymous users.\n\n## Identifying users\n\nAnonymous users are identified by their KISSmetrics anonymous ID (ie. the value of the `km_ai` cookie).\n\nAuthenticated users are identified by their username.\n\n## Future stuff\n\n* Overriding user identifiers\n* Queue events locally and submit in batches", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/funkbit/django-funkymetrics", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-funkymetrics", "package_url": "https://pypi.org/project/django-funkymetrics/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-funkymetrics/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/funkbit/django-funkymetrics" }, "release_url": "https://pypi.org/project/django-funkymetrics/0.1.9/", "requires_dist": null, "requires_python": null, "summary": "Super simple Django application for easily tracking events and submitting them asynchronously to KISSmetrics.", "version": "0.1.9" }, "last_serial": 789711, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8cd184a179df999e5d6dccce895ab62f", "sha256": "d5799bb928b2b20d7e10d6bec3e685e58acd4bf986ea7458dc95b9b710613b7a" }, "downloads": -1, "filename": "django-funkymetrics-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8cd184a179df999e5d6dccce895ab62f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3399, "upload_time": "2013-02-25T14:01:11", "url": "https://files.pythonhosted.org/packages/d1/dd/8103dbe748a2dc3e1de5a6072a29fba5d4bf1b06763bb5916503aa0d11b3/django-funkymetrics-0.1.0.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "ab74028beaecc1266a84681d514d750d", "sha256": "c47be4de9ee3232c731c50856b7d0b479e689f13f56c20f8f96e29dad810f9ca" }, "downloads": -1, "filename": "django-funkymetrics-0.1.5.tar.gz", "has_sig": false, "md5_digest": "ab74028beaecc1266a84681d514d750d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4057, "upload_time": "2013-02-26T11:54:49", "url": "https://files.pythonhosted.org/packages/d2/9e/38c074f7be072c72319073ac7816e4ba2c2603addb74d6d30780e840b9aa/django-funkymetrics-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "240f854960bee495f134a986f3d045a8", "sha256": "10d25bc7381b240304fc52d698e29accc534587e4395a672797263ababde13a2" }, "downloads": -1, "filename": "django-funkymetrics-0.1.6.tar.gz", "has_sig": false, "md5_digest": "240f854960bee495f134a986f3d045a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4055, "upload_time": "2013-02-26T11:56:28", "url": "https://files.pythonhosted.org/packages/96/aa/0d6899aad4dbf1af8be668a7122a21ba16fe76f4850062831e55f687d0c2/django-funkymetrics-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "c44399da0a8aa9b5c85e338be2eea5fc", "sha256": "cafab3179f046f00ec68be630de0fb03ff5a79e83b43f2030ba6df43f48570a8" }, "downloads": -1, "filename": "django-funkymetrics-0.1.7.tar.gz", "has_sig": false, "md5_digest": "c44399da0a8aa9b5c85e338be2eea5fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4113, "upload_time": "2013-02-27T10:24:23", "url": "https://files.pythonhosted.org/packages/ba/cc/b0aa297d967d45424cf844d4a90e8266ee1b70abba1b840eb381eeaf9a31/django-funkymetrics-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "fdb18da22193eaa2d6bb6c133700bead", "sha256": "0f19ee0a18d5683b7d6a7210546ee60f2439d4fc571575d48cda08af96fa681b" }, "downloads": -1, "filename": "django-funkymetrics-0.1.8.tar.gz", "has_sig": false, "md5_digest": "fdb18da22193eaa2d6bb6c133700bead", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4054, "upload_time": "2013-02-28T11:01:34", "url": "https://files.pythonhosted.org/packages/d3/1c/a9bbd8ce4dd5b228a6cb978a4bc7d0620927a25aa4d93b68553988be2bfb/django-funkymetrics-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "9044429597c2db1bd749e31e75b51290", "sha256": "349559ee336245ab59da3f5b475d4b45e65a6050d13fcd63bc654be9de3e35fe" }, "downloads": -1, "filename": "django-funkymetrics-0.1.9.tar.gz", "has_sig": false, "md5_digest": "9044429597c2db1bd749e31e75b51290", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4135, "upload_time": "2013-02-28T12:16:43", "url": "https://files.pythonhosted.org/packages/b5/64/494bf1c98f6f287a9b70aeb54c1720918c601592594c54fe95753dfa70bd/django-funkymetrics-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9044429597c2db1bd749e31e75b51290", "sha256": "349559ee336245ab59da3f5b475d4b45e65a6050d13fcd63bc654be9de3e35fe" }, "downloads": -1, "filename": "django-funkymetrics-0.1.9.tar.gz", "has_sig": false, "md5_digest": "9044429597c2db1bd749e31e75b51290", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4135, "upload_time": "2013-02-28T12:16:43", "url": "https://files.pythonhosted.org/packages/b5/64/494bf1c98f6f287a9b70aeb54c1720918c601592594c54fe95753dfa70bd/django-funkymetrics-0.1.9.tar.gz" } ] }