In order for Dynamic Yield’s script to deliver the right experiences for the different page types on your site, and for us to gather accurate behavioral data, you are required to report the context of each page. The page context includes details about the page type (home page, product page, etc.) as well as page-specific information (product, category, etc). The page context should be placed in your header of each page, right before the Dynamic Yield script is called as specified below.
Note: Without page context data, many important Dynamic Yield features will not work. For details, see Missing Page Context Data.
Page Context for eCommerce Sites
The following calls should be placed before the Dynamic Yield script in the <head> tag of your site, as seen in the example below. Once this has been implemented in the <head> tag before the script and validated, please contact your CSM to enable additional advanced features in your account.
Note: All page context values must be in capital letters.