Learn about the custom Web Pixel events supported by Glood.AI
Customer Preferences
glood:customer_preference
Field | Type | Description |
---|---|---|
preferences | Array of Objects | An array of key-value pairs representing customer preferences |
preferences
array contains:Field | Type | Description |
---|---|---|
key | String | The key representing the type of preference (e.g., “tags”, “categories”) |
value | String | A string representing the value associated with the key (e.g., “tag1,tag2”) |
Section Interaction Events
glood:section:click
Field | Type | Description |
---|---|---|
page | String | The page ID where the click occurred |
parent.productId | String | null | ID of the current product page (if applicable) |
parent.variantId | String | null | ID of the current product variant (if applicable) |
products[].productId | String | ID of the clicked product |
products[].variantId | String | ID of the clicked product variant |
section | String | ID of the Glood recommendation section |
sectionServeId | String | Unique serve ID for the section render |
requestId | String | Unique request ID from the Glood recommendations API call |
glood:section:add_to_cart
Field | Type | Description |
---|---|---|
page | String | The page ID where the add to cart occurred |
parent.productId | String | null | ID of the current product page (if applicable) |
parent.variantId | String | null | ID of the current product variant (if applicable) |
products[].productId | String | ID of the product added to cart |
products[].variantId | String | ID of the product variant added to cart |
products[].quantity | Number | Quantity of the product added to cart |
section | String | ID of the Glood recommendation section |
sectionServeId | String | Unique serve ID for the section render |
requestId | String | Unique request ID from the Glood recommendations API call |