UTM tracking code for forms hosted outside of Eloqua

WJR Will RogersPosts: 1

Hi - has anyone got a full proof example of javascript to add to a CMS landing page (outside of Eloqua) where we host Eloqua forms?

The CMS in this instance is Sitecore. I can't seem to find a working example that parses the UTM data from a URL link into the utm_source and utm_medium hidden contact fields in my Eloqua form. Also some heads up on where to place the code - in the form HTML, before it, after it, on the page somewhere??

Tried numerous bits of code from this site and others but no joy! Any help appreciated.





  • Sachin Jain-Oracle
    Sachin Jain-Oracle Mr Posts: 164 Employee

    Hi Will

    Thank you for reaching out to the community forum with your question.

    I have reviewed the information you provided.

    I would recommend reading this article to understand how to add javascript to a CMS landing page (outside of Eloqua) where the forms are hosted.

    How to Capture Referring Sources to Landing Pages And In Forms Using Query Strings (Doc ID 1644812.1)

    Further, you may also wish to continue the discussion and share any further ideas regarding new product features on our Topliners 'Dream It' section. We have passionate Eloqua users sharing new ideas every day.



    Stay Safe | Stay Healthy

    Thanks, and Best Regards

    Sachin Jain | CX Community Manager