0

WooCommerce Plugin [Deprecated]

Official support from Segment for this plugin is deprecated. 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.

We are currently looking for community maintainers!  If you’re interested in maintaining or contributing to our Wordpress plugin, we'd gladly send some Segment swag your way in return for any merged PRs. Don't forget to give us a heads up via our contact form when you submit a PR.    


ghost logo

Installing Segment in a Woo Commerce store is extremely simple and doesn’t require any code! All you have to do is install the Segment WordPress plugin and add your Segment Write Key.

Step 1: Install the Plugin

The first thing you need to do is install the Segment plugin on your WordPress site. You can find it in the WordPress plugin directory by searching for “Segment Analytics”. Or download the.zip file from GitHub.

Step 2: Segment Account

Next, you need to create a Segment account. We recommend creating an organization as well so you can invite teammates.

Once your account is created, create a new source for your store. Once you see the Setup page, copy your Write Key and paste it into your analytics settings by going to Settings > Analytics in your WP admin.

Segment is now loading on your WooCommerce Site! We will collect your most important events automatically via our client-side javascript library analytics.js.  See a full list of automatic events below.

Step 3: Try Out Tools

The last step is to have some fun. Explore the Segment integrations page to find interesting new tools and sign up for a few free trials to see what works for your business. The WooCommerce plugin allows you to use any integrations that we support in the browser.

Automatic Events

The Segment WordPress plugin automatically collects some important Woo Commerce events. No code is needed for it to work!

Here’s a list of events we collect automatically:

  • Viewed Category Page
  • Viewed Product (with product details as properties)
  • Added Product (with product details as properties)
  • Removed Product (with product details as properties)
  • Viewed Cart Page
  • Completed Order (with order and product details as properties)

We’ll also record all the default events that all WordPress users get! Check out the Wordpress plugin article for more information.