Add Google Analytics click event tracking code in the submit button

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

I need a solution to “bridge” my conversation (Google Goals) through sales pipeline. Currently, I am running two ad campaigns to a Landing page, called "Audientivity". I set up a Google Analytics Goal to track the funnel whenever someone goes from my "ad" to the "landing page" and then to the "schedule a demo" page, but I still need to create a click event goal for "schedule a demo" page and so I know who who clicked on the button to actually submit a form.

The important thing about the form is that it is a Netsuite template form (I use Netsuite for my CRM), so when a user clicks the button, it pushes the form fields to Netsuite. So the button must still be able to have that function, but also the click event. Attached is the HTML for the form and button. the only part of the HTML that needs work from you is the button area. Thanks.

Below are some supporting links and code that you may be able to use.

In the Submit button we need to add the event tag:

[login to view URL]

[login to view URL]

This is the code that needs to be updated based on our button code and then it will come as an event in the analaytics: onClick="ga('send', 'event', { eventCategory: 'order_now', eventAction: 'button_click', eventLabel: 'section_intro'})

example:

<a href="/order-now" class="custom-button-black" onClick="ga('send', 'event', { eventCategory: 'order_now', eventAction: 'button_click', eventLabel: 'section_intro'});"

>Order Now</a>

Google Analytics HTML JavaScript PHP

Project ID: #16527846

About the project

12 proposals Remote project Active 5 years ago

Awarded to:

$25 USD in 1 day
(72 Reviews)
5.9

12 freelancers are bidding on average $40 for this job

Meagan26

Hello, I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer and graphic designer with a diploma in the field of web development. I have been worki More

$55 USD in 1 day
(259 Reviews)
7.4
ksd711

Hi, I have read your project requirement. We can develop this app as we have an Expert and Experienced team for ANDROID and IOS. Can we discuss the REQUIREMENT in detail?

$150 USD in 2 days
(21 Reviews)
5.9
expertPHPSEO

HI I Have read your GoogleAnalytics click event tracking code task carefully . I have working experienced with these Task onclick event submit button for google api . Analytics . Please share project details . More

$61 USD in 1 day
(13 Reviews)
4.4
nishantsaini0442

Hi , I am Nishant i have done this already too many times. so please msg me asap ............................................................................. .

$10 USD in 0 days
(37 Reviews)
4.0
sparkmultiz

A proposal has not yet been provided

$35 USD in 2 days
(3 Reviews)
3.3
Olu9G

Hi, I can quickly and painlessly sort this out for you. I am Tag Manager(Analytics) certified, but most of all have had experience doing the same for other clients. Contact me if you'd like to get started.

$25 USD in 1 day
(1 Review)
0.1
teikko

Hi, So not sure what you need help with since you already seem to have figured out what code to implement? Or is it not working? Pretty sure I can help figure this out if you still need assistance.

$25 USD in 1 day
(0 Reviews)
0.0