How to track Webform module submissions as goals in Google Analytics
I use the webform module on almost all of the Drupal sites that I develop. It may not be the most elegant solution (although you can make it look almost any way you want with a bit of theming), it makes creating contact forms dead simple.
With every form I create I also want to track those submissing using goals in Google Analytics. It's pretty important to track everything you can on your site so you can drill down into that information if you need to at a later date. Most people are happy just to look at the daily visits and maybe even go as far as the traffic sources in Google Analytics, but this usually doesn't provide much actionable information.
To setup a goal in Analytics, click Edit next to the profile and click Edit next to the goal you would like to setup (G1 if you don't have any already setup).
If you're using the Webform module, the goal URL is going to be http://www.yourdomain.com/node/<nid>/done where <nid> is the node id for your webform. You can also find this out by doing a test submission and copying the URL, but make sure you leave off the ?side=X otherwise it won't work.
Another thing that you might want to do with the webform module is change the path of the thank you page to be something a little more user friendly. To do this, goto Site Building > URL Aliases > Add Alias. Enter the path of the current thank you page (node/<nid>/done) and the path you want to use (eg contact/thanks).
Comments
Thank you for this tutorial -
Thank you for this tutorial - I've been having trouble getting tracking properly set-up for sometime. Would you say you would need to use the 'Head Match,' 'Exact match,' or 'expression match?'
Basically Webform is the
Basically Webform is the module for making surveys in Drupal and allows you to build forms using the administration interface without any programming, so here we found a better information about the concept of tracking Webform module through Google analytic.
Drupal Webform module are
Drupal Webform module are most popular and useful module for collecting information from web site visitors, so its better to know more about the process of tracking these modules submission as goal in Google Analytics, although Webform modules are very much useful in collecting valuable information.
Drupal are one of the most
Drupal are one of the most essential part while preparing or developing a website and its content management systems, I used to learn every bit of steps from this post regarding the subject of submission using goals in Google Analytics.
Webform modules are one of
Webform modules are one of the best concepts which are being used to detect or making the survey in Drupal after a submission or it is also beneficial for collecting information from your contacts, therefore we get the solution for submissing using goals in Google Analytics.




