Google Analytics Segment Pusher
===============================
version number: 0.0.1
author: Rok Mihevc
Overview
--------
A python package to push user segmentation mapped to google analytics ID to google analytics.
Installation / Usage
--------------------
To install use pip:
$ pip install ga_segment_pusher
Or clone the repo:
$ git clone https://github.com/rok/ga_segment_pusher.git
$ python setup.py install
Contributing
------------
TBD
Example
-------
```python
import ga_segment_pusher
key_file_location = 'credentials.json'
csv_file_location = 'segments.csv'
upload_params = {
'account_id': 'XXXXXXXX',
'web_property_id': 'UA-XXXXXXXX-1',
'custom_data_source_id': 'XXXXXXXXXXXXXXXXXXXXXX'
}
analytics = ga_segment_pusher.get_service(key_file_location)
ga_segment_pusher.upload_csv(csv_file_location, analytics, **upload_params)
```
===============================
version number: 0.0.1
author: Rok Mihevc
Overview
--------
A python package to push user segmentation mapped to google analytics ID to google analytics.
Installation / Usage
--------------------
To install use pip:
$ pip install ga_segment_pusher
Or clone the repo:
$ git clone https://github.com/rok/ga_segment_pusher.git
$ python setup.py install
Contributing
------------
TBD
Example
-------
```python
import ga_segment_pusher
key_file_location = 'credentials.json'
csv_file_location = 'segments.csv'
upload_params = {
'account_id': 'XXXXXXXX',
'web_property_id': 'UA-XXXXXXXX-1',
'custom_data_source_id': 'XXXXXXXXXXXXXXXXXXXXXX'
}
analytics = ga_segment_pusher.get_service(key_file_location)
ga_segment_pusher.upload_csv(csv_file_location, analytics, **upload_params)
```
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ga_segment_pusher-0.0.2.tar.gz.
File metadata
- Download URL: ga_segment_pusher-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8cee40ca79ccf2da62acf1418939643fee9a472d532d5624bdb0b694de4a474
|
|
| MD5 |
674469ec767bbd98a4d943c0cb366fa4
|
|
| BLAKE2b-256 |
7c1a057c57827a06fcb8c322e728143bce1125d56843df654cc23d7b5754ef8e
|