Home Integration Methods LemonStand

LemonStand

This is an integration method for LemonStand shopping cart. The integration code is maintained with 'Partials' inserted into Templates and Pages.
1
Click tracking
The first step is the click tracking integration. Here is a description where to insert the click tracking code, which is necessary for sale tracking.

First of all, navigate to your Store Design> Editor> Partials and click the 'layout-footer' partial. Add the click tracking code to the end of the file:
Save your code.
2
Sale tracking
The sale tracking integration is an easy process as well. Navigate to Store Design> Editor> Pages and click the Receipt page.

Add the following sale tracking code after this line:
{% if invoice %}
If you want to track customer email (for Lifetime Commissions) you can use this variable:
{{ customer.email }}

Save your code. If you want to track per product commissions, you should follow the next step instructions.
3
Product Id matching
In case you wanted to track per product information, use this sale tracking code, instead of the one in step 2.

Navigate to Store Design> Editor> Pages and click the Receipt page. Add the following sale tracking code after the line:
{% if invoice %}
That's it, save your work and you can start tracking your orders