Eloqua Integration with Sitecore
Recently we had a requirement to track download of selected media library assets and also to collect some basic information about the visitor (which can vary from file to file and should be based on the form defined in Eloqua) and post it to Eloqua.
To accomplish this, we have created a new template “CustomMedia” that contains a checkbox field named “Track with Eloqua” and a General Link field named “EloquaLink” as shown below.
The following templates were updated to inherit the “CustomMedia” template:
- “sitecore/templates/System/Media/Media Folder”
The next step is to create a custom MediaRequestHandler that will retrieve the associated form id for the media asset being downloaded, fetch the form fields from Eloqua and render them on a page for the user through a sub layout. When the page is submitted, the form field values are posted to Eloqua and the user is redirected to the asset download. If needed, a cookie can be used to hold the user-entered values so that the user need not enter form values on each download.
The web.config file needs to be updated to add the custom handler.
The last step is to integrate the Eloqua form with Sitecore for which we have created a new template containing a Single-Line text field named “FormId”. These items will contain the ids of the Eloqua forms and can be associated with the media assets for which we need to track the downloads.
Explore Additional Resources
Learn how you can select the best Digital Experience platform for your business.
Our Certified Sitecore Experience Platform and Sitecore MVP’s specialize in helping you deliver seamless contextually personalized customer experiences.
Our Consulting team specializes in providing Eloqua health checks to help you identify performance and process gaps in your Oracle Marketing Cloud.
GET HELP FROM OUR EXPERTS
Over the past 19 years, we have completed thousands of digital projects globally. We have one of the largest and deepest multi-solutions digital consulting teams in the world. Our proprietary processes and years of Digital Experience expertise have earned us a 97% customer satisfaction rating with our clients ranging from Global Fortune 1000 to Mid-Market Enterprises, leading educational institutions, and Non-Profits.
If you would like more help on Eloqua Integration with Sitecore Contact Us Today.
ABOUT TA Digital
TA Digital is an innovative digital transformation agency, specializing in delivering the digital experience, commerce, and marketing solutions. For nearly two decades, we have been helping traditional businesses transform and create dynamic digital cultures through disruptive strategies and agile deployment of innovative solutions.