1. First, in your Shopify admin, please navigate to the sidebar >> Online Store button >> Themes >> Actions drop-down >> Edit code >> Find the theme.liquid
file (usually under the Layout section).
Directly above the closing </head>
tag in this file, copy and paste the code below into it, then click the "Save" button in the top-right corner.
<script src="https://www.dwin1.com/19038.js" type="text/javascript" defer="defer"></script>
2. Log in to your Bold Commerce admin. Find the "analytics snippet" setting that triggers scripts upon a successful payment.
Please insert the following line of code into this setting and save:
Replace “XXXXX” in the script below with your ShareASale Merchant ID
<img src="https://shareasale.com/sale.cfm?amount=[subtotal]&tracking=[order_name]&transtype=SALE&merchantID=XXXXX&couponcode=[coupon_code]&v=boldcommerce1.2" width="1" height="1"> <script src="https://www.dwin1.com/19038.js" type="text/javascript" defer="defer"></script>
Note: By default, Shopify passes order ID information with a # character as an order prefix. The # character will break ShareASale tracking. Log into your Shopify admin, and visit the checkout settings page. Disable adding # or any other special character as an order ID prefix. This prefix setting setting is at the bottom of Settings >> General.
Note: You will also need to install the ShareASale tracking for Shopify if you are taking individual item orders, and not only recurring.