WooCommerce Connector allows you to track WordPress and WooCommerce activity, and send tracked data to

Installation ↑ Back to top

  1. Ensure you have latest version of WooCommerce plugin installed
  2. Unzip and upload the folder ‘woocommerce-segmentio-connector’ to your /wp-content/plugins/ directory
  3. Activate ‘WooCommerce Connector’ through the ‘Plugins’ menu in WordPress

How it works ↑ Back to top

Automatically track:

  • e-commerce events – view product, add to cart, checkout, payment
  • customer activity – registration, logging in, viewing my account
  • site events – view page, comment, view blog post

No coding necessary. No changes to JavaScript / CSS or theme files. No touching PHP or HTML.

WooCommerce Connector integrates with ( – an analytics aggregation and relay service. lets you send your analytics data to any service you want, without you having to integrate with each one individually. lets you send your analytics data to:
AdRoll, BitDeli, BugHeard, bugsnag, Chartbeat, ClickTale, Clicky, Comscore, Countly, Crazyegg, Crtittercism,, Errorception, Flurry, Foxmetricks, Guages, Google Analytics, GoSquared, Heap, Help Scout, HitTail, HubSpot, Improvely, Intercom,, KISSmetrics, Klaviyo, Librato, LiveChat, Localytics, Lytics, Marketo, Mixpanel, Olark, Ominture, Optimizely, Outbound, Pardot, Perfect Audience, Pingdom, Preact, Qualaroo, Quantcast, Salesforce, Sentry, SnapEngage, Totango, USERcycle, Userfox, UserVoice, Vero, Visual Website Optimizer, Woopra, Webhooks, without having to integrate with each and every one, saving you a ton of time. stores your analytics data for later use. So if you want to switch between these services, you can do that by clicking a button. No changes required on your website. No manual imports. No loss of data!!

Which events from WooCommerce are tracked? ↑ Back to top

Following events will be tracked by default:

  • Registration form seen
  • New user registered
  • Logged in
  • Logged out
  • Viewed account
  • Password changed
  • Address updated
  • Track post
  • Track page
  • Track archive
  • Track searche
  • Viewed product
  • Added to cart
  • Removed from cart
  • Viewed cart
  • Coupon applied
  • Checkout started
  • Calculated shipping
  • Payment started
  • Completed purchase
  • Viewed order
  • Tracked order
  • File downloaded
  • Re-ordered
  • Order cancelled
  • Commented
  • Reviewed product

If you are a developer, you can easily track any additional events too. See developer guide

Usage ↑ Back to top

How to setup? How to start tracking activities of WooCommerce store?

  1. You need to enter & save your’s API key in WooCommerce Integration settings, otherwise no event will be sent to
  2. Go to ‘WooCommerce -> Settings’ & look for ‘ Connector’ link under ‘Integration’ tab.
  3. Put your API key in field provided on that page & click ‘Save changes’. Connector setting Connector setting
  4. That’s it! Now activities on your site will be tracked and sent to


How to track events from third party plugin?

For tracking any event you need four details:
Event name (required)
Event data (optional)
User ID (optional)
User’s data (optional)

Once you have these, you can use following code in any php file of that third party plugin.

$event_name = 'sample event';
$event_data = array( 'title' => 'product title' );
$user_id = 5;
$user_data = array( 'dob' => '01-01-1990' );

do_action( 'woocommerce_segmentio_connector_log_activity', $event_name, $event_data, $user_id, $user_data );

Frequently Asked Questions ↑ Back to top

1. Events are not being tracked. I can’t see any data in
Please check:

  • whether you’ve entered & saved your API key.
  • you are not looking for events of WordPress admin (backend) in Segment as Segment will only track frontend events on your site
  • you have footer (wp_footer) present in your template

2. Can I track additional events (from third party extensions)?
Yes, it is very easy to track those additional events which are not tracked by this extension. You just need to call a function with some data. Please refer developer guide for details.

Questions & Support ↑ Back to top

Have a question before you buy? Please fill out this pre-sales form.

Already purchased and need some assistance? Get in touch the developer via the Help Desk.

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top