GA4 is the future - Start collecting ecommerce data now

Tag Rocket provides full Enhanced Ecommerce tracking for your GA4 property, the future of Analytics reporting.

Core Web Vitals - Do you know what's slowing you down?

Tag Rocket provides comprehensive Core Web Vitals Tracking for your BigCommerce store – pinpoint CWV issues to a device, page, page type or even HTML Element and monitor the performance of fixes, using your real-world customer experiences

Want to know about site problems before your customers do?

Tag Rocket provides detailed reports about problems that occur on your BigCommerce site – Easily spot a sorely-needed redirect or a 3rd party code issue and monitor it’s resolution with our suite of error reports:

  • JavaScript Errors
  • Browser Console Errors
  • Network Errors
  • JSON-LD Errors
  • Missing Pages (404’s)
Wish refunds could be tracked?

Well now they can! With the advent of server-side events in GA4, Tag Rocket can now send refund information to be included in revenue reporting

Find those missing or duplicated orders

Tag Rocket utilizes the new server-server event capabilities of GA4 to track orders via both the browser and server throughout the order life-cycle. Identify stalled orders or those that are skewing your reporting due to being misreported

  • We expect GA4 will mature and deduplication of browser/server purchase events will be commonplace, vastly improving your overall revenue reporting and decreasing the need for these reports.
Installation

Basic Installation

Create Google Analytics 4 Property

If you have already created a GA4 property, you can use it instead of creating a new one, simply skip this step and add your existing property’s Measurement ID to Tag Rocket.

Go to Google Analytics->Admin->Create Property and add a name for your new property, click Next.

Add Your Measurement ID

Analytics 4 uses the Measurement ID to identify your store

Instructions:

  1. Under Admin->Data Streams->[Your Web Data Stream], Copy the Measurement ID by clicking the copy () icon
  2. Paste the ID into the Tag Rocket->Analytics 4->Settings->Measurement ID field

*Ensure you have disabled any existing tracking first, otherwise duplication errors may occur

Advanced Installation

Create Custom Dimensions

Custom User Dimensions

If a customer is logged in, the system can track that user across devices. It also tracks custom User properties once you have added them into GA4:

To track the following user dimensions you need to add them to your GA4 Account in the ‘Custom definitions’ section as dimensions of scope ‘User’. Once added they will start reporting on the data provided.

Dimension NameScopeDescriptionUser Property
Customer IDUserBigCommerce ID for customerscustomer_id
Customer groupUserThe name of the customer group this user is in. Blank if no group or not a customercustomer_group_name
User currencyUserThe current currency selected by the user. A 3 letter codeuser_currency_code

Other custom properties that we set are: customer_group_id

Custom Event Dimensions

Tag Rocket adds custom dimensions to certain events, providing more data to report or filter with

To track the following event dimensions you need to add them to your GA4 Account in the ‘Custom definitions’ section as dimensions of scope ‘Event’. Once added they will start reporting on the data provided.

Dimension NameScopeDescriptionEvent Parameter
Page typeEventBigCommerces page types. The home page is set to [home]. Also added to the content_group dimensionpage_type
Meta descriptionEventThe meta description for the page. This could be of use to a/b test changesmeta_description
Active currencyEventThe currency selected by the user at the time of the event. A 3 letter codeactive_currency_code
Date and timeEventUTC time of an event in ISO formatdatetime
DescriptionEventUsed by the exception event to explain the error. Tends to be a verbose version covering other dimensions. Good for real time inspectiondescription
Error typeEventUsed by the exception event to explain the type of error (javascript, console, jsonld, network)error_type
Error messageEventThe explanation for an exceptionerror_message
Error filenameEventUsed by the exception event to provide the file where the error happenederror_filename
Error line numberEventUsed by the JavaScript exception event to provide the line where the error happenederror_lineno
Error column numberEventUsed by the exception event to provide the column in the line where the error happenederror_colno
Effective connection typeEventUses the Network Information API to get the effective connection speed of the user. 4g, 3g, 2g, slow-2g and unknowneffective_connection_type

GA4 itself generates dimensions for all events, some of which are worth adding to the custom dimensions list so that you can access them in your reports.

Dimension NameScopeDescriptionEvent Parameter
Page locationEventThe current URL. Can be useful in Data Studio to blend GA4 data with GSC datapage_location
Page referrerEventThe referrer URL (or empty string if not available). The previous pages URLpage_referrer

There properties are sometimes added to events by the system:

Dimension NameScopeDescriptionEvent Parameter
Link URLEventUsed by click, click_outbound, click_phone, click_download, click_social and click_email events to indicate the link involvedlink_url
Search termEventUsed by search and view_search_result events to indicate the search term usedsearch_term

If you enable server events, one event event tracks your order status changes (order_status_update) and includes the following dimensions:

Dimension NameScopeDescriptionEvent Parameter
Transaction IDEventThe transaction id assigned by BigCommercetransaction_id
Order statusEventThe new order statusorder_status

Web Vitals sets the following dimensions and metrics:

Dimension NameScopeDescriptionEvent Parameter
Debug targetEventThis identifies the selector path to the element that contributed most to the metricdebug_target
Web Vitals statusEventGood, Needs Improvement or Poor. Based on the scores set by web.dev. Used in the relevant web vitals events (LCP, CLS, FID)metric_status

Other custom dimension properties that we set are: metric_id, debug_timing, event_time

The following dimensions are no longer supported and can be removed:
Page view ID, Event ID, Core Web Vitals status, Web Vitals TTFB status, Web Vitals FCP status, Web Vitals CLS status, Web Vitals FID status, Web Vitals LCP status, Position

There are more dimensions and metrics used, but that covers the core ones which we think may be of use in custom reports. To see other events that are automatically collected, refer to Tag Rocket Automatically Collected Events.

Create Custom Metrics

This custom metric is required to specify the web vitals metric values for use in reports. Click on the “Custom Metrics” tab and enter the following:

Metric NameScopeDescriptionEvent ParameterUnit of measure
Web Vitals valueEventThe value of a web vital. Used in the LCP, FID and CLS events.metric_valueStandard

Other custom metric properties that we set are: metric_delta

The following metrics are no longer supported and can be removed:
Web Vitals TTFB, Web Vitals FCP, Web Vitals CLS, Web Vitals FID, Web Vitals LCP

There are more dimensions and metrics used, but that covers the core ones which we think may be of use in custom reports. To see other events that are automatically collected, refer to Tag Rocket Automatically Collected Events.

Configure for BigCommerce CDNs

BigCommerce uses its own CDN system for your sites resources such as images. By default these are considered external to your own domain. We recommend telling GA4 that they are internal. This fixes up issues like clicks to your images being classed as outbound clicks.

In GA4, click Admin->Data Streams->[Your Web Data Stream]->More tagging settings->Configure your domains->Add condition. Choose Match type “Matches RegEx” and Enter the following text:

.cdn[0-9].bigcommerce.com.*
Create A Measurement Protocol API Secret (Optional)

Most of the data sent to GA4 is sent via the user’s browser. Certain server-related events, such as order status changes and refund processing cannot be captured via this method. If you would like send this information, an API secret is required to authenticate Tag Rocket.

  1. Under Admin->Data Streams->[Your Web Data Stream]->Measurement Protocol API Secrets, click Create
  2. Enter “Tag Rocket” as the Nickname
  3. Click the copy icon () for the Secret value
  4. Paste the ID into the Tag Rocket->Analytics 4->Settings->Measurement Protocol API Secret field

Reporting

We have created a series of Data Studio Reports to assist with tracking Website Errors & Core Web Vitals. Please visit our Tag Rocket Reports Page to see further details about creating them. You will then be able to access them via Google Data Studio

Settings

Basic

Product ID

Many of the Google Analytics 4 Ecommerce Events make use of the item_id property. Tag Rocket gives you the choice of sending either the Product SKU or the BigCommerce Product ID. Tag Rocket defaults to the BigCommerce Product ID ([[pid]]) but can be switched to [[psku]]. To suit some scenarios, text can be prepended or appended, eg P_[[pid]] , [[psku]]_SKU.

Advanced

User ID

If you would like Google Analytics 4 to utilize a logged-in customer’s ID as the User-ID to track the user across different devices and platforms, leave this option enabled and Tag Rocket will send this data to Google Analytics. For further information, please read Google’s Documentation on this feature.

Allow Ad Personalization Signals

Google Analytics 4 offers a programmatic method of disabling Advertising Personalization Services. Disabling this option will tell Google Analytics to omit data sent from Tag Rocket for Ads Personalization features. For further information, please read Google’s Documentation on this feature.

Custom Dimensions

Tag Rocket provides extra dimension data beyond Google Analytics 4 standard tracking to enhance your reporting capabilities. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

Custom User Dimensions

Tag Rocket provides extra user data beyond Google Analytics 4 standard tracking to enhance your reporting capabilities. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

Ecommerce

Tag Rocket monitors and sends a number of ecommerce-related events to Google Analytics. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4:

  • search
  • view_item_list
  • view_item
  • add_to_cart
  • remove_from_cart
  • view_cart
  • purchase
Click Tracking

Tag Rocket monitors and sends a number of “Click” events to Google Analytics. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4:

  • Phone Clicks (click_phone)
  • Email Clicks (click_email)
  • Social Media Clicks (click_social)
  • Outbound Links (click_outbound)
Banners/Promotions

Tag Rocket can send Promotion related events (view_promotion select_promotion) if banners are viewed/selected. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

JavaScript Errors

Tag Rocket can monitor and report on JavaScript errors that occur on your customer’s pages. When viewed in Tag Rocket’s Website Errors Report it is possible to identify particular scripts/browsers/devices/pages that are having issues on your site and degrading the performance or user experience. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

Console Errors

Tag Rocket can monitor and report on Console errors that occur in your customer’s browser, often used by script developers to identify issues. When viewed in Tag Rocket’s Website Errors Report it is possible to identify particular scripts/browsers/devices/pages that are having issues on your site and degrading the performance or user experience. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

JSON-LD Syntax Errors

Tag Rocket can monitor and report on JSON-LD errors that occur in your customer’s browser, often an indicator of structured data issues. When viewed in Tag Rocket’s Website Errors Report it is possible to pinpoint any issues for rectification. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

Network Errors

Tag Rocket can monitor and report on network errors that occur in your customer’s browser when requesting page resources. When viewed in Tag Rocket’s Website Errors Report it is possible to pinpoint any issues for rectification. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

Core Web Vitals

Tag Rocket can monitor and report on Core Web Vital metrics that your own customers experience which can be used to fix issues with, or improve, their user experience. With Tag Rocket’s Core Web Vitals Report it is possible to identify particular pages, page types, devices and even specific HTML elements that are having performance issues for rectification. Disabling this option will omit this data being sent from Tag Rocket to Google Analytics 4.

Ignore Order Confirmation Referrals

Tag Rocket can prevent referral data being sent on BigCommerce’s Order Confirmation page to prevent payment gateways accidentally becoming the referrer for a sale and skewing your reporting. Disabling this option will mean the referrer information will be sent from Tag Rocket to Google Analytics 4.

Test Tools
Google Tag Assistant

Google Tag Assistant allows you to explore the data for your Google Tags. By clicking on an event you can discover detailed information about the data sent.

Google Tag Assistant (Legacy)

Google Tag Assistant (Legacy) is a Chrome Extension that allows you to see your Google Tag status. Below is an indication of what it generally looks like