Adding the Sales Tracking Code Snippet
First, request your code snippet from Garmentier by clicking the button below:
We will email you your personalized code snippet within 1 business day. Once you’ve received the snippet, follow the instructions below based on your e-commerce platform. Scroll to the bottom for more information on code field requirements.
If you have a Shopify e-commerce store:
This code snippet uses Shopify’s Liquid Order Object that is made available on Shopify’s conversion page. To add in the code snippet:
Go to Settings —> Checkout —> Order status page
Add the snippet of code provided to you into the field provided. See video here:
If you have a Non-Shopify e-commerce store:
Simply add your snippet of code to your conversion or checkout/order page on your site! If you are using an e-commerce platform other than Shopify, you will need to refer to your e-commerce platform vendor’s documentation for how to add this snippet.
Fields that will need to be in your code snippet
For Shopify users, the code snippet we will provide you with is sufficient with no tweaking. However, if you are using an e-commerce platform other than Shopify, you will need to refer to your e-commerce platform vendor’s documentation for how to get the appropriate fields required/what they are called in your system. The required field values will need to translate correctly if they are named differently in your e-commerce OMS platform.
Example Code Snippet: Here is an example of the code snippet we will send you so that you can visualize where the above fields will go. Please note: this is just an example, and is not your personalized code snippet - so please do not use this!
<!--Offer Conversion: Garmentier Tracking-->
<img
src="https://garmentier.g2afse.com/success.jpg?offer_id=2&click_id={{click_id}}&action_id={{order_id}}&afid={{order_id}}&afprice={{order.subtotal_price}}&custom_field1={{order.customer.id}}&custom_field2={{order.phone}}&custom_field3={{order.email}}&custom_field4={{order.total_price}}"
height="1" width="1" alt=""/>
<!-- End Offer Conversion -->
Questions? Chat us here on our site, or email us at integrations@garmentier.co.
Estimated Customer Setup Time: 10 Minutes