Shopify & WooCommerce Coupons on a Roll

Maria on October 1, 2018

Shopify & WooCommerce Coupons on a Roll

If you use or are planning to use coupons codes to track affiliate-driven conversions, keep your eyes peeled because it’s about to become much simpler.

Discounts vs Tracking

Coupons or discount codes have a typical use case: offering a discount to your customers. Codes are set up in the shopping cart or payment gateway of your choice and given out to customers, which, in turn, can fill in the code during check out to get a discount applied to the final price. So far, so good.

This operation has an interesting and unexpected usage that we can use to make affiliate marketing better: since the coupon code is basically a piece of data passed along during the conversion, it is something that can be potentially used to ‘mark’ a conversion as coming from a specific origin, ie. a specific affiliate.
This allows creating an alternative method for conversion tracking that doesn’t rely on the affiliate link. As a result, coupons also open up the possibility to use other possible marketing channels - like word of mouth, or Instagram.

It’s an Insta-whole New World

Since Instagram does not allow to post clickable links in captions - only in the account biography - using this platform for affiliate marketing becomes painful.
With coupons, this becomes much easier: adding the discount code to the caption is all that you need to do to get the ball rolling.

Making Coupon Tracking Better

Until now, discount or coupon codes could only be tracked in combination with Zapier or our API. This is now about to change.

We started to roll out changes beginning with our most used integrations: Shopify & WooCommerce.
In the coming days, we’ll be moving forward, tackling most of the platforms that currently support coupon code generation.

Be aware that some platforms might not allow using coupons as a conversion tracking mechanism.

How do I set up coupon code tracking then?

If you already have a functioning integration using Shopify or WooCommerce, proceed as follows:

  • You will need to create a coupon code per affiliate (in Shopify/WooCommerce), and then add this code to each Tapfiliate - affiliate profile.
  • Shopify: remove the old code from the additional scripts box in the order processing settings - and add the new one.
  • WooCommerce: Update to a newer version of our plugin.


If you have any questions about this, please contact our support chat and we’ll be happy to help you!