Skip to main content
All CollectionsForms and data basesCreate formsFAQs
How to use Google Analytics and Google Tag Manager in my forms
How to use Google Analytics and Google Tag Manager in my forms

Integrate Google Analytics & Tag Manager by pasting their code into Formaloo's "Custom JS" box. Optimize your forms for better results.

Updated over a week ago

Integrating tools like Google Analytics (GA4) or Google Tag Manager (GTM) with your Formaloo forms helps you track user behavior, conversion rates, and more.

How to add the tracking code:

  1. Open your form in Edit Mode.

  2. Click the ⚙️ Settings icon in the top right corner.

  3. Scroll down to the Custom JS section.

  4. Paste the tracking script provided by Google Analytics or Google Tag Manager.

  5. Click Publish to save your changes.

tracking code

Note: The script you paste in this section will be injected into the <head> of your form’s webpage.

About the GTM body tag

Google Tag Manager usually provides two parts:

  • A <script> tag for the head section (required)

  • A <noscript> tag for the body section (optional)

Only the head script is necessary for proper functionality in Formaloo. You can safely ignore or skip the body tag—it won’t affect how GTM works.

After pasting your script:

Preview and test your tag setup in GTM to confirm it's firing correctly.

📝 Additional insights:

👉 How to add pixels to my form
Use this method for Facebook Pixel, Mixpanel, or other tracking tools.

Did this answer your question?