Onboarding

Please follow these steps to set up the app:

1- Get GTM Container ID

2- Get GA4 Tracking ID

3- Manage tracking events

4- Configure the app script to the Checkout page

5- Test your tracking

1. Get the GTM Container ID

If you haven't created a Google Tag Manager account yet, please refer to this document for instructions.

Option 1: Find in the Google Tag Manager home

Go to your Tag Manager Accounts manager > Find the Container name and the associated ID formatted as "GTM-XXXXXX"

Option 2: Find in the workspace homepage

Go to a GTM workspace > Get the GTM Container ID in the top-right formatted as "GTM-XXXXXX"

2. Get the GA4 Tracking ID

For a new Google Analytics 4 account, please refer to this document.

To get your Google Analytics 4 tracking ID, please follow these steps:

  • Go to your Analytics account > Open Admin > Find Data Streams in the column Property

  • Get your GA4 Measurement ID

3. Manage tracking events

To ensure the most efficient tracking, we recommend activating all events.

Event nameEvent Description

page_view

A customer browses a page of the website store

view_item

A customer browses an item in an online store

add_to_cart

Customer adds an item to cart

begin_checkout

Customer starts the checkout process

purchase

Customer completes the checkout process

4. Configure the app script to the Checkout page

  • Open your Shopify Admin > Open Settings > Go to Checkout > Paste the script at Order status page.

<script type="text/javascript" src="https://upcommerce.app/google-tag-client/build/index.js"></script>

5. Test your tracking

After completing all the above settings, you can install Google Tag Assistant to check if the appt’s working

1- Enable Tag Assistant Click on the blue smiley icon, and a new popup will appear with two main options: "Enable" and "Record."

2- Click Enable Once you click enable, you’ll notice that the popup changes, but nothing else really

3- Refresh your page If you have Google tags on that page, the little smiley face will change to a number, this is the number of tags you have:

4- Look to see which tags are firing When you click on the Tag Assistant Icon, the pop-up will then show you which tags are running

Last updated