Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How do you pass a string to the report

Rajab
Level 1
Level 1

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

1 Reply
Gigazelle
Employee
Employee

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?