Mautic Community Forums

How to connect Mautic with google tag manager?

Hi everyone
I recently installed Mautic 4.0.1 and I would to know how to connect Mautic to Google Tag Manager?
Is there any document?
thanks.

1 Like

What are your use cases exactly?
For example are you

  1. Trying to install the tracking script with Google Tag Manager? Installing the tracking script | Mautic
  2. Or send Mautic form submit events to data layer?

I may be able to help with #1 above.

1 Like

Hi;
Here is my scenario:

  1. Update custom field to show user paid status (trial or paid)
  2. Create Mautic form
  3. When user login to website if his/her status is trial show the form to him (by Google Tag Manager)
  4. In Mautic I can trigger (like +2 point and change user segment) if the form submit
  5. In Mautic get report who submitted the form and who just left the form.
    is it possible?
    Thanks

Hello, it looks like you are trying to render a Mautic form on a webpage if based on the user profile on the website. I do think it is possible, not sure if it is the best way to do that though.
Everything you mentioned does sound possible. You might not even need GTM for this use case.
I am sorry I am not able to help with the specifics in this case. Good luck! And I would be eager to know how it went.

1 Like

I agree: This can easily be done through Mautic Dynamic Web content, not GTM :slight_smile: