Skip to content

Releases: mivaecommerce/google-analytics

1.2.0

11 Sep 14:46
Compare
Choose a tag to compare

Google Analytics - Version 1.2.0

Improvement

  • GA-46 - Client-Side Products List Tracking System
    • Updated to maintain existing tracking capabilities for the view_item_list & select_item events on the product-listing pages (ex SRCH, CTGY, PLST, etc) when "Product List" flex-components are used.
    • The gtm-dataLayer JavaScript Resources has some new functionality within the MMXPromotionTracker class that will listen for view_item_list and select_item events to be dispatched so that it can transform product-list data from the Miva JSON API into the format that GA4 expects and push it to the dataLayer.

1.1.0

26 Oct 21:39
Compare
Choose a tag to compare

Google Analytics - Version 1.1.0

Bug

  • GA-28 - base_price not used in promotion event tracking
  • GA-30 - view_item doesn't show correct price on PROD if product uses non-variant attributes with prices
  • GA-31 - view_item doesn't show correct price on PROD for sum & specific priced variants
  • GA-32 - ProductTracker.currencyToNumber() doesn't parse negative numbers correctly
  • GA-34 - ecommerce.items[].price should be the sale-price not the base-price
  • GA-36 - Redeeming a coupon should not fire add & remove events for the products that changed prices

Improvement

  • GA-8 - Add list id & name tracking to the select_item event
  • GA-23 - mmx-product-carousels should track their products as a view_item_list
  • GA-24 - Fire add/remove_from_cart events when localstorage basket item changes are detected
  • GA-29 - Subscription terms should be tracked for events

Task

  • GA-27 - Bump version references to 1.1.0

1.0.1

13 Oct 16:51
Compare
Choose a tag to compare

Google Analytics - Version 1.0.1

Bug

  • GA-2 - GA4 Should track sign_up and login events when frameworks use CACT page user-flows
  • GA-3 - POST'd searches will not track GA4's view_search_results event
  • GA-12 - Session_ID should not be included in the dataLayer's canonicalUrl
  • GA-22 - Outputting a user_id of zero could combine non-logged in users activity in some GA reports

Task

  • GA-25 - Consolidate Automated Test Scripts into GA repo
  • GA-26 - Bump version references to 1.0.1

1.0.0

13 Jun 20:26
Compare
Choose a tag to compare

Initial release of the Miva Data Layer for Google Analytics 4 (GA4) integration which is intended for use as a part of the Google Analytics 4 installation guide

Summary

The repo includes:

  • An XML provisioning import file to setup a Miva store’s CSS and JavaScript Resources with a data layer script and GTM config script
  • A JSON import file for Google Tag Manager (GTM) to configure the necessary Tags, Variables, and Events to take the Miva data layer information and send it to Google Analytics 4 for runtime user-behavior reporting.

Helpful Links

GA4 Events

The GA4 integration supports tracking the following GA4 events:

  • page_view
  • view_search_results
  • begin_checkout
  • add_shipping_info
  • add_payment_info
  • purchase
  • add_to_cart
  • add_to_wishlist
  • generate_lead
  • remove_from_cart
  • select_promotion
  • view_item
  • view_item_list
  • select_item
  • view_promotion