WP Manifestindependent plugin directory
manifest / analytics / trackwp

TrackWP

A super minimal API to send data from WordPress to Segment.com

by Nick Haskins · github.com/bearded-avenger/trackwp · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/bearded-avenger/trackwp/archive/refs/heads/master.zip

Declares an update source (https://github.com/<owner>/<repo>), so updates arrive through the plugin's own updater.

From the readme

This plugin builds an API interface to allow you to hook and and send events to segmentio. When you activate it within WordPress, you'll need to enter your Segment Write Key into the options under Tools--Track WP. By default nothing is tracked, that's up to you. This just provies and API that bridges the gab between WordPress and Segment. It currently supports three interface calls: trackWP::identifyuser( $userid = '', $traits = array() ) trackWP::trackevent( $event = '', $props = array(), $traits = array(), $userid = '' ) trackWP::trackpage( $pagename = '', $props = array(), $traits = array() ) Here are a few examples of how to track things and such.

Read the full README on GitHub →

Releases

TagPublished
0.6 Apr 24, 2015

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.