Where Eloqua web tracking meets Google Tag Manager
One of the very first things clients ask for when they start working with Eloqua is web tracking. They want to see which pages their contacts visit, which content gets the most attention and how this links back to campaigns, scoring and revenue.
Eloqua solves this with Asynchronous Web Tracking. It is a lightweight script that sits on your site and sends page view data back to Eloqua. When that data is correct you get better lead scoring, stronger intent signals and far more intelligent nurture. When it is wrong you get gaps, ghost traffic and reporting that never quite lines up with reality.
For those of you who want the official detail, here is the Oracle documentation on asynchronous tracking: Eloqua Asynchronous Visitor Tracking Scripts .
Eloqua gives you a standard script and tells you to paste it into
the
head
of every page you want to track. That is fine until your web team
says:
“We manage everything through Google Tag Manager. Can you just give us a tag for Eloqua tracking?”
The usual answer from an Eloqua admin is: “Sure, here is the script.” The web team drops it into GTM as a Custom HTML tag, publishes and assumes all is well.
This is where things quietly break.
If you paste the Eloqua script into Google Tag Manager without a small change, it often does not fire correctly. GTM wraps your code in its own sandbox and some of the event handling inside the stock Eloqua script no longer behaves as expected. Rather than go into every technical detail, I will give you the practical fix and then show you how to test it.