Adding a conversion tracking script
If you are running a commercial site then you may want to use one of the conversion tracking services to record the customer action after submission. Here we'll use the Google tracking code as an example; others will be very similar.
Note
Google Conversion Tracking is not the same as Analytics which track every page on your site. Google Analytics (and other similar services) need the code on every page and the best way to do this is either with a custom module (for example, the gh
Google Analytics module), or by adding the code to your template.
Getting ready
You can use this with any form but you will need to have the ID codes for your own Google AdWords account to use it.
How to do it...
1. The conversion tracking code has one slightly different requirement to other form scripts. We only want to show it after conversion so we don't want the code in the Form HTML, but in one of the OnSubmit After boxes instead. The OnSubmit After box is preferred but the...