How to add Google Analytics conversion tracking on the Thank You page of your online form?

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. Ensure that you enable this option for the tracking process to work.

2. Create a JavaScript file that contains your Global Site tracking code from your Google Analytics account.

The Global Site Tag tracking code is located in the Admin area. Select the account under the Account dropdown and choose the Property you want to get the tracking code for.

123Formbuilder web forms

3. Select Tracking Code and copy the Global Site Tag script and paste it in a text editor, such as Notepad.

123Formbuilder web forms

4. Save the file with the extension .js

123Formbuilder web forms

5. Load the file on a server from the Web. You will need it’s URL in the next step. The script URL needs to be hosted online and public. Choose a secured and trusted hosting service.

6. Go to the Advanced 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.

123Formbuilder web forms

7. In the Thank You page section, make sure to select one of these options: Show text OR Show text,


  1. Do you have to add the .js script even if the thank you page has conversion tracking code in its head?

    1. Hi Samay! If you’re redirecting users to your own Thank You page that has a tracking code, then you don’t need to add the script. The script needs to be added only when you intend to use the form’s default Thank you page. If you have additional questions or need any help with your forms, please don’t hesitate to contact us at Have a great day!

    1. Yes. As long as there are no conflicting named variables or functions. They can be joined together into one long script.

Leave a Reply

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

Frequently Asked Questions

Here is a list of the most frequently asked questions. For more FAQs, please browse through the  FAQs page.

Is this service free?
Yes, we offer a free form builder service. Just sign up to the Basic plan and you are all set. This plan is forever free, but you are limited with a few features only, such as 5 forms per account, 100 submissions per month and you have to keep the backlink to 123FormBuilder on your forms. Check out our features matrix for more information.
How many forms can I create?
It depends on the service plan you are on. Higher service plans enable more features, including more web forms for your account. If you need more forms, go to the My Account section of your account and click the upgrade button. To create an unlimited number of forms, either upgrade to the Platinum service plan or higher. Consult our features matrix for more information.
How can I publish my forms?
You can publish your forms in many ways, by using their direct URL or HTML link, embedding them with a JavaScript code, Inline HTML or iFrame, using the Facebook app or the WordPress plugin, using popups, the Blogger code snippet and many more. Once you have created and customized your form, go to the Publish section to complete your work. Read more in our documentation.
How do I change my form design?
You can change the design of your form for more information. in the Themes section, which is located in your form settings. We offer a set of more than 30 predefined form themes for your forms, but you can also create your own from scratch. You can customize the submit button, the logo and more. To apply your own stylesheets, all forms come with a custom CSS editor.

Can't find what you're looking for?