Master Tag Installation
In your Teachable account, please navigate to the following Help article:
https://support.teachable.com/hc/en-us/articles/223404487#custom-css-0-0
Once there please follow the instructions in the ‘Head Code Snippets’ section. Once there, please paste the following code script in the field.
<script src="https://www.dwin1.com/!!!!!.js" type="text/javascript" defer="defer"></script>
Conversion Tracking Pixel
In your Teachable account, navigate to the ‘Thank You Page Editor’, using the following Help Desk article:
https://support.teachable.com/hc/en-us/articles/223319748-Course-Thank-You-Page-Page-Editor-1-0-
Once there, please insert a ‘Liquid/HTML' code block and insert the following code script. You will need to insert this code for every course you sell.
<script type="text/javascript"> _sas_tokens = _sas_getTokens(); _sas_img = new Image(); _sas_img.src = 'https://shareasale.com/sale.cfm?v=1.0&amount=' + _sas_tokens.final_price / 100 + '&tracking=' + _sas_tokens.sale_id + '¤cy=' + _sas_tokens.currency + '&transtype=sale&merchantID=XXXXX'; document.body.appendChild(_sas_img); function _sas_getTokens(){ var tokens = []; var query = window.location.search.slice(1).split('&'); for ( i = 0, l = query.length; i < l; i++ ) { temp = query[i].split('='); tokens[temp[0]] = temp[1]; } return tokens; } </script> <script src="https://www.dwin1.com/!!!!!.js" type="text/javascript" defer="defer"></script>
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.
After the purchase is complete, navigate to www.shareasale.com in your browser and log into your account. Click Reports and then click Transaction Details from the drop-down menu.
Filter the report for Affiliate ID 178 using the panel on the left. The filtered view should now show your test purchase as an entry with today’s date.
If the order tracked successfully…
Your account is now ready to use ShareASale with your store. Please contact us at ShareASale@ShareASale.com for further information about:
Product specific commissions (offer different commissions by product)
New customer incentives (offer commission bonuses for new customers)
Exclusive coupon codes (used for tracking conversions without link clickthrough)
If the order does not show up in the Transaction Details Report…
Please verify that you have completed all of the steps as instructed. Common mistakes include not entering the correct Merchant ID in your tracking code and forgetting to click the test link.
If after verifying all of these steps your tracking still does not work please contact our support team at ShareASale@ShareASale.com.