Releases: klaviyo/SFCC_Klaviyo
Releases · klaviyo/SFCC_Klaviyo
Release 24.9.0
Added
- Added
SiteID
key/value to client-side events - Added the following fields to the top level of Added to Cart events:
masterProductID
,productID
,price
,productName
for use during
segmentation. - Added
value
andvalue_currency
to the following events to unblock
attribution value tracking in Klaviyo: Started Checkout, Order Confirmation,
Viewed Product, Added to Cart
Changed
- Updates API revision to latest (2024-07-15)
- Updates klaviyo.js onsite javascript url to new format
Fixed
- Updated error handling for consent at checkout when a phone number is invalid
Release 24.1.0
Added
- Added X-Klaviyo-User-Agent header to Klaviyo API requests
Release 23.7.0
Added
- Added pre-commit to the repository and ran across all files
- Code-less, configurable onsite identification: Merchants can add a setting to
have Klaviyo listen for email submission on any field on their site simply by
providing a CSS selector. This allows Klaviyo to identify visitors without
requiring the merchant to insert JS throughout the site. - Branded events: Events from the cartridge can all be branded (since they are
all normalized and sent server-side). This is a big unlock for prebuilt flows.
This is default-enabled but configurable because merchants that migrate to this
version may want to disable to avoid ‘breaking changes’ in preexisting flows. - Checkout rebuild link: Started Checkout includes a link to rebuild the
checkout. - Consent at checkout site preference: Sync subscribers to a specified Klaviyo
list ID
Changed
- Updated the legacy
_learnq
js object to the newklaviyo
js object. - Uses V3 APIs
- Better cross-architecture support and improved developer experience: Event
triggering logic is standardized across SFRA and Site Genesis, improved code
readability & maintainability by eliminating complex and unused code.
Fixed
- Event tracking reliability & setup time: Added OOTB tracking for “Added to
Cart” (never fired unless a user was logged in on SFRA), increased event
reliability by standardizing on backend trigger logic (and server-side events).
This logic is not susceptible to front-end customizations, which were one of the
most common reasons for events not triggering.
21.10.0 - 2021-10-14
Fixed
- Order Confirmation event will now correctly fire for orders with coupons.
- Order Confirmation will now correctly fire if product has no primary category.
Updated
- Rename sendEmail function to trackEvent
- Fix grammar/typos in comments and docstrings
- Remove unused functions from Core and SG cartridges
- sendOrderEmail from Core emailUtils
- sendKlaviyoShipmentEmail from SG Klaviyo.js controller
- Increased logging coverage for easier debugging
- Updated documentation included with cartridge
21.7.0 - 2021-7-27
Updated
- Remove unused functions from SFRA and Core cartridges
- SFRA controller functions
- FooterSubscribe
- Subscribe
- ShipmentConfirmation
- buildCartDataLayer from SFRA klaviyoUtils
- sendShipmentConfirmation from Core klaviyoUtils
- SFRA controller functions
- Removed unused pageFooter.isml file from SFRA cartridge
20.11.0 - 2020-11-25
Added
- Enable Prophet debugger to detect cartridge.
- Enable watch and upload cartridge with sgmf cli tool.
- Fix image size and email that can crash if empty.
- Add trackViewedItem for profile tracking.