Access your Activa Live Chat account. Sign In Here »

Activa Live Chat Features

contact us Contact Us by E-mail

call us 888–4–CHAT–44
(888–424–2844)

Free Trial

Get full access to Activa Live Chat for 14-days with a trial sign up.

Professional Services

Inquire about Activa Live Chat's professional services for your custom needs.

Integrate Eloqua Web Analytics with Activa Live Chat

Activa Live Chat Support » Customization » How To

Article ID: 97 | Last Modified: 10/19/2009

Because Eloqua Web Analytics does not offer a JavaScript API, in order to achieve integrated tracking of live chat interactions with your Website visitors, you must create a special page on your Website that is specific to tracking live chat interactions.

This special page is loaded by creating an invisible iframe that is triggered when a live chat is started. The page within the iframe will contain the Eloqua tracking code and be specified as a positive hit to a live chat interaction. Each counted visit to this page can then be counted as a live chat interaction within Eloqua.

Note: You must have an active Eloqua account before you begin.

To accomplish tracking live chat interactions within Eloqua, follow these instructions:

  1. Create a new blank HTML page on your Website, making note of it's file name.
  2. Add your Eloqua tracking code to the page.
  3. Setup a goal in Eloqua to track hits to that specific page - reference the goal as a live chat interaction.
  4. You are done with this special page.
  5. Next, add the following javascript code to your Website so it immediately follows your Deployment Code javascript:

    <script type="text/javascript">
    _alc.notifyChatRequest = function(button) {
          var ifr = document.createElement('iframe');
          ifr.style.height = 1;
          ifr.style.width = 0;
          ifr.src = 'http://www.yourwebsite.com/specialpage.html';
          document.body.appendChild(ifr);
    }
    </script>

    IMPORTANT: Replace the highlighted URL in the code with the URL to your special page

Now when a live chat is initiated on your Website (via a live chat button, proactive invite or automated invite), the special page containing the Eloqua tracking code referenced above will open and trigger a hit. This will be completely invisible to your visitors.