Make sure you have completed the steps mentioned in the [main Android Application Pixel Integration guide](🔗) before going through this page.
Individual Page View Pixels are triggered on different screens of your app. Add the code snippet given below for each Pixel to where the screen’s logic is written, to trigger it on the relevant screen. Make sure that they are triggered from the `onResume()
` method of the Activity or Fragment.
For detailed information on any of the Page View Pixels or where you should trigger it, refer to [this guide](🔗).
## Global Page View Pixels
Here is a list of the different parameters you can use to configure the pixel:
Parameter | Description |
ref | Synthetic URL from referrer screen |
title | The screen name of the app view |
## Product Page View Pixel
Here is a list of the different parameters you can use to configure the pixel:
Parameter | Description |
ref | Synthetic URL from referrer screen |
title | Screen name of the app view |
prodId | This is the unique ID that identifies a product or product collection. This identifier should match the ID as specified in the product catalog feed |
prodName | The name of the product being viewed |
sku | Unique SKU ID that represents the selected variant of this product. If your site does not have SKUs, leave this blank |
## Content Page View Pixel
Here is a list of the different parameters you can use to configure the pixel:
Parameter | Description |
ref | Synthetic URL from referrer screen |
title | Screen name of the app view |
catalogs | List of CatalogItem objects that are shown on the screen. In case the screen has multiple tabs, only the catalogs of the selected (and visualized) tabs should be included.
If multiple catalogs are shown in the active screen (or tab) all of them should be included.
The `CatalogItem ` object has the following parameters:
_name_ - Catalog Name
_viewIds_ - A unique ID for a specific view of your product catalog. View IDs are decided by Bloomreach and you at the time of integration. This can have Single or Multiple IDs. |
itemId | Unique ID of the item being shown on the screen. This identifier should match the item_id as specified in the content feed |
itemName | Name or Title of the content item |
## Content Search Page View Pixel
Here is a list of the different parameters you can use to configure the pixel:
Parameter | Description |
ref | Synthetic URL from referrer screen |
title | Screen name of the app view |
catalogs | List of CatalogItem objects that are shown on the screen. In the case the screen has multiple
tabs, only the catalogs of the selected (and visualized) tabs should be included.
If multiple catalogs are shown on the active screen (or tab) all of them should be included.
The `CatalogItem ` object has the following parameters:
_name_ - Catalog Name
_viewIds_ - A unique ID for a specific view of your product catalog. View IDs are provided by Bloomreach and you at the time of integration. This can have Single or Multiple IDs. |
searchTerm | The value of the search query that was executed |
## Category Search Page View Pixel
Here is a list of the different parameters you can use to configure the pixel:
Parameter | Description |
ref | Synthetic URL from referrer screen |
title | Screen name of the app view |
categoryId | Unique category ID as referred to in the catalog |
category | The full breadcrumb path of the category, separated by pipe (|). Value needs to match the crumb value in your feed. eg: If the Crumb path is **“Home > Clothing > Outerwear”**, you’ll enter **"Home|Clothing|Outerwear"** |
## Search Result Page View Pixel
Here is a list of the different parameters you can use to configure the pixel:
Parameter | Description |
ref | Synthetic URL from referrer screen |
title | Screen name of the app view |
searchTerm | The value of the search query that was executed for this screen |
## Conversion Page View Pixel
Here is a list of the different parameters you can use to configure the pixel:
Parameter | Description |
ref | Synthetic URL from referrer screen |
title | The Screen name of the app view |
isConversion | Set to **true** to indicate this is a Conversion screen or Order confirmation screen |
basketValue | The total price of the checkout basket including tax, discounts, shipping and/or discounts in the account currency |
orderId | The order ID associated with the order placed |
basket | List of the PixelBasketItem objects (Products purchased).
The `PixelBasketItem ` object has the following parameters:
_prodId_ - Product ID of the purchased product
_name_ - Name of the purchased product
_sku_ - SKU number of the purchased product
_quantity_ - Purchased quantity of the product
_price_ - Price for the product |