How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Gold Contributor
Gold Contributor

The link to the Help Docs in the AppMeasurement.js Tag (SiteCatalyst) does not work anymore. I also could not find it here with a search. I found some documentation (https://community.tealiumiq.com/t5/Tags-and-Client-side/Adobe-Analytics-SiteCatalyst-Tag/ta-p/664) on the old SiteCatalyst Tag where this supposedly worked, but I cannot get it to work with the AppMeasurement.js tag.

 

I am trying to set Product-level Events to count the number of times a product was presented in a certain way, e.g. "detail view", "cart", "recommendation list" etc..

 

So if there are multiple products on the page, I want a metric (event) to count PER Product.

 

detailview = event60

cart = event61

recommendation list = event62

 

Example: A Product Detail Page for Product X with a Recommendation List of 2 products (Y and Z):

s.products = ";Product X;;;event60=1;,;Product Y;;;event62=1;,Product Z;;;event62=1;"

 

I have a UDO variable "prod_presentation" which contains the presentation form of the product, e.g.:

 

prod_presentation: ["detail","recommendation","recommendation"]

 

So what I would like is a toolbox like for the "normal" (non-product level) events which allows me to do something like "when prod_presentation=detail, then set event60".

 

 

The goal is to have a report like this

 

Product Name   Detail Views   Cart Views    Recommendation List Views    Orders

Aquarium                  230              80                              1230                            23

Hamster Cage          100              34                               19999                           2

8 REPLIES 8

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Employee Emeritus

Good morning @loldenburg. Which document are you referring to if I may ask? Thank you and I look forward to your reply. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Gold Contributor
Gold Contributor

@kathleen_jo 

I wrote that it is the SiteCat AppMeasurement Tag and that the link to the help Doc in the tag didn't work anymore. 

Now, someone has corrected the link it appears and it works again.

https://community.tealiumiq.com/t5/Tags-and-Client-side/AppMeasurement-for-JavaScript-Tag/ta-p/13380

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Employee Emeritus

Hello @loldenburg. Thank you so much for letting us know! 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Gold Contributor
Gold Contributor

https://community.tealiumiq.com/t5/Questionable-Content/OLD-AppMeasurement-for-JavaScript-Tag/m-p/23... - the link is down again, telling me I don't have enough rights.

Moreover, my initial question has not been answered yet. How do I fill the event-level variables for products in SiteCatalyst via Tealium? There seems to be no way.

 

Going to Product-Level Events and choosing "Select one Product-Level event. Events selected here will appear in the "products" string." does not reap any benefit

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Employee Emeritus

Hello @loldenburg. The article has been moved here:

 

https://community.tealiumiq.com/t5/Tags-and-Client-side/AppMeasurement-for-JavaScript-Tag/ta-p/13380

 

Let me see about getting you an answer as well. Thank you for your patience. 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Gold Contributor
Gold Contributor

Why not updating the link in the tag itself then? 

 

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Community Manager
Community Manager

Both merchandising evars and product-level events will map the exact value of the variable into the product string. If you need to convert those values to a new value in the tag then you'll need a separate variable. In this case I would recommend two new variables, one each for the events you are tracking: prod_presentation_detail and prod_presentation_recommendation (you can shorten the names if you like).

 

Given you have this in your data layer:

 

prod_presentation: ["detail","recommendation","recommendation"]

 

You would need these new variables to look like this: 

 

prod_presentation_detail         : ["1","0","0"]
prod_presentation_recommendation : ["0","1","1"]

 

You would then map prod_presentation_detail to product event60 and product_presentation_recommendation to product event62. The resulting product string would look like this:

 

s.products = ";Product X;;;event60=1;event62=0,;Product Y;;;event60=0;event62=1;,Product Z;;;event60=0;event62=1;"

 

You can create those additional array variables easily using the Lookup Table extension and the array variable type, seen here:

 

Tealium_Management_Console.jpg

 

The lookup match entries for product_presentation_recommendation would have the output values swapped so that "detail" results in "0" and "recommendation" results in "1".

 

 

Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.

How do I get Product-level Events in AppMeasurement Tag (SiteCatalyst, Adobe Analytics) to work?

Gold Contributor
Gold Contributor

Hello and thanks for the input, I got to this solution by myself in the meantime. However SiteCatalyst does not seem to report the way you'd expect on this... :/ It counts the productdetail event also for the products that got the productrecommendation event only. 

 

But of course, this is a SiteCatalyst problem and not a Tealium issue. Anyhow, if anyone ever got product-related events running smoothly, I would love to hear from you.

Public