Add Google Analytics to Checkout Page
In this help article, you will learn how to add Google Analytics to your checkouts on Checkout Page.
Many sellers choose to use Google Analytics to better understand their customers and improve the conversion rate of their checkouts.
It is a great way to collect data about your customers' behavior and identify trends that would let you make data-driven decisions.
Using Google Analytics, Checkout Page will automatically track two custom events:
-
enter - whenever someone visits your checkout
-
checkout - whenever someone completes your checkout
You can see the events categorized under the event name: checkoutpage-{{checkoutId}}.
The checkout event will also contain:
-
value - the final purchase amount
-
currency - the currency of your checkout
-
orderId - the ID of your customer's order
Instructions to add Google Analytics to Checkout Page
Here's how to add Google Analytics to your Checkout Page:
-
Open your Google Analytics dashboard and Set up data stream
-
Navigate to the Admin tab on the bottom left menu and open Data Streams
-
Click on your stream and scroll down to View tag instructions
-
Choose Install manually and copy your Google Tag
-
Go to Checkout Page and click on your checkout
-
Open Settings and paste the tag under Third party analytics
-
Click to Save and that's it!
Take a look at these articles to further configure the event tracking for your checkouts: