How to add Google Analytics conversion tracking on the Thank You page?

To add Google Analytics conversion tracking on the Thank You page of your online form, follow the steps below:

1. Follow our step-by-step guide on how to track form activity with Google Analytics.

2. Create a JavaScript file that contains the code shown below and upload it on the Web. Google Analytics and Universal Analytics use two different conversion tracking codes. Copy the code corresponding to the analytic type you are using from the table below.

table.page_content_table {border-collapse:collapse;}
table.page_content_table td {padding:5px 10px !important; width:350px; border:1px solid #ccc;}

Google Analytics Universal Analytics
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-33613885-1‘]);
_gaq.push([‘_setDomainName’, ‘’]);
(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);

(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga(‘create’, ‘UA-62707254-1‘, ‘auto’);
ga(‘send’, ‘pageview’);

Replace UA-62707254-1 or UA-33613885-1 with your Google Analytics profile ID.

Load the file on a server from the Web. You will need it’s URL in the next step.

3. Go to the SettingsAdvanced section of your form, check the box Add a JS script to the Thank You page of your form and paste the URL of the JavaScript file (.js) where your Google Analytics conversion tracking code is saved.

Google Analytics conversion tracking ></p>
<p>4. Hit <b>Save changes</b> and you are done.</p>
<p>For assistance, don’t hesitate to contact our Support Team at or via our <a href=contact form.

Olivian Stoica
Olivian Stoica
Oli's enthusiasm for helping our fellow users led him to write thorough know-how articles and tutorials that would make form building a bliss on 123FormBuilder.

Leave a Reply

Your email address will not be published. Required fields are marked *

This website is using cookies. By continuing to browse, you are
agreeing to our use of cookies as explained in our Cookie Policy. OK