WordPress.org

Forums

Gravity Forms: Google Analytics Addon
[resolved] Where to Add GA Code for Ajax Form (3 posts)

  1. wireframe74
    Member
    Posted 11 months ago #

    HI I have had a client ask me to add tracking code to a few forms. One of these forms uses ajax. I installed your plugin and am just wondering where I should drop in my GA tracking code.

    I set the confirmation to a page and dropped the code into a template. As the form is usuing ajax should I use a text confirmation and should I simply add the tracking code to the text field within the settings area?

    Help appreciated

    https://wordpress.org/plugins/gravity-forms-google-analytics-addon/

  2. MikevHoenselaar
    Member
    Plugin Author

    Posted 10 months ago #

    GA tracking code you can use the JS script GA provides you and add that in your header.php.
    You can also use a GA plugin like Google Analytics by Yoast.

    The plugin we made only works if you already have an active GA script implemented.

    The text field needs a virtual url.
    Like /thank-you or /contact-page-thanks something like that.
    This is useful so you can measure Goals of your forms in GA.

  3. MikevHoenselaar
    Member
    Plugin Author

    Posted 8 months ago #

    Hopefully everything is clear now :).
    But I think it is since its has been 2 months since :)

Reply

You must log in to post.

About this Plugin

  • Gravity Forms: Google Analytics Addon
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic