Test Scenarios - Page View

Validation Test Scenarios

Bloomreach recommends to test the following scenarios to make sure your pixel fires as expected:

Test Scenarios: Page View

 Scenario 1: Add a Product from a Product Page

Scenario FlowExpected Result/ Pixels to FireAdditional Verification
Start at the HomepageHomepage Page View Pixel
Navigate to a Category PageCategory Page View PixelThis should be populated with the cat and cat_id values and the data should be consistent with the feed data.
Click on a Product to land on the PDP pageProduct Page View PixelThis should be populated with prod_id, prod_name, and SKU, and the data should be consistent with the feed data.
Add the Product to the cart (from the PDP page)ATC Event Pixel1. Ensure that the ref parameter is populated with the referring URL from the Category Page.

2.If your site does not have Skus, leave the Sku field empty (the validator will show a red flag for this value but this would be expected).
Check out the productOther Page View Pixel On the 'Thank you' pageMake sure that “prod_id” for a given product is the same value across:

1. Product Page View

2. Add to Cart Event

3. Basket in Conversion Event

4. The product feed sent to Bloomreach

 Scenario 2: Add a Product from a Category Page

This scenario only applies if your site allows a user to add products to a cart from a category page.
Skip if this does not apply to your site.

Scenario FlowExpected Result/ Pixels to FireAdditional Verification
Start at the HomepageHomepage Page View Pixel
Navigate to a Category PageCategory Page View PixelMake sure that the cat and cat_id parameter is consistent with the values in the product feed sent to Bloomreach.
Add two Products from the Category Page
to the cart
Two ATC Event Pixels1.Ensure that the ref parameter is populated with the referring URL from the Home Page.

2.If your site does not have Skus, leave the Sku field empty (the validator will show a red flag for this value but this would be expected).
Check out the productsOther Page View Pixel On the 'Thank you' pageMake sure that “prod_id” for a given product is the same value across:

1. Product Page View

2. Add to Cart Event

3. Basket in Conversion Event

4. The product feed sent to Bloomreach

Scenario 3: Add a Product from a Collection Page

This scenario only applies if you have Product Collection Pages. 
Skip if this does not apply to your site.

Scenario FlowExpected Result/ Pixels to FireAdditional Verification
Start at the HomepageHomepage Page View Pixel
Navigate to a Category PageCategory Page View PixelThis should be populated with the cat and cat_id values and the data should be consistent with the feed data.
Click on a Product Family PageProduct Page View PixelThis should be populated with prod_id, prod_name, and SKU, and the data should be consistent with the feed data.
Add two Products from the Product Family Page
to the cart
Two ATC Event Pixels1.Ensure that the ref parameter is populated with the referring URL from the Category Page.

2.If your site does not have Skus, leave the Sku field empty (the validator will show a red flag for this value but this would be expected).
Check out the productsOther Page View Pixel On the 'Thank you' pageMake sure that “prod_id” for a given product is the same value across:

1. Product Page View

2. Add to Cart Event

3. Basket in Conversion Event

4. The product feed sent to Bloomreach

 Scenario 4: Find a product through Organic Search (e.g. Google)

Scenario FlowExpected Result/ Pixels to FireAdditional Verification
Go to Google (or other search engine) and 
search for one of your site's products.

Click on the product link from Google 
(or other search engine)
This will bring you to a Product Page (PDP)Product Page View PixelMake sure that the ref parameter shows as Google 
(or the search engine you used to perform the organic search)
Add the Product to the cart (from the PDP page)ATC Event Pixel1. Ensure that the ref parameter shows as Google
(or the search engine you used to perform the organic search)
2. If your site does not have Skus, leave the Sku field empty (the validator will show a red flag for this value but this would be expected).
Check out the productsOther Page View Pixel On the 'Thank you' pageMake sure that “prod_id” for a given product is the same value across:

1. Product Page View

2. Add to Cart Event

3. Basket in Conversion Event

4. The product feed sent to Bloomreach

Scenario 5: Add a Product from a filtered Category Page

Scenario FlowExpected Result/ Pixels to FireAdditional Verification
Start at the HomepageHomepage Page View Pixel
Navigate to a Category PageCategory Page View PixelMake sure that the cat and cat_id parameter is consistent with the crumb values sent to Bloomreach in the product feed.
Filter the Category Page to find a specific productScenario A: 
If there is a full page load after the filter is selected, another Category Page View Pixel is expected to fire. 

Scenario B: If there is no full page load after the filter is selected, but your Category URL changes, another Category Page View Pixel is expected to fire. 

Scenario C: 
If there is no full page load after the filter is selected and the URL does not change, no additional Page View pixel is expected to fire.
Click on a Product from the Search Results Page
to go to the PDP page
Product Page View Pixel
Add the Product to the cart (from the PDP page)ATC Event PixelIf you site does not have Skus, leave the Sku field empty (the validator will show a red flag for this value but this would be expected).
Check out the productOther Page View Pixel On the 'Thank you' pageMake sure that “prod_id” for a given product is the same value across:

1. Product Page View

2. Add to Cart Event

3. Basket in Conversion Event

4. The product feed sent to Bloomreach

Scenario 6: View a Content page

Scenario FlowExpected Result/ Pixels to FireAdditional Verification
Start at the HomepageHomepage Page View PixelView should be present only if applicable.

The test fails if view_id is present even though it's not required.
Navigate to content pageContent Page View pixelIf Page View ptype is content and has a catalogs object, then the referenced catalogs should be valid Content catalogs in CMS accounts/catalogs.

1346

Also, if catalogs parameter is not passed, no error message will be shown in the pixel.