Area: Optimizely Product Recommendations
Applies to versions: 1.0 and higher (JavaScript API)

Attribute page tracking request

Recommended reading 

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 Usage


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.



The name of the attribute




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.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Nov 06, 2017

Recommended reading