Expand my Community achievements bar.

SOLVED

List Vars Question

Avatar

Level 3

I scoping to create a list var for values filtered by.  Ex. the list var tag would capture "Mens,T-Shirts,Small,Blue" and write each one in as a value.  

I plan to setup a classification within the list var to group together gender,department,size,color.

Am I able to break down sections of the the classification?

In the example above, could i break down Gender by Department to correlate the two together?  

1 Accepted Solution

Avatar

Correct answer by
Level 6

in your example Mens,T-Shirts,Small,Blue each of  those would get attributed to whatever events you set plus instances when you set list1=Mens,T-Shirts,Small,Blue; but you can classify a list variable just remember that each 'member' of the list is treated equally. We use list variables if we have multiple things on a page we want to count individually. So say your customer goes to a product page and you show them 8 different styles of shirts. You can use s.products and product view. but if it's not ecommerce say showing 8 different images on the page that are chosen randomly or via target etc you can use the list variable to say list1=image33, image21, image18, image83, image38, image69, image78, image4; and set 'event4=1' and define event4 as image view then when you report list1 and event4 each of those images would get incremented by 1 for event4. if on another page the first 7 were the same but the last one was image5 then each would have 2 except image4 and image5 would each be 1 for the event4 value.

View solution in original post

4 Replies

Avatar

Correct answer by
Level 6

in your example Mens,T-Shirts,Small,Blue each of  those would get attributed to whatever events you set plus instances when you set list1=Mens,T-Shirts,Small,Blue; but you can classify a list variable just remember that each 'member' of the list is treated equally. We use list variables if we have multiple things on a page we want to count individually. So say your customer goes to a product page and you show them 8 different styles of shirts. You can use s.products and product view. but if it's not ecommerce say showing 8 different images on the page that are chosen randomly or via target etc you can use the list variable to say list1=image33, image21, image18, image83, image38, image69, image78, image4; and set 'event4=1' and define event4 as image view then when you report list1 and event4 each of those images would get incremented by 1 for event4. if on another page the first 7 were the same but the last one was image5 then each would have 2 except image4 and image5 would each be 1 for the event4 value.

Avatar

Level 1

Yes you certainly can breakdown sections of the classification, because this should be happening within the same image request and acts as eVars for correlation. It looks like what you are trying to do could be captured effectively using the product variable, have you consider that?

Avatar

Level 3

thx warren

from the sound of it it looks to be like using a List Var would be overkill since my values are not going to be that dynamic. I could just use a regular one with a rule builder builder classification built into the logic 

it did spark another idea, would be to create a list var for all s.products on a browse/shop page with a event that would give me another check pt. in the funnel.  i.e. viewed on shopprodview custom event > prodview > scadd

Avatar

Employee Advisor

Using a list var for all products displayed on a browse/shop page would indeed be an effective use for them.