- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
01-30-2018 12:15 PM
Hi
I am new to tealium TMS ,
i created a click event in TMS for GUA but can i do something similar to this
ON-Click of any TOP NAV Category
Event Action: Click
Event Category: TOP Nav
Event Label: LINK
I need to include the below line after the EVENT LABEL
"Main Category : Sub-Category"
EX: I have a top navigation menu bar with dropdown sub categories
How do i do that in tealium?
Solved! Go to Solution.
01-30-2018 11:08 PM
01-31-2018 05:54 AM
@Anonymous If your jQuery selector in the onHandler can encompass all the elements needed then consider extracting the values for the event_label with a little bit of code in the variable's value. Our suggestion is to try to avoid raw code where you can, for ease of management. It's easier for someone to see how variables are set in the onHandler extensions. However, if you need more than just a small snippet of code, then @Srinivasan is correct, you'll want to create a JavaScript extension and write custom code to get the values.
08-07-2018 11:26 AM
Copyright All Rights Reserved © 2008-2023