Problem with Google Tag Manager Package

Cant get the GTM package to work. I installed the npm and added my GTM container id in the frontity.settings.js.

Do I have to add a page view trigger or something?

I can see the container on my page (https://mossbjerling.com/). It also validates with Google Tag Assistant - but it doesnt show any containing tags. I have 2 tags published inside my container:

  1. Analytics with my UA code.
    2. <!-- a simple html comment -->

They are both set to trigger on all pages.

You need to add an additional trigger set to custom event, where the event is pageview.

1 Like

Thanks :slight_smile: That made the trick!

Couldn’t find any documentation on that.

Hey @bjerling thanks for the feedback.

The Documentation team is already working on improving this part of the docs, and has taken into account your message: