As covered in their 'Adding a web tracking code' article, Lightspeed allows you to add a conversion tracking code snippet to your 'thank you page'. This is where you can place the SNPT conversion code to track conversions and see the performance of your store and SNPT account. Get familiar with the article then carry out these steps:

1️⃣ Grab your SNPT conversion code

Head into the 'Conversion tracking' section by clicking "Add Tracking Code" from the "Visual Shopping" navigation dropdown. Then click to copy the "General Use" SNPT conversion code snippet.

2️⃣ Modify the SNPT conversion code snippet to use Lightspeed variables

Every platform uses different variable names when running the conversion code snippet, and Lightspeed is no different. You'll find the available variables (keys) that can be used in the same lightspeed article mentioned above.

Here is an example of a code snippet suitable for Lightspeed, although note that you need to change the SNPT account to match that from your own code snippet:

<!-- Snapppt order conversion code - be sure to replace the data placeholders with the corresponding tags for your platform -->
<script>
window.snapppt_order_number = '{{ order.information.number }}';
window.snapppt_order_total = '{{ order.information.price_incl }}';
window.snapppt_order_currency = '{{ order.information.currency }}';
// comma separated list of discount codes used on the order
window.snapppt_order_discount_codes = '{{ order.information.code }}';
window.snapppt_account = "CHANGE_THIS_TO_YOUR_SNPT_ACCOUNT_ID";
</script>
<script src="//snapppt.com/conversion-tracker.js" defer></script>

Now copy this updated code snippet, and head into your Lightspeed backoffice.

3️⃣ Enter your SNPT conversion code into your Lightspeed backoffice

From here you'll want to follow the instructions in the Lightspeed article. Head into the "Web Extras" section which you'll find in Settings > Website Settings section.

Paste into the "Tracking area", active the status, save changes, and you're done.

You should now start seeing data in your SNPT reports as your next orders come in. Reach out to us at support if further help is needed.

Did this answer your question?