gtm4wp icon indicating copy to clipboard operation
gtm4wp copied to clipboard

Push dataLayer, but don't load GTM?

Open rrmn opened this issue 2 years ago • 2 comments

Cheers @duracelltomi , First: Thanks for all the hard work and tenacity. Love the plugin! <3

Now to the question:

Context

My clients are using a variety of different consent solutions which need to load GTM by themselves for it to work properly. They do not handle it well if GTM is loaded externally.

Question

Is there a way to just push events to the DL without loading the GTM container?

If yes, how to do it? I wasn't able to find it in the settings.

rrmn avatar Mar 22 '22 12:03 rrmn

in latest beta, you can turn the container off, so the container is not inserted, but all push events remain in the code.

morvy avatar Mar 22 '22 12:03 morvy

The "Off" placement option also exists in v1.14 and older, in v1.15 the UI has been changed to give a better overview of options for plugin users.

duracelltomi avatar Mar 22 '22 16:03 duracelltomi