How do I add AWeber's Sales Tracking to my Shopify order page?
Shopify is a service where you are able to sell your products online, and have those customers added to your AWeber mailing lists. Tracking the amount of sales that you collect from your customers is not only available within Shopify, but also possible within AWeber through AWeber's Sales Tracking.
This article explains how you are able to update your Shopify order status page of your checkout process with AWeber's Sales Tracking JavaScript.
Note: To be able to properly track page visits a cookie is required. To receive this cookie, a subscriber will need to first visit the page through a link in the email. Once a subscriber has received this cookie, we can track a page visit regardless of where a subscriber came from. If a subscriber does not have this cookie, we won't be able to track their page visit.
Step By Step Instructions
- If you have not done so already, setup your AWeber's Sales Tracking for your domain. This can be accomplished in AWeber by hovering over the "Reports" tab and clicking "Tracking".
Note: If needed, the following Knowledge Base article provides a full walk through of setting up AWeber's Sales Tracking.
- Once your AWeber Sales Tracking settings are complete, copy your AWeber JavaScript provided.
- Within your Shopify store dashboard, click your "Settings" section. This section is located in the bottom left hand corner of Shopify.
- In your Settings, click the tab for "Checkout".
- Scroll down and locate the "Order status page" and "Additional scripts" section. Replace Shopify's default script example with your AWeber javascript you've previously copied.
Note: Be sure to wrap your AWeber javascript between Shopify's snippets, otherwise the tracking will not work as intended. An example would like as followed:
{% if first_time_accessed %}
<script type="text/javascript" src="//analytics.aweber.com/js/awt_analytics.js?id=UniqueStringHere"></script>
{% endif %} - Once complete, save your settings by clicking the "Save" button.
That's it! Now, when your customers purchase from you via Shopify and reach your Shopify order page, they will be tracked both in Shopify and in AWeber via AWeber's Sales Tracking.