Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tracking TypeScriptAsynchronous
Display Networkhttps://stats.g.doubleclick.net/dc.jsY
Asynchronoushttps://ssl.google-analytics.com/ga.jsY
E-Commerce (universal / Ecommerce plugin)//www.google-analytics.com/analytics.jsY
Enhanced Ecommerce

GA4

New GA Stylehttps://ssl.google-analytics.com/ga.jsN
Urchinhttps://ssl.google-analytics.com/urchin.jsN

...

The Following custom events are trackable within the Ultracart Storefront configurations using a Storefront in a "Non-checkout only" configuration:

...

AddPaymentInfo

...

AddToCart

...

AddToWishlist

...

CompleteRegistration

...

InitiateCheckout

...

Lead

...

Search

...

a Storefront in a "Non-checkout only" configuration:

  • AddPaymentInfo
  • AddToCart
  • AddToWishlist
  • CompleteRegistration
  • InitiateCheckout
  • Lead
  • Search
  • ViewContent

GA4 Tracking Type Integration

Configuring the GA4 tracking type requires the following credentials:

  1. GA4 API Secret
  2. GA4 Measurement ID

Image Added

Obtaining your GA4 API Secret

  1. First, go to your Google Analytics Admin > Data Streams and open your chosen stream:Image Added
  2. Scroll down to the Additional Settings tab and click on Measurement Protocol API secrets; then click Create:Image AddedImage Added
  3. You will have to create a nickname for your new API secret; we recommend naming this GA4-key. Click Create
  4. You will need to copy the Secret value provided into the corresponding UltraCart configuration field. 
    This value is confidential and should only be configured in your UltraCart account.
  5. All done!

Obtaining your GA4 Measurement ID

  1. In Admin, make sure that you have the desired account and property selected.
  2. In the Property column, click Data Streams, then click your web data stream. Your “G-” Measurement ID appears in the upper right portion of the panel. Image Added


Pricing Tiers

If you have pricing tiers configured on your account for wholesale customers then you can track them on a separate Google Analytics account if you would like. There will be an additional row in the configuration for each pricing tier on your store. If you leave these blank then UltraCart will use the default UA- account when tracking the customer even if they have a pricing tier.

...

Upgrading to Asynchronous Google Analytics Tracking Code in a Catalog Template

GA4 - https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference

GA4 - https://support.google.com/analytics/answer/9539598?hl=en