Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ShareASale’s tracking involves two 'tags' or 'pixels' which are snippets of code installed specifically on the checkout 'thank-you' receipt page and in the header of every other site page. The first tag is for tracking conversions (i.e. sales) and the second for assisting with Affiliate click attribution accuracy in certain browsers, respectively.

ShareASale retrieves the following data about Affiliate-referred orders where possible:

  1. Amount – order subtotal after discounts but before taxes and shipping

  2. Tracking – order ID of the customer

  3. Coupon Code – the discount code used in the order, if any

  4. Skulist – a comma-separated list of SKUs for the products purchased

  5. Pricelist – a comma-separated list of item prices for the SKUs in the same order

  6. Quantitylist – a comma-separated list of the quantities of each SKU

  7. Newcustomer – whether the customer was new (1), old (0), or unknown (no value)

  8. Currency – the three letter ISO-4217 currency code for the currency used by the customer, e.g. EUR for Euros, GBP for British Pounds, USD for US Dollars, etc.

Conversion Tracking Pixel Installation

...

Code Block
<img id='_SHRSL_img_1' src='https://www.shareasale.com/sale.cfm?tracking=OrderID&amount=AA.BB&merchantID=XXXXX&v=dev1.5&transtype=sale' width='1' height='1'>
<script src='https://www.dwin1.com/19038!!!!!.js' type='text/javascript' defer='defer'></script>

...

merchantID=XXXXX

Your Merchant ID (XXXXX), which can be found in the top left corner of your ShareASale account.

transtype=sale

The transtype parameter is simply set to ‘sale’ for all sale tracking pixels. Tracking leads is covered in a different document.

‘!!!!!’

Where !!!!! is your Master Tag ID. Replace the !!!!!! in the code with your Master Tag ID.

For merchants in the Setup Wizard, you can find this within Step 4 (Tracking Code Installation).

For live merchants, you can find this by navigating to MY ACCOUNT > ACCOUNT DETAILS
Account Details: https://account.shareasale.com/m-account.cfm

If you cannot locate your Master Tag ID, or would like to verify that you have one, please submit a ticket to our ShareASale support staff.

In addition to the two static tracking parameters above, the pixel must include two dynamically populated tracking variables:

...

The ShareASale tracking pixel can be configured to track data from more than one store/site per account using our StoresConnect feature. In order to for additional stores to qualify for StoresConnect, we require the following:

  1. Each site must fall into the same ShareASale Category. The products or stores must be similar enough to each other that they would share the same affiliate base. For example, if you have a site that sells clothes and another that provides financial services, these would need to be separate accounts.

  2. A $200 fee for each additional store you add to your program.

  3. The sites must be distinct brands. Typically this means the domains should at least be different. For example, www.example.com and www.site.com would qualify. Regional sites for the same brand would not fall into this category: www.example.com, eu.example.com, and www.example.co.uk would be considered as one store. You can add ShareASale tracking to regional sites free of charge. If you’d like to add an identifier to these sites for reporting purposes, see the xtype= parameter below.

storeid= X

Replace X with the ID of the store that this pixel will be installed in.

...

Code Block
<script src='https://www.dwin1.com/19038!!!!!.js' type='text/javascript' defer='defer'></script>
Info

Where !!!!! is your Master Tag ID. Replace the !!!!!! in the code with your Master Tag ID.

For merchants in the Setup Wizard, you can find this within Step 4 (Tracking Code Installation).

For live merchants, you can find this by navigating to MY ACCOUNT > ACCOUNT DETAILS
Account Details: https://account.shareasale.com/m-account.cfm

If you cannot locate your Master Tag ID, or would like to verify that you have one, please submit a ticket to our ShareASale support staff.

  1. Find the file, template, or section of your cart admin that allows you to place code that will be included on 

every page of the site.

  • The best place is the HTML <head></head> section, if possible.

  • Just install it once, not multiple times (i.e. not the header and footer by mistake).

  • If you’re editing a common global file for your site, make sure you’re editing the right one for your theme. Often carts can have multiple themes/skins, and if you change you will need to re-integrate the master tag on that new theme too.

  1. Place the master tag code so that it appears on every page of your site. Congratulations! Installation is now complete. 

Testing

Now that your tracking tags have been installed, we will need to test that everything is working as expected. To do this, we’ll simulate an Affiliate referred purchase by clicking a ShareASale test link and then running a purchase on your store. If the test is successful we’ll see a record appear in your ShareASale console, which we will VOID so that it doesn’t debit commissions from your account.

If you were emailed a link to this document, a test link may have been provided to you. If it wasn’t, you can obtain one from your account by clicking here.

NOTE: If you do not click the test link your order will not track.

The test link should direct you to your own store. Once there, please purchase any item in your store. Sometimes Merchants will have a test item worth $1.00 sale price, but above $0.00 minimum.

...