Skip to main content
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)
```

Metadata

Release files for ga-segment-pusher 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ga-segment-pusher 0.0.2
File Size Uploaded Provenance
ga_segment_pusher-0.0.2.tar.gz 2.9 kB Without provenance Details

Release files / ga_segment_pusher-0.0.2.tar.gz

Download URL ga_segment_pusher-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d8cee40ca79ccf2da62acf1418939643fee9a472d532d5624bdb0b694de4a474
BLAKE2b-256 checksum
How to use checksums
7c1a057c57827a06fcb8c322e728143bce1125d56843df654cc23d7b5754ef8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ga-segment-pusher 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page