We are using a WordPress site for a corporate site, so the desire is to add tags via GTM. Of course it works great on the entry page. Since these fire asynchronously, when we get to the form page, the tag is not firing early enough for the form to see the UTM values. I have tried bumping up the priority, but that isn't consistent either. Do you have any tricks for force a GTM tag to fire before the Forsm2.sj or to delay the Forms2.js?
You don’t want to delay loading the forms2.min.js — we’re just talking about hidden fields, which can be added anytime after the form renders and before it’s submitted to Marketo.
Instead your custom form-related JS should wait for the forms library to load. Search my past posts for “accurately background-loading.”