Web tracking: Google Tag Manager

Updated by Anton Lauritsen

In this article, we'll cover the necessary steps taken to properly set up your website tracking by 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 (find out more here).

You can also do this manually. Check out this article.

  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 --> Java Script
  1. 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 script correctly by visiting the Javascript widget once more:
    1. At the bottom of the page, assuming you have added script correctly, you will start seeing events coming in.

We are always here to help so please reach out to friends@dreamdata.io with any questions or requests!

Thank you!


How did we do?