PrintNowPrintNowDocs

Google Analytics

Configure Google Analytics to track storefront traffic, e-commerce conversions, and customer behavior.

Google Analytics integration adds automatic tracking to your storefront, including page views, product impressions, cart activity, checkout steps, and completed purchases. PrintNow supports both Google Analytics 4 (GA4) properties and legacy Universal Analytics (UA) properties, with full e-commerce event tracking built in.

When configured with a GA4 property ID, the storefront automatically fires standard e-commerce events that appear in your Google Analytics reports without any additional setup. This gives you visibility into how customers browse products, add items to their cart, and complete purchases.

Configure Google Analytics

  1. From your Unified Admin, go to Settings > Integrations > Google Analytics.
  2. Enter your Property Id (e.g., G-XXXXXXXXXX for GA4).
  3. Click Save.

Settings

FieldDescription
Property IdYour Google Analytics property ID. For GA4 properties, use the Measurement ID format (G-XXXXXXXXXX). Legacy Universal Analytics IDs (UA-XXXXXX-X) are also supported but will use the older analytics.js library instead of gtag.js. When empty, no analytics tracking is added to the storefront.

Tracked Events

When a GA4 property ID is configured, the storefront automatically tracks the following e-commerce events:

EventWhen FiredData Included
view_itemCustomer views a product detail pageProduct ID, name, category, price
view_cartCustomer views the shopping cartCurrency, cart value, list of items with prices and quantities
add_to_cartCustomer adds a product to the cartCurrency, item value, product details
remove_from_cartCustomer removes a product from the cartCurrency, item value, product details
begin_checkoutCustomer starts the checkout processCurrency, cart value, coupon code, list of items
add_shipping_infoCustomer submits shipping informationShipping details
add_payment_infoCustomer submits payment informationPayment details
purchaseOrder is completed (order confirmation page)Transaction ID, revenue, tax, shipping, coupon, list of purchased items
searchCustomer performs a product searchSearch term
loginCustomer logs inLogin method
signupCustomer creates an accountSignup method

GA4 vs Universal Analytics

The storefront detects your property type based on the ID format:

  • GA4 (G-XXXXXXXXXX): Uses the gtag.js library. Fires structured GA4 e-commerce events with currency, item arrays, and transaction details. This is the recommended setup.
  • Universal Analytics (UA-XXXXXX-X): Uses the legacy analytics.js library. Supports standard e-commerce and enhanced e-commerce tracking (product impressions, checkout steps, purchase tracking). Universal Analytics properties stopped processing data on July 1, 2024.

Associations

AreaEffect
All Pages (Master Page)The GA4 tracking script is registered on every storefront page via PrintnowDisplay.Master. This adds the gtag.js snippet to the page header with your property ID, enabling automatic page view tracking across the entire storefront.
Product Detail PagesFires view_item events with product ID, name, category hierarchy, SKU, and price when customers view product details.
Shopping CartFires view_cart, add_to_cart, and remove_from_cart events with full item details and cart totals.
CheckoutFires begin_checkout on the checkout page with cart contents, coupon codes, and totals. Additional events fire for shipping and payment info submission.
Order ConfirmationFires purchase event on the order details page when referred from checkout. Includes transaction ID, revenue, tax, shipping, coupon, and all ordered items with quantities and prices.
SearchFires search event with the search term when customers use the product search feature.
Login / SignupFires login and signup events with the authentication method when customers sign in or create accounts.
AreaEffect
Editor PageThe GA4 tracking script is also registered on the Print Editor page (Editor.aspx), enabling page view tracking when customers open the design editor.

On this page