Attribute page
2 min
Note Ensure the attribute name matches the attribute name supplied in the catalog feed.
Name | | Description and usage |
|---|---|---|
attribute | | A string containing the attribute/value pair. The attribute/value pair tracked must exactly match the attribute name and value specified in the catalog feed. |
| name | [String] The name of the attribute. |
| value | [String] The attribute value. |
An attribute page is tracked using the following script:
{
"type" : "attribute",
"lang" : "en-gb",
"attribute" : { "name" : "style", "value" : "Casual" }
}This page does not apply to all sites. It is included here for reference if required.
Note You can also add the customAttributes or customer elements to this page tracking request. For more information, see Add customAttributes or customer elements (Optional).