You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using _clear in production for a year or so and it has been working great. Obvious danger would be an undocumented change that breaks this functionality, but so far so good.
[If that's too scary, the more hacky way that also works is that you can just push two events. First, what I'd call a 'clear' utility event (eg push an 'empty' event with only the variable(s) in question, where all of them are set to a value of undefined - the event name can be anything you pick). Then, simply push your 'real' event with all the good data.]
Hi,
we need to use the
_clear
property that is described here https://github.com/google/data-layer-helper?tab=readme-ov-file#preventing-default-recursive-merge, but we're not sure if it's something that can be used in production.It solves a problem that we have, but there's no mention about it in GTM docs, so I figured we could ask you there.
The text was updated successfully, but these errors were encountered: