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="https://cdn.dreamdata.cloud/scripts/identify-form/v1/identify-form.min.js"></script>
    2. If you are using Hubspot Forms, please do not apply the above tracking but the following one:
      <script>
      var script = document.createElement('script');
      script.async = 'true';
      script.id = 'dreamdata-form-identify';
      script.src = "https://cdn.dreamdata.cloud/scripts/identify-form/v1/identify-form.min.js";
      script.setAttribute('data-hubspot-forms', 'true');
      document.head.appendChild(script);
      </script>
    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

Contact