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.

Step By Step Instructions

  1. 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.

  2. Once your AWeber Sales Tracking settings are complete, copy your AWeber javascript provided.

    Analytics Javascript

  3. Within your Shopify store dashboard, click your "Settings" section. This section is located in the bottom left hand corner of Shopify.

    Click Shopify settings section

  4. In your Settings, click the option for "Checkout".

    Click Checkout option

  5. Scroll to the "Order Processing" section.

    Scroll to order processing section

  6. Locate the "Additional scripts" section and replace Shopify's default script example with your AWeber javascript you've previously copied.

    Locate additional scripts

    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="//"></script>
    {% endif %}
  7. Once complete, save your settings by clicking the "Save" button.

    Click 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.

Have more questions? Submit a request