How to track forms adding the auto-identify script via Google Tag Manager.

Rune Juul-Stokholm Updated by Rune Juul-Stokholm

How to track forms adding the auto-identify script via Google Tag Manager.

We recommend that you do two separate custom tags. One for the forms tracking as shown below and one for the web tracking which you can find a guide on how to add here.

  1. To install the auto-identify form tracking script using Google Tag Manager start by opening up Google Tag Manager.
  2. Open up Google Tag Manager and click on 'Add a new tag'.
  1. Name the tag in the top left corner e.g. Dreamdata Form Tracking and then click on 'Tag Configurations'.
  2. Pick 'Custom HTML' from the list under the header 'Custom'.
  3. Copy the script below: Paste in this script. in as showed in the image below:
    1. <script async id="dreamdata-form-identify" src=""></script>
    2. If you are using Hubspot Forms, please do not apply the above tracking but the following one:
      var script = document.createElement('script');
      script.async = 'true'; = 'dreamdata-form-identify';
      script.src = "";
      script.setAttribute('data-hubspot-forms', 'true');
    3. Paste in this script as showed in the image below:
  1. Now click on 'Triggering' just below from where you added the script and pick all pages as a trigger.
  2. Click: Save, in the top right corner.
  3. The last thing you need is to submit the tag to your workspace by clicking: Submit in the top right corner of the home screen:
  4. The tag will now immediately start firing.
    1. Test if you have submitted the the script correctly by try filling in a form on you website.
    2. Now go to the Dreamdata app and click: Engagement -> Real-Time. After 3 minutes you should, so forth you have submitted the script correctly, be able to see the form you just submitted.
Please note: After tracking is set up, it can take up to 48 hours for the first data modeling process to complete. Once done, your Engagement reports will open up.

How did we do?

How to set up up Dreamdata web tracking (analytics.js) using Google Tag Manager

The Onboarding Process