How do you pass a string to the report

Avatar

Avatar

Rajab

Avatar

Rajab

Rajab

30-08-2017

Hello All,

Here is my scenario. I have a website with an accordion. There are seven items in it. The DIV container has an unique ID. I have written a generic rule for the accordion items which has a H3 and a general class name to track the hits. Now I would like to see if there is a way to retrieve whether the particular user clicked on a specific item.

Do I need to create individual rules for all the seven items or is there a scripting way were I could grep the parent ID and pass it along to the report. Kindly share your thoughts and ideas. Thanks.

Regards,

Mohammed

Replies

Avatar

Avatar

Gigazelle

Employee

Avatar

Gigazelle

Employee

Gigazelle
Employee

31-08-2017

What report are you trying to pass a string into? Are you using DTM or a legacy implementation? Do you have an example page or block of code to reference?