Track Quick View Events - Bloomreach Experience - Open Source CMS

Track Quick View Events

Anytime a user opens a Quick View to display more details about a product on your site, BloomReach expects a Quick View Event to fire. Quick Views are commonly found on Product Listing pages, but if there are alternate locations to trigger a Quick View, please also fire on those locations as well. 

To get started, follow the steps given below:

  1. Copy and paste the Quick View Event Tracking Snippet and install on all of your Quick View links or Quick View buttons. 
  2. Map the search & quick view event variables in the tracking snippet.
  3. Make sure to review the implementation scenarios to ensure that the quick view event data are sent to Bloomreach.
If you do not have Quick Views, skip this section.

Quick View Event Tracking Snippet

BrTrk.getTracker().logEvent('product', 'quickview', {'prod_id' : '348574','prod_name' 'Levi\'s Jeans Model 505','sku':'348574'});

Quick View Event Variables

Product ID

Variable

Type

Example

Dependencies

Description

prod_id String  pid123456 1.) Needs to match Product ID sent in feed

2.) Needs to match the prod_id in the conversion Page View Pixel.
This is the unique ID, which describes a product, product bundle, product collection or sku set. If a product is available in multiple SKUs (e.g. color/size combinations), this field refers to the id shared by all the SKUs for a product.

 sku

Variable

Type

Example

Dependencies

Description

sku String sku38738 Needs to match Sku ID sent in feed Unique SKU id that representing the selected variant of this product 
(e.g. size M, color blue of a t-shirt). 

If your site does not have SKUs, leave this blank.

Scenario

Examples

Quick View on Category Page with Product ID and Sku ID

 

BrTrk.getTracker().logEvent('product', 'quickview', 
{'prod_id' : '348574','prod_name' 'Levi\'s Jeans Model 505','sku':'348574'});

prod_name

Variable

Type

Example

Dependencies

Description

br_data.prod_name String Variable Example: "Levi'\s Jeans Model 505" Needs to match the Product Name in the feed The name of the product being viewed.
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?