Articles on: Analytics

Enable Google Analytics Tracking

Plans: All plans Platforms: All platforms

Overview



Google Analytics is a tracking tool that helps you collect data from your website and mobile applications to create reports that provide insights into your business.

AfterShip Tracking lets you connect your Google Analytics account to track and collect data for the activity and events on your branded tracking page.

You can also access AfterShip's in-built tracking page analytics to gauge the performance of your branded tracking pages.

With AfterShip analytics ,

Streamline processes with an interactive dashboard
Generate tailor-made reports to audit and compare data
Study customer behavior by calculating marketing clicks, number of visitors, and session duration
Make informed business decisions with easy to access tracking data

Additional considerations



You must have an active Google Analytics account and access to the Google Tracking ID or UA Number. Learn more about finding your Google Analytics tracking code from Google .
The tracking ID must be added to each page you want to track. When added to your branded tracking page, your Google Analytics account will collect data on views, visitors, clicks, and more.
If you want to use GTM Tracking, you need a Google Tag Manager account and retrieve the Google Tag Manager ID. Learn more about Google Tag Manager in Google's getting started guide .

What you’ll learn



In this tutorial, we will show you:

Locate tracking ID
Connecting Google Analytics to AfterShip Tracking
What’s tracked

Locate tracking ID



Go to the Admin tab of your Google Analytics account
Select Tracking Info under the Property settings > Tracking Code
Copy the tracking ID

Connecting Google Analytics to AfterShip Tracking



To add the Google Analytics Tracking ID or Google Tag Manager ID to your tracking page, follow these instructions:

Go to Tracking pages and click Page variations in the AfterShip Tracing admin
Select Actions in the top right corner and then click Edit
On the tracking page editor, move to the Settings tab
Scroll down to the Google Analytics section and paste the Google Tracking ID or UA Number into the field
Click Save

Google Analytics will start tracking sessions and visitors on your tracking page.

What's tracked



All the actions customers take on the tracking page are transported to Google Analytics by AfterShip Tracking. You can track all the events under Behavior > Events in the Google Analytics dashboard.

Here is the list of events shown in Google Analytics.

EventTriggered whenParameters
session_startA user lands on the tracking page
user_engagementA user engages with the tracking pageengagement_time_msec
scrollThe first time a user reaches the bottom of the page (i.e. when the users cover a 90% vertical depth). It helps track how far the visitors scrolled on your pageengagement_time_msec
page_viewEach time the page loads or the browser history state is changed by the active sitepage_location (page URL), page_referrer (previous page URL), engagement_time_msec
form_startThe first time a user interacts with the order lookup sectionform_id, form_name, form_destination
form_submitA user tracks the order/shipment status via the order lookup sectionform_id, form_name, form_destination, form_submit_text
clickThe users click a link that leads them away from the current domain and onto the redirected domainlink_classes, link_domain, link_id, link_url, outbound (boolean)



If you need to track more complex events and analyze user behavior, consider installing Google Tag Manager. With Google Tag Manager, you can create tags for various tracking purposes, such as monitoring clicks from marketing assets, form submissions, and link tracking.

Updated on: 27/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!