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.
- First event push is now detected correctly, considering that there may be GTM native events on the
dataLayer
array before the first push happens - Current campaign is no longer invalidated when the browser referrer matches the storage referrer
originalReferrer
to the docs
originalReferrer
variable to events
- Added mechanism to avoid losing campaign attributon.
originalLocation
variable is now dynamic and consider Google's session expiration rules.
- The variable name
OriginalLocation
tooriginalLocation
.
- 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
variant
property now contains the SKU Id
- SKU id field to all events that contains product ids
list
property toproductView
(productDetail
) eventposition
property toproductClick
eventdimension1
property pointing to Product Reference Iddimension2
property pointing to SKU Reference Iddimension3
property pointing to SKU Name (previous variant)
productClick
andproductDetail
now considers the selected item when getting the product priceproductClick
now considers the default seller when getting the item's price
- Old backwards compatible
pageLoaded
andproductImpression
events
- Use sellerDefault to select the default seller.
- Property
price
being sent asinteger
inaddToCart
event when using the blockadd-to-cart-button
.
- Legacy events to dataLayer:
homeView
categoryView
departmentView
internalSiteSearchView
productView
otherView
- Docs regarding Custom HTML tags.
allowCustomHtmlTags
option onsettingsSchema
.
- Public metadata information following App Store standards
- Billing Options structure following App Store standards
list
property toproductClick
.
- Events
promoView
andpromotionClick
.
- Replace handler of
vtex:cart
event tovtex:cartLoaded
.
- Updated README.md file
- Enable configuration by binding.
- Event
userData
.
- Events typings.
- Get blacklist values from server.
- Change
productDetail
event to sendid
andvariant
of the visible SKU - Change
productClick
event to sendid
of the visible SKU - Change
productImpression
event to sendid
of the visible SKU
category
field inorderPlaced
,productClick
,productImpression
,addToCart, and
removeFromCart`.
### Added
- Event
productClick
.
- Build assets with new builder hub.
- Use ES5.
- Avoid using global scope.
- Ported to pixel builder 0
- Typo in
orderPlaced
Enhanced Ecommerce property.
- Event
productImpression
.
- Add Enhanced Ecommerce data to
orderPlaced
event.
- Event
pageView
. - Property
event: 'productDetail'
to product view event.
- Use the right price property.
- Event
removeFromCart
. - Event
orderPlaced
.
- Add
pixel
policy.
- 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
.