Forms

Reo.Dev’s JavaScript beacon works consistently across all your assets — website, documentation, and product. If the JS is already installed on any of these properties, you don’t need to re-install it to track form activity.

However, if you're using separate platforms for landing pages or lead capture (e.g., HubSpot, Unbounce), you’ll need to manually add the JS snippet to those assets to track form opt-ins effectively.

circle-info

Form tracking is currently supported for:

  • HubSpot forms

    • Hubspot form

    • Non-HubSpot forms utilizing the HubSpot API

  • Ninja Forms

  • Standalone form with semantic HTML <form> tag and <input type="submit" />

If you’re using a different form library, please reach out to your account manager.

Step 1: Add Key Forms

  1. Add URLs of key sign-up forms you want to track

  1. Add the custom Form Name for each form

Once you add the Form Name, you can create a Segment to view accounts/developers/buyers interacting with specific form pages. The page name will appear under ‘Key Forms’ filter while creating segments.

circle-info

Note: This filter currently identifies all visitors to the page, not just form submitters. We’re working on enhancing this feature so you’ll soon be able to filter users who specifically filled out the form on a configured page.

Step 2: Install Tracking Pixel

Copy the tracking code snippet and paste it in the <header> of your site

Here are few more ways you can install JavaScript on form pages:

  1. Using Google Tag Manager. Here’s the setup guide.arrow-up-right

Finally, click on Save once you’ve added the form pages.

Error Scenarios

  • Script initiation

    Script initiation has been modified to rely on code initiation only on successful callback post download from CDN. So it will only initiate if successfully downloaded. In case the download fails, the javascript won’t get enabled but this eliminates the likelihood of an error scenario of page breaking

  • API failure on token delete

    On deletion of all Reo tokens, the most recent event tracking data will likely fail, but subsequent API calls will work fine

  • Any inadvertent code failure on JavaScript

    This should not be an issue since the code is wrapped in a try-catch block, the console may throw errors, which won’t be visible even on the console since logger would be disabled on the script

Cookie Management and Compliance

To learn more about Reo.Dev's cookie usage, categorization, and best practices for implementation, refer to this guide.arrow-up-right

Content Security Policy (CSP) Considerations

If your website uses a strict Content Security Policy (CSP), you may need to update it to allow our script to load and execute correctly. Please ensure the following directives are updated to include our domains:

Required CSP Directives

Reo.Dev’s JavaScript beacon works consistently across all your assets — website, documentation, and product. If the JS is already installed on any of these properties, you don’t need to re-install it to track form activity.

However, if you're using separate platforms for landing pages or lead capture (e.g., HubSpot, Unbounce), you’ll need to manually add the JS snippet to those assets to track form opt-ins effectively.

circle-info

Form tracking is currently supported for:

  • HubSpot forms

    • Hubspot form

    • Non-HubSpot forms utilizing the HubSpot API

  • Ninja Forms

  • Standalone form with semantic HTML <form> tag and <input type="submit" />

If you’re using a different form library, please reach out to your account manager.

Step 1: Add Key Forms

  1. Add URLs of key sign-up forms you want to track

  1. Add the custom Form Name for each form

Once you add the Form Name, you can create a Segment to view accounts/developers/buyers interacting with specific form pages. The page name will appear under ‘Key Forms’ filter while creating segments.

circle-info

Note: This filter currently identifies all visitors to the page, not just form submitters. We’re working on enhancing this feature so you’ll soon be able to filter users who specifically filled out the form on a configured page.

Step 2: Install Tracking Pixel

Copy the tracking code snippet and paste it in the <header> of your site

Here are few more ways you can install JavaScript on form pages:

  1. Using Google Tag Manager. Here’s the setup guide.arrow-up-right

Finally, click on Save once you’ve added the form pages.

Error Scenarios

  • Script initiation

    Script initiation has been modified to rely on code initiation only on successful callback post download from CDN. So it will only initiate if successfully downloaded. In case the download fails, the javascript won’t get enabled but this eliminates the likelihood of an error scenario of page breaking

  • API failure on token delete

    On deletion of all Reo tokens, the most recent event tracking data will likely fail, but subsequent API calls will work fine

  • Any inadvertent code failure on JavaScript

    This should not be an issue since the code is wrapped in a try-catch block, the console may throw errors, which won’t be visible even on the console since logger would be disabled on the script

Cookie Management and Compliance

To learn more about Reo.Dev's cookie usage, categorization, and best practices for implementation, refer to this guide.arrow-up-right

Content Security Policy (CSP) Considerations

If your website uses a strict Content Security Policy (CSP), you may need to update it to allow our script to load and execute correctly. Please ensure the following directives are updated to include our domains:

Required CSP Directives

Last updated

Was this helpful?