E
E
Evgenia Satonina2018-11-23 11:09:58
JavaScript
Evgenia Satonina, 2018-11-23 11:09:58

There are buttons on the site, as far as I understood on js. How to assign different goals to them?

Hello.
I have a site on WP. Somehow I ordered from a programmer that he would file down buttons with an order form for me.
Now, when ordering a specific model, data about this model comes to my mail. And now I need to assign different goals to each button in Google Analytics. There will be about 8 targets in total.
Please see how the buttons are arranged, and how it is easiest to do without knowledge of JS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Beliyadm, 2018-11-25
@beliyadm

add buttons in html

onclick="ga("send", "event", "mail_submit", "click");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question