segment-boneyard / analytics-wordpress

[DEPRECATED] The hassle-free way to integrate analytics into any WordPress site.
https://segment.com/docs/platforms/wordpress/
GNU General Public License v2.0
41 stars 34 forks source link

Analytics for WordPress — by Segment

NOTE: Official support from Segment for this plugin is deprecated. We are currently looking for community maintainers. The current version of this plugin should be free of bugs but any existing and future development will be paused for the time being. We recommend exploring and using third party alternatives. If you have any questions or have interest in stewarding the Segment Wordpress plugin, please send us an email at friends@segment.com!

Contributors: segmentio, JustinSainton Tags: analytics, web analytics, segment.io, google analytics, kissmetrics, mixpanel, chartbeat, hubspot, marketo, quantcast, tag manager Requires at least: 3.6 Tested up to: 4.0 Stable tag: 1.0.14 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html

Analytics for WordPress lets you integrate more than 100 analytics and marketing tools with the flick of a switch.

Description

Analytics for WordPress is the easiest way to integrate analytics and marketing tools into your WordPress site.

Instead of installing each tool individually, just install Segment's WordPress plugin and use Segment to integrate third-party analytics and marketing tools. Once you're setup, you can swap and add new analytics services with the flick of a switch!

Here's how it works:

You can use Segment to try out more than a hundred vendors in a number of categories. Here are just a few of our most popular integrations:

Get started with Analytics for WordPress today!

Installation

  1. Go to the Plugins > Add New page in your WordPress admin.
  2. Search for "Segment" and install Analytics for WordPress — by Segment.io.
  3. Click Activate Plugin.
  4. Go to Settings > Analytics and enter your Segment API key. (If you haven't signed up for Segment yet, now's the time!)

That's it! You can now turn on any analytics service with the flick of a switch in the Segment control panel.

Frequently Asked Questions

Lots of new goodies for developers in the 1.0.0 release!

So very much. The two biggest enhancements for developers are the introduction of the segment_get_current_user_identify and segment_get_current_page_track filters. As a developer, you can hook into these filters and add any sort of conditional logic you want to track any event on a page, or customize the user identification system to hook into your own user system as needed. Super extensible!

Beyond that, we've completely refactored the plugin to use all of the appropriate WordPress APIs (Like the Settings API) and have added a easily extendable abstract class for eCommerce platforms. On top of all of that, all of our filters, classes, functions and methods are fully documented inline.

Need to add custom settings? By hooking into our segment_default_settings and segment_settings_core_validation filters, you can quickly and easily add your own settings to the Segment plugin.

Screenshots

Changelog

= 1.0.14 =

= 1.0.6 =

= 1.0.5 =

= 1.0.4 =

= 1.0.3 =

= 1.0.2 =

= 1.0.1 =

= 1.0.0 =

= 0.5.6 =

= 0.5.5 =

= 0.5.3 =

= 0.5.2 =

= 0.5.1 =

= 0.5.0 =

= 0.4.3 =

= 0.4.0 =

= 0.3.3 =

= 0.3.2 =

= 0.3.0 =

= 0.2.0 =

= 0.1.0 =