HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

Attribute page

An attribute page can be any page where multiple products are available to be selected. The selection is based on a particular attribute represented in the catalog feed.

📘

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.


What’s Next
Did this page help you?