Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Analytics for WordPress — by Segment

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

What analytics services does it support?

Tons! Google Analytics, Mixpanel, KISSmetrics, Chartbeat, Clicky, Intercom, CrazyEgg, Customer.io, Gauges, GoSquared, HubSpot, Marketo, Olark, Quantcast, Vero, and more... You can check out the full list.

What user information does it record automatically?

We automatically identify users that are logged in to your WordPress site, and record their name, email, username, and website, so you don't need to write any special code to handle that yourself. It also identifies commenters if it can.

Which actions does it record automatically?

We automatically record the different types of WordPress pages your users can visit. Things like "View About Page", "View Post", "View Author Page", etc. So you don't have to worry about recording them yourself. Just by enabling the plugin you'll already be recording all of those actions.

Can I turn off the automatic event tracking?

Yup! You can also turn off specific events, in case you only want a few.

Can I ignore logged-in users?

Yup! You can even just ignore Administrators or Editors too.

I'm a developer, what should I know?

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.

Requires: 3.6 or higher
Compatible up to: 4.0.14
Last Updated: 11 months ago
Active Installs: 5,000+


5 out of 5 stars


0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 0,1,0 100,1,1 100,1,1