Whether you push new attributes for your products or use the existing ones to tag your pages, follow these steps to confirm you have done it correctly.
New product attributes
If you have pushed new attributes, make sure you can find them in the platform, and that the “type” and “id” field match.
1. Go to: Reports > Products report > Filter products
2. +Add condition > select Product attribute > Choose an attribute type from the drop-down and then click Select attributes.
A list of all the product attributes associated with that attribute type displays.
E.g. Men, Women and the ID associated with those attributes.
If you can’t find the attributes, check the API logs for errors and try again.
- You can also use our GET product endpoint to make sure the attributes are actually there.
- If you still can't place the attributes, please raise a support request.
Existing product attributes
If you've tagged your website using existing attributes, make sure that the product attribute ID and type match with the ID and type you passed at the product level.
E.g. If you have passed the below attributes within the product object:
"attributes": [
{
"id": "category:womens",
"label": "Womens",
"type": "category"
},
{
"id": "style:casual",
"label": "Casual",
"type": "style"
}
],
...then you should have tagged your website with the below:
```json { "attributes": [ { "id": "category:womens", "type": "category" },
{ "id": "style:casual", "type": "style" } ] } ```
A common mistake is to tag your website with a different product type and ID from the product object. It’s important that both match in order to trigger campaigns.
Comments
0 comments
Article is closed for comments.