Google Analytics and Advanced Tracking Scripts


There are two ways to use Google Analytics with Bold Subscriptions, Basic and Advanced. With the basic tracking, you will be using the tracking ID provided by Google Analytics and will be tracking three events automatically.

Those events are:

  • Entering Address - This event is triggered when a customer lands on the subscription checkout page.
  • Entering Payment Information - This event is triggered when a customer is entering their credit card information and selecting a shipping rate.
  • Successful Checkout - This event is triggered when a customer is finished checking out and lands on the "Thank You Page".

With advanced tracking, you will be using the Tracking Script provided by Google Analytics and will not be tracking the "Successful Checkout" event. You can customize this script to your needs; however, this method is not recommended unless you have a good understanding of JavaScript. If you choose this method, you can test any tracking scripts, not just Google Analytics. This script will fire at the same time as the "Thank You Page". At this time, any sensitive data has already been removed from the DOM.

To set up Google Analytics in Bold Subscriptions, please follow these steps:

  1. Set up a Google Analytics Account.
  2. Copy your Tracking ID.

    Note: This will look like this: UA-XXXXXXXX-Y. If you prefer you can copy your custom tracking script. If you already have a Google Analytics account, you can get the tracking ID by navigating to Admin -> Tracking Info -> Tracking Code.

  3. From Shopify's admin, select Apps.

    Select Apps

  4. Select Recurring Orders & Subscriptions by Bold.

    Select Recurring Orders & Subscriptions by Bold

  5. Select Integrations, then View All Integrations.

    Select Integrations/View All Integrations

  6. Select Google Analytics.

    Select Google Analytics

  7. Under "Google Analytics Tracking ID", paste the Tracking ID you copied in step 2.

    Note:  If you prefer to use a custom tracking script, select the "Tracking Scripts" tab, select the Enable Custom Tracking Scripts For Successful Purchases checkbox and paste the script you copied in step 2 in the box provided and customize to your needs.

    Google Analytics Tracking ID

  8. Select Save.

    Select Save

That's it!

You can view these statistics in your Google Analytics account by following these steps:

  1. Log in to your Google Analytics Account.
  2. Select Behavior.
  3. Select Events.
  4. Select Top Events.
  5. Select the "Primary Dimension" Event Action.

Visit Google Analytics - Tracking Product & Bold Subscriptions Information for simple steps on how you can track product and order information as well!

Next Steps:

Blog Posts:

2 out of 3 found this helpful



Please sign in to leave a comment.