Highlighted

How to send to SiteCatalyst plain s.products without using e-commerce extension?

Silver Contributor
Silver Contributor
Hi, searching through the community i've seen that s.products is built by the e-commerce extension (which is great, btw). Unfortunately, we often hit the case in which s.products is already present as static "assignment" in the page, like other variables (pageName etc). This is the result of a legacy implementation of SiteCatalyst tags in page. Is there a way to send it to SiteCatalyst as is, like any other simple variable? We'd like to avoid trying to parse and split it to create data for the e-commerce extension, because it's just ready. Thank you, Alessandro
1 REPLY 1
Highlighted

How to send to SiteCatalyst plain s.products without using e-commerce extension?

Employee Emeritus
Alessandro, This is possible by simply mapping the variable that holds the products string to "products" within the SiteCatalyst Tag Mapping Section. See screenshot below. However, while this is easier then parsing the information it will only serve the purpose of SiteCatalyst. If other tag vendors need the product information now or in the future then the parsing will need to take place anyway. We do have parsing code already written to take care of the product string and populate utag_data object variables. Let us know if you'd like help with the parsing script. Hope this helps.