[Plugin: Contact Form 7] Adding onSubmit JS for Google Analytics tracking purposes
-
Hi,
I would like to add some javascript to the my Contact Form 7 so that I can track when someone submits the form in Google Analytics.
Where in the files can I find the code for Contact Form 7 so that I can add the necessary javascript? Or can I edit it within the WordPress Admin?
Here is what I am basically looking to do but not sure where I can find this line of code. Thanks!
<form name=”ContactUs” ” action=”ContactUs.asp” method=”post”> Then it would get updated to look like this: <form name=”ContactUs” action=”ContactUs.asp” method=”post” onSubmit=”javascript:urchinTracker (‘/contact_us_form_submitted’);”>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Contact Form 7] Adding onSubmit JS for Google Analytics tracking purposes’ is closed to new replies.