All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Documentation typos
- Fix
item_categoryhierarchy on eventpurchase
- Fix attributes received from
eventDataon eventvtex:addToWishlistextractingitems.productans usingskuinsteadselectedSku - Fix
eventDatafor therefundto receive a formatted order object instead
- A new app configuration option on Admin, "Send Google Analytics 4 Events", that clients can opt-in to also send the events in the GA4 format.
- Support for sending GA4
view_item(UAdetail) whenvtex:productViewis received. - Support for sending GA4
view_item_list(UAimpressions) whenvtex:productImpressionis received. - Support for sending GA4
select_item(UAclick) whenvtex:productClickis received. - Support for sending GA4
purchase(UApurchase) whenvtex:orderPlacedis received. - Support for sending GA4
add_to_cart(UAadd) whenvtex:addToCartis received. - Support for sending GA4
remove_from_cart(UAremove) whenvtex:removeFromCartis received. - Support for sending GA4
view_promotion(UApromoView) whenvtex:promoViewis received. - Support for sending GA4
select_promotion(UApromoClick) whenvtex:promotionClickis received. - Support for sending GA4
add_payment_infowhenvtex:addPaymentInfois received (not being sent yet). - Support for sending GA4
begin_checkoutwhenvtex:beginCheckoutis received (not being sent yet). - Support for sending GA4
view_cartwhenvtex:beginCheckoutis received (not being sent yet). - Support for sending GA4
add_shipping_infowhenvtex:addShippingInfois received (not being sent yet). - Support for sending GA4
searchwhenvtex:searchis received (not being sent yet). - Support for sending GA4
loginwhenvtex:loginis received (not being sent yet). - Support for sending GA4
refundwhenvtex:refundis received (not being sent yet). - Support for sending GA4
add_to_wishlistwhenvtex:addToWishlistis received (not being sent yet). - Support for sending GA4
sign_upwhenvtex:signUpis received (not being sent yet). - Support for sending GA4
sharewhenvtex:shareis received (not being sent yet).
- Updates lodash version
- Updates dependencies with security issues
- Fix
ecommercevariable firing, pass null toecommercebefore pass values again, like google recommend.
- Added a custom field to "userData" dataLayer
- Added
ecommerceV2property sent on the orderPlaced event to match the checkout dataLayer
-dimension4 property to the product data layer on productView events, representing the availability of the product
- Product names on orderPlaced events now no longer include SKU name at the end
- First event push is now detected correctly, considering that there may be GTM native events on the
dataLayerarray before the first push happens - Current campaign is no longer invalidated when the browser referrer matches the storage referrer
originalReferrerto the docs
originalReferrervariable to events
- Added mechanism to avoid losing campaign attributon.
originalLocationvariable is now dynamic and consider Google's session expiration rules.
- The variable name
OriginalLocationtooriginalLocation.
- Step on how to add the variable OriginalLocation to your Google Tag Manager (GTM) container and configure your store’s Google Analytics tags, to persist campaign data throughout a user session and avoid providing inconsistent campaign data to Google Analytics.
- Add originalLocation variable to dataLayer
- All events are now using the productId as the main product identifier
- Product name doesn't include the variation anymore
variantproperty now contains the SKU Id
- SKU id field to all events that contains product ids
listproperty toproductView(productDetail) eventpositionproperty toproductClickeventdimension1property pointing to Product Reference Iddimension2property pointing to SKU Reference Iddimension3property pointing to SKU Name (previous variant)
productClickandproductDetailnow considers the selected item when getting the product priceproductClicknow considers the default seller when getting the item's price
- Old backwards compatible
pageLoadedandproductImpressionevents
- Use sellerDefault to select the default seller.
- Property
pricebeing sent asintegerinaddToCartevent when using the blockadd-to-cart-button.
- Legacy events to dataLayer:
homeViewcategoryViewdepartmentViewinternalSiteSearchViewproductViewotherView
- Docs regarding Custom HTML tags.
allowCustomHtmlTagsoption onsettingsSchema.
- Public metadata information following App Store standards
- Billing Options structure following App Store standards
listproperty toproductClick.
- Events
promoViewandpromotionClick.
- Replace handler of
vtex:cartevent tovtex:cartLoaded.
- Updated README.md file
- Enable configuration by binding.
- Event
userData.
- Events typings.
- Get blacklist values from server.
- Change
productDetailevent to sendidandvariantof the visible SKU - Change
productClickevent to sendidof the visible SKU - Change
productImpressionevent to sendidof the visible SKU
categoryfield inorderPlaced,productClick,productImpression,addToCart, andremoveFromCart`.
### Added
- Event
productClick.
- Build assets with new builder hub.
- Use ES5.
- Avoid using global scope.
- Ported to pixel builder 0
- Typo in
orderPlacedEnhanced Ecommerce property.
- Event
productImpression.
- Add Enhanced Ecommerce data to
orderPlacedevent.
- Event
pageView. - Property
event: 'productDetail'to product view event.
- Use the right price property.
- Event
removeFromCart. - Event
orderPlaced.
- Add
pixelpolicy.
- Migrate the app to typescript.
- Update to use new pixel API.
- Add billingOptions on manifest.json.
- Add full description to publish in Apps Store.
- Change the Readme to reflect the Setup of the service.
- MVP of
Google Tag Manager.