Versions Compared

Key

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

ShareASales tracking for Magento involves two 'tags,' which are snippets of code installed in the success.phtml template file and in the Design configuration of Magentos admin. The first tag is for tracking conversions (i.e. sales) and the second for assisting with Affiliate click attribution accuracy in certain browsers. Installation of both should be simply copy and paste of the code included herein.

Conversion Tracking Pixel Installation

Locate the success.phtml file on your server found at:
/app/design/frontend/default/[templatename]/template/checkout/success.phtml

...

Note: Make sure you entered the correct Merchant ID! Your ID is displayed in the top left corner of your ShareASale account while logged in. This example had 44911 as the Merchant ID. 

Master Tag Installation

Open your Magento stores admin and click the 'System' menu in the top navigation.

...

Make sure you click Save Config button in the top right corner of the page.

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.

...