Meta Google Analytics in menu

SupportCategory: TA PlutonMeta Google Analytics in menu
Fabrica Staff asked 6 years ago
Good afternoon.
I'm sorry my bad English.
I must be included in each menu button, ta-pluton theme, google analytics code. Which script should I include these codes, because the menu is generated dynamically?

Follow the Google Analytics code:

Home Menu = onclick="ga('send','event','click','home');"

Services Menu = onclick="ga('send','event','click','servico');"

I have to do this in all menus site

Thank you and I'm waiting.