Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

customerio/cdp-analytics-python

Open more actions menu
 
 

Repository files navigation

Customer.io Data Pipelines analytics client for Python.

Installation

Using pip:

pip3 install customerio-cdp-analytics

or you can install directly from this repo:

pip3 install git+http://github.com/customerio/cdp-analytics-python

Usage

from customerio import analytics

analytics.write_key = 'YOUR_WRITE_KEY'

analytics.track(user_id=4, event='order_complete')

Other Regions

If you're using a different data center such as our EU region, you can specify an alternate endpoint:

from customerio import analytics

analytics.write_key = 'YOUR_WRITE_KEY'
analytics.host = 'https://cdp-eu.customer.io'

analytics.track(user_id=4, event='order_complete')

Documentation

The links below contain more detailed documentation on how to use this library:

About

Customer.io Data Pipelines analytics client for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Makefile 0.5%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.