Title: [Plugin: Visual Form Builder] Google Analytics Goal Tracking
Last modified: August 20, 2016

---

# [Plugin: Visual Form Builder] Google Analytics Goal Tracking

 *  Resolved [Bigshane1212](https://wordpress.org/support/users/bigshane1212/)
 * (@bigshane1212)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-visual-form-builder-google-analytics-goal-tracking/)
 * Hello,
 * I am trying to add goal tracking to the submit button on the form. Can anyone
   offer tips on how to do this? I have read several articles on how to do this 
   however I keep getting fatal errors when I try to add the:
    `onclick="_gaq.push(['
   _trackEvent', 'Button Clicks', 'Products', 'The blue button on the form page']);"`
 * I was using this article (although most say the same)[Tracking Clicks on a Link and Clicks on a Button](http://www.tipsandtricks-hq.com/how-to-track-google-analytics-events-from-your-wordpress-site-3220)
 * Any help would be Great!! Thanks!!
 * Oh and here is a link to the live form: [http://www.sunshinejanitorialandcleaning.com/quote](http://www.sunshinejanitorialandcleaning.com/quote)
 * [http://wordpress.org/extend/plugins/visual-form-builder/](http://wordpress.org/extend/plugins/visual-form-builder/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-visual-form-builder-google-analytics-goal-tracking/#post-3121349)
 * That kind of code can only be added by editing the VFB source code, which I don’t
   recommend.
 *  Thread Starter [Bigshane1212](https://wordpress.org/support/users/bigshane1212/)
 * (@bigshane1212)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-visual-form-builder-google-analytics-goal-tracking/#post-3121350)
 * Thanks for the info. Do you have other suggestions on how to add a GA goal conversion
   tracking?
 * Thanks again!!
 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-visual-form-builder-google-analytics-goal-tracking/#post-3121353)
 * Why don’t you just redirect to another WordPress page or URL and setup your goal
   conversion in Google Analytics that way?
 * I’m not too familiar with goal conversions, but maybe that’ll help.
 *  Thread Starter [Bigshane1212](https://wordpress.org/support/users/bigshane1212/)
 * (@bigshane1212)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-visual-form-builder-google-analytics-goal-tracking/#post-3121356)
 * Yeah that was my plan B, just thought there might be a known trick I am missing.
   Thanks for the help!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Visual Form Builder] Google Analytics Goal Tracking’ is closed
to new replies.

 * ![](https://ps.w.org/visual-form-builder/assets/icon-256x256.png?rev=1205840)
 * [Visual Form Builder](https://wordpress.org/plugins/visual-form-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visual-form-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visual-form-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/visual-form-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visual-form-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visual-form-builder/reviews/)

## Tags

 * [Goal Tracking](https://wordpress.org/support/topic-tag/goal-tracking/)

 * 4 replies
 * 2 participants
 * Last reply from: [Bigshane1212](https://wordpress.org/support/users/bigshane1212/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-visual-form-builder-google-analytics-goal-tracking/#post-3121356)
 * Status: resolved