Sign in

How can we help?

Using Eloqua with external landing pages

Topic: , Updated:

When using external landing pages, consider the following approach:

  1. Ensure that you have the Eloqua integration activated. 
  2. When composing the Eloqua email, attach the target email address and campaign ID as query parameters to the landing page URL, and have Eloqua fill them in dynamically:

    <a href="" data-targettype="webpage">External landing page demo</a>
  3. Use javascript on the landing page to pick up the parameters and populate the variables needed for the Freespee script and Eloqua integration:
function getParameterByName(name, url) {
    if (!url) url = window.location.href; name = name.replace(/[\[\]]/g, "\\$&");
    var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), results = regex.exec(url);
    if (!results) return null;
    if (!results[2]) return '';
    return decodeURIComponent(results[2].replace(/\+/g, " "));

var eloqua_email = getParameterByName('ee');
var eloqua_campaign_id = getParameterByName('eci');
Was this article helpful?
0 out of 0 found this helpful


Not the answer to your question?

Powered by Zendesk