Home > Omniture > How do you deal with multiple values for multiple products on a single page in Sitecatalyst 14?

How do you deal with multiple values for multiple products on a single page in Sitecatalyst 14?

April 20th, 2009

I want to pass multiple values for multiple products on a single page. When I am referring to multiple products I don’t mean products as in the e-commerce world, I mean s.products the only variable in Sitecatalyst that can take multiple values on the page.

Take this publishers example I have stories and stories can be about more than one topic and include more than one company. So I tag the story with multiple topics and a couple of companies. So far so good I can achieve this within Sitecatalyst. Most obvious thing to do here is use s.products in conjunction with categories and I can pass these values.

e.g s.products=”themes;music,themes;phone,company;apple,company;nokia”

So in the above I am setting a themes category which contains the themes music and phone and a company category with apple and nokia in there. So what’s wrong with that? Well since all values in there are essentially products I have an issue I want to correlate themes with companies in the same way I could with products and an e.var. The issue here is I can’t correlate across products. 

So I am stuck. Who can help me? Any suggestions?

Author: admin Categories: Omniture Tags: , ,
  1. April 20th, 2009 at 14:07 | #1

    To do this, I would recommend you set a Merchandising eVar for each Product in the Product string. This eVar would have the value you are showing above in the Category parameter (leave that blank). You can see the syntax for Merchandising eVars in the manual. Once you do this, you can subrelate this new eVar with Products since s.products has full subrelations…

  2. April 21st, 2009 at 11:46 | #2

    Thanks Adam. Looking at the example syntax in help

    Example
    s.products=”Footwear;Hiking Boots (1234);;;;evar=Mens”
    s.events=”prodView”

    It shows just one value on being passed the merchandising evar. My issue is on a page I would want to pass more than one value to an evar.

    Using my example in the post themes are the s.product and companies are in the evar. So on a page I would need to do this
    s.products=”themes;music,themes;phones;;;;evar=apple, nokia” will that work? It wont treat apple, nokia as distinct?

  3. April 21st, 2009 at 13:49 | #3

    s.events=”prodView,event1″ s.products=”category;product;;;;evarN=merch_category|evarM=merch_category2″

    Will need to experiment with this to see if it fits my needs. Thanks again.

  1. No trackbacks yet.