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.6.0.tar.gz
(5.7 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.6.0.tar.gz.
File metadata
- Download URL: waitlyst-python-1.6.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b13d75b8bfbc944342b12f0be5a616ed42001e96e574cc34a11241d4061ba366
|
|
| MD5 |
03603f2d5b6cc5a7ae0e935f5d5f9ecb
|
|
| BLAKE2b-256 |
1b78b531a1bc8f1000a3cfe4467afd3954217dedd33d8aababfbbb1e13950294
|
File details
Details for the file waitlyst_python-1.6.0-py3-none-any.whl.
File metadata
- Download URL: waitlyst_python-1.6.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5873f995f0b45de89afe082da4c9b27a37f7062b068d3e3bef3a9f32bee01065
|
|
| MD5 |
7d135a600386b1b7aceb57de3d3a1660
|
|
| BLAKE2b-256 |
038a42d7ce9041cb3d498141c24e55c031d261e0bab8b833a96d7994db48d07e
|