Highlighted

Basic Event Tracking, Set Data Values Extension, Help With Conditions

Rookie Contributor

I'm new to Tealium.  I would like to know how to set up a custom event such as clicking a menu item (a href) and send the info to Google Analytics.  I think I'm close to figuring this out.  See screenshot below.  I know you need to tell tealium what url, but how do you tell Tealium which a href you are referring to?  I want the info to be sent to Google Analytics when the menu item is clicked.  Please help.

 

Screen Shot 2018-07-14 at 1.06.03 PM.png

2 REPLIES 2
Highlighted

Basic Event Tracking, Set Data Values Extension, Help With Conditions

Gold Contributor
Gold Contributor
Hello @michaelgray,

I would request you to write a JavaScript code to capture the values via Google Analytics event instead of using Set Data Value extension. I presume Tealium would recommended to use Set Data Value to overwrite the variable to capture the anticipated values.

If you want to capture the Menu items then kindly picked up the right element using selector and write a condition to capture expected values when user click on Menu items along with that write if condition to capture only on those URL.

Kindly let me know if you need any clarifications on this. Hope it helps!!! Happy Learning!!!
Highlighted

Basic Event Tracking, Set Data Values Extension, Help With Conditions

Tealium Employee

@michaelgray

I would have a look at the jQuery extension, set Trigger on to click, and make sure Tracking event is set to link.

Then you can, like you have done in your screenshot, pass the relevant data through the link event to GA.

Adrian

Ask me anything Tealium related or Javascript, or NodeJS.
Please remember to mark solutions as accepted for future searchers.