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

Rune Juul-Stokholm Updated by Rune Juul-Stokholm

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

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

  1. To set up web tracking 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 Web Tracking and then click on 'Tag Configurations'.
  2. Pick 'Custom HTML' from the list under the header 'Custom'.
  3. Go to your Dreamdata account and click on Data Platform -> Sources
  4. Click on the yellow Javascript widget in the top left corner and copy the custom script and paste it in, 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 visiting the Javascript widget once more:
    1. At the bottom of the page, so forth you have added script correctly, you will start seeing events coming in.

How did we do?

How to set up Dreamdata Web tracking (analytics.js) manually

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

Contact