Code Libraries for Google Analytics


January 10, 2020

The Google Analytics measurement protocol revolutionized the capabilities and uses cases for the platform. Adswerve developed many of the initial libraries for using the  Google Analytics measurement protocol to help our customers track offline interactions, email integrations, and use connected devices including Roku, Apple TV, Xbox and Playstation. We are excited to provide these libraries to you!

Get the code:

Environment

 

Repository

 

Description

 

Python github.com/adswerve/universal-analytics-python Library for sending Google Analytics: Universal Analytics measurement protocol hits from Python applications.
C github.com/adswerve/universal-analytics-c Library for sending Google Analytics: Universal Analytics measurement protocol hits from C applications and embedded platforms.
PHP (Universal) github.com/adswerve/universal-analytics-php Library for sending Google Analytics: Universal Analytics measurement protocol hits from PHP applications.
PHP (Legacy) github.com/adswerve/google-analytics-php-legacy Library for sending classic GA (NOT universal analytics) hits from PHP applications.
R / GA Heatmap github.com/adswerve/R-GA-Heatmap R script that connects to Google Analytics and constructs a daily / hourly heatmap
Apple TV OS github.com/adswerve/GA-Tracker-for-Apple-tvOS Universal Analytics Library for Apple TV.

Full disclosure: These libraries are offered under varying Open Source licenses, and come with no implied warranty.

Need Help?
Adswerve offers consulting and integration services if your business needs assistance in strategy, implementation, or auditing existing work. We welcome contributions back to these libraries, and would love to hear about the innovative ways you apply them!  If you need help, contact us!