Offer sources integrated via API

WooCommerce Plugin Setup

What’s WooCom?

WooCommerce (WooCom) is a flexible, open-source commerce solution built on WordPress. The company started in 2008 as WooThemes and in 2017 decided to focus exclusively on eCommerce. Today WooCommerce empowers small and medium businesses to build exactly the store they want and sell online. Its legacy as an all-remote company endures, growing from three founders in Norway, the United Kingdom, and South Africa to more than 150 team members in 32 countries.

Important!

Before following this guide make sure that the subtype of your WooCommerce plugin (One Click Upsell, WooFunnels, Upsell Order Bump) allows you to track the needed events (conversion types). Use this table:

WooCommerce plugin subtype One Click Upsell WooFunnels Upsell Order Bump
Conversion types, that will be counted when using this subtype
  • ViewContent
  • AddToCart
  • InitiateCheckout
  • Purchase
  • Upsell
  • Subscription
  • Downsell
  • ViewContent
  • AddToCart
  • InitiateCheckout
  • Purchase
  • Upsell
  • Subscription
  • Downsell
  • OrderBump
  • OrderBump

 

This article will show you how to integrate your WooCom store with the RedTrack account easily. To do that, follow the steps below:

Settings on the RedTrack side

1. Add your shop to RedTrack.io. To do that act as follows:

1.1 Create a custom Offer Source.

Expand to see how to add a custom Offer Source

1.1.1 on the main RedTrack menu navigate to Offer sources->New from scratch:

1.1.2 specify the name of your shop in the Name field:

For your information:

The specified title of the shop will correspond to the Offer Source name. The newly created Offer Source will serve as a placeholder for the tracking parameters.

1.1.3 scroll down to the Additional parameters section. Add postback parameters by filling in the fields under the titles “Parameter“, “Macro / Token“, “Name / Description“. Remember to assign relevant roles to them in the fields under the title “Role“:

Note!

You are the one to choose the parameters you want to apply for tracking. Here is the full list of supported parameters:

  • eventid = {replace} – add, assign role
  • email = {replace} – add, assign role
  • phone = {replace} – add, assign role
  • lname = {replace} – add, assign role
  • fname = {replace} – add, assign role
  • zip = {replace} – add, assign role
  • сontentid = {replace} – add, assign role
  • contenttype = {replace} – add, assign role
  • сontent = {replace} – add, assign role
  • brand={replace} – add

 

1.2 Add Offer.

Expand to see how to add your Offer

1.2.1 on the main RedTrack menu navigate to Offers->New:

 

1.2.2 in the pop-up window, specify the Offer’s name, choose from the dropdown the Offer source (which you’ve added during step 1.1), and paste the URL of the Offer:

 

2. Create custom conversion events

Expand to see how to create conversion events

Important!

See if the subtype of your WooCommerce plugin (One Click Upsell, WooFunnels, Upsell Order Bump) allows you to track the needed events (conversion types). Use this table:

WooCommerce plugin subtype One Click Upsell WooFunnels Upsell Order Bump
Conversion types, that will be counted when using this subtype
  • ViewContent
  • AddToCart
  • InitiateCheckout
  • Purchase
  • Upsell
  • Subscription
  • Downsell
  • ViewContent
  • AddToCart
  • InitiateCheckout
  • Purchase
  • Upsell
  • Subscription
  • Downsell
  • OrderBump
  • OrderBump

 

To set up conversion types for WooCom Plugin, act as follows:

2.1 on the main menu navigate to the section Tools->Converion tracking->Conversion type:

2.2 type in the needed e-com focused conversions types, and press Save:

The full list of Conversion types used with WooCom Plugin includes:

  • ViewContent
  • AddToCart
  • InitiateCheckout
  • Purchase
  • Upsell
  • Subscription

 

3. Add a custom tracking domain.

4.  Create tracking campaigns in RedTrack. To do that:

Important!

Scenarios for your tracking Campaigns in RedTrack may be as follows:

Scenario 1: only unattributed (aka organic) traffic. In which case, one Campaign for your unattributed (aka organic) source is enough.

Scenario 2: several paid Traffic sources (like Facebook or Google or something else) and unattributed (aka organic) traffic. In which case it is crucially important to add these Traffic sources firts and then create a Campaign for each source. This will help you to have all the important data in place and grouped correctly.

Expand to see how to act depending on the scenario

Act depending on your scenario:

4.1 Add the Traffic source for the unattributed (aka organic) traffic. To do that, act as follows:

4.1.1 on the main RedTrack menu navigate to Traffic sources->New from template-> find the template named Other->press Add:

4.1.2 in the Source name field type in “Organic” or anything else that will help you identify your custom source. Leave the parameters and a postback field empty and press Save:

4.1.3 act accordingly:

  • if you need to add more Traffic sources in addition to the unattributed (aka organic) one, proceed with step 4.2.
  • if you are ok with the added unattributed (aka organic) Traffic source only, proceed with step 4.3.

4.2 Find more on Facebook and Google integration if you use any of them. If you work with some other paid Traffic sources, you can search for the integration guide here.

4.3 Create a Campaign.

Important note 1:

Remember to create dedicated Campaigns for each added Traffic source in case you acted as in Scenario 2 mentioned above.

Important note 2:

More info on creating a Campaign can be found in the article “Creating a campaign.” Your online shop will act as an Offer in most cases, so your Campaigns will have only this Offer in the Funnel.

 

5. Generate a Universal Tracking Script

Tip!

The best option with WooCom is to use a default script type since you will run your traffic directly to the shop.

Settings on the WordPress side

6. Login into the WordPress admin panel and navigate to the Plugins option on the main menu to your left:

7. Press Add New:

8. Choose the option Upload Plugin:

9. Upload .zip file by pressing the Choose File option in the pop-up window:

10. Once the file is downloaded, press Install Now:

11. Once the installation is completed, click on the option Activate Plugin:

12. Scroll down the page and find the plugin named RedTrack Plugin for Woocommerce, click Settings under it:

13. Insert the Universal tracking script (the one you generated in point 5 of this guide) in the field Script and press Save Changes to finish:

14. Congratulations! RedTrack WooCom plugin is now up and running.

Mind 2 important details in terms of RedTrack WooCom plugin integration:

  • If you are migrating from the GTM setup, remember to pause tracking tags and postbacks in your GTM.
  • RedTrack supports such Plugins for Subscription tracking as YITH WooCommerce Subscription and official WooCom subscriptions. As for the upsells, RedTrack supports WooFunnels Funnel Builder Pro. For more details on WooCom subscription info click here.

15. (optional) For additional setup within the case where the landing page (aka website) domain and the WooCom shop domain are different domains, click here.

Related Articles