Anyone implement RTP via GTM for WP? I can't think of a reason that would not work.
Message was edited by: Nina Gonzalez
Please provide a URL that's guaranteed to trigger a campaign (and preferably also a URL for that same test campaign on a Marketo LP).
When you supply a URL, I will look at it. Having an actual site is a prerequisite for troubleshooting.
Got it, that makes sense. Except that we removed the code, so nothing to see, because the code was preventing the site from loading.
we have RTP and use Wordpress -- when we signed (2 years ago, maybe?) I want to say that there was some alert in the installation process that recommended not using GTM to deploy the code. I even think we tested it and ultimately went to hard code it instead of GTM...
Yes, using GTM can introduce race conditions unless you also use tag sequencing, and tracking this kind of thing down can take a very long time (and doesn't occur if you simply load scripts synchronously, in order).
The reason why there is a note that it's not recommended to use GTM for implementing RTP is because you cannot control the timing of the script injection and RTP should load before anything else on the page (to avoid delays in presenting in-zone CTA's).
Since some of the RTP functionalities requires it loads jQuery by default as a part of the standard script.
In a case where jQuery is already installed on the page there might be some version collision that would cause some things to break of throw JS errors.
Installing it directly to the code might solve the problem - make sure it's installed after the jQuery code.
If the issue persists, ask the support team to disable jQuery in the RTP configurations.