JavaScript Google analytics Event tracking code (radio buttons) google analytics event tracking,google analytics event category,google analytics

I'd like to track a form on my real-estate website. The difficulty is that I have 3 radio buttons (only one can be chosen) and I don't know how to link the button chosen to the event that will be send after the customer has clicked on "Sent" (envoyé).

See the form on the bot left and corner here :

http://www.ajp-immobilier.com/annonces/achat/appartement/bordeaux-33/102071295.htm

So my code, would be :

$('.btn-send-contact ').on('click',function() {
ga("send", "event", " Page Detail Annonces " , "click" ,"Contact envoyé",);

... but what should I add to indicate inside GA that this event is linked to the chosen radio button? Otherwise I know that the event is "sent" but I don't know for what button...

I apologize if it's not clear enough, I'am not a developer nor a native english speaker.

Answer:1

I have several components that use basically the same table so I'm in the process of abstracting out that table. I have solved most of my dynamic table population needs but have yet to find a solution ...

I have several components that use basically the same table so I'm in the process of abstracting out that table. I have solved most of my dynamic table population needs but have yet to find a solution ...

  1. angular passing click event

I'm getting an unusual error: ctx_wrap.fillStyle is not a function on this line: ctx_wrap.fillStyle('#b8b8b8'); in here: ... this.paint = function() { self.path(ctx_wrap); if (!isOver) {...

I'm getting an unusual error: ctx_wrap.fillStyle is not a function on this line: ctx_wrap.fillStyle('#b8b8b8'); in here: ... this.paint = function() { self.path(ctx_wrap); if (!isOver) {...

What happens when you do npm install in a dev environment on a project that has both a package.json and a npm-shrinkwrap.json file? Will it ignore the shrinkwrap and use package.json for everything or ...

What happens when you do npm install in a dev environment on a project that has both a package.json and a npm-shrinkwrap.json file? Will it ignore the shrinkwrap and use package.json for everything or ...

  1. shrinkwrap developmental psychology with connect

I have a problem with react components and props. Here's exception below. What I'm doing wrong? Uncaught TypeError: Super expression must either be null or a function, not undefined class ...

I have a problem with react components and props. Here's exception below. What I'm doing wrong? Uncaught TypeError: Super expression must either be null or a function, not undefined class ...

  1. typeerror super expression must either be null
  2. typeerror super expression must either be null or a function
  3. × typeerror super expression must either be null or a function