The easiest way to track product analytics with python.
Project description
waitlyst-python is a lightweight python library for tracking product analytics.
- Track every event on your app
- Understand your users and how to improve your product
Documentation
Please visit https://waitlyst.co/docs to view the complete documentation.
Getting Started
This module is distributed via pypi. You can install it using pip:
pip install waitlyst-python
Tracking product analytics
Using waitlyst-python:
from waitlyst.index import Waitlyst
waitlyst = Waitlyst('YOUR_SECRET_KEY')
# Before tracking any event, you need to identify the user
waitlyst.identify('USER_ID')
waitlyst.identify('USER_ID', {
'firstName': 'John',
'lastName': 'Doe',
'email': 'test@example.com'
})
# or you can use an anonymous id if you don't have a user id
# when you identify a user with an anonymous id, waitlyst will automatically
# reconcile the user in your dashboard
waitlyst.set_anonymous_id('ANONYMOUS_ID')
# Tracking pageviews
waitlyst.page('Home Page')
waitlyst.page('/homepage')
waitlyst.page('/homepage', {
'url': 'https://example.com/homepage/',
'title': 'Home page'
})
# Track a custom event
waitlyst.track('itemPurchased', {
"price": 3000,
"id": '1234',
"quantity": 1
})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
waitlyst-python-1.4.4.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file waitlyst-python-1.4.4.tar.gz.
File metadata
- Download URL: waitlyst-python-1.4.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aed3578d47aa3546707635631ead6f10d1442a9ecefc722698e15d89ebc50de3
|
|
| MD5 |
d8eb5977070baaaa0016bcc24146acb9
|
|
| BLAKE2b-256 |
e08a78b452a70c48fee809e3d054b9271a85a6322fce32666f003636e0b7901b
|
File details
Details for the file waitlyst_python-1.4.4-py3-none-any.whl.
File metadata
- Download URL: waitlyst_python-1.4.4-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a6fcb7379485f97db8a4839027a26f8bea0a3b946a82dd392536dc70f6b502f
|
|
| MD5 |
652afa4824df04460dc9f80dce55fcec
|
|
| BLAKE2b-256 |
67a3af64f02816f86a6b6aa61e3d1629831b58b3bc44946d4445f1f01d3e092d
|