Question

With Google Analytics I can push a custom event to the service with code like this in JavaScript:

_gaq.push(['_trackEvent', 'Videos', 'Play', 'Gone With the Wind']);

Is there a way to do this with Eloqua in conjunction with their JavaScript tracking code?

I found that I can do this:

_elq.trackEvent('http://example.com/documents/whitepaper.pdf')

But the example is specific to Outbound Link Tracking, and I'm not sure what the other parameters would be, if there are any?

Was it helpful?

Solution

I went on their website and checked the function, it has 3 parameters:

> _elq.trackEvent
   function (a,b,c){t(a,b,c)}

They all get passed to the URL:

> _elq.trackEvent('test111', 'test222', 'test333')
   undefined
   Resource interpreted as Image but transferred with MIME type text/html: "http://s33.t.eloqua.com/visitor/v200/svrGP?pps=10&siteid=33&elq=test222&ref=test111&ref2=test333&ms=786"

This is just reverse engineering, they don't have any official documentation about it that I can find.

OTHER TIPS

Judging from the Eloqua Asynchronous Visitor Tracking Scripts, Eloqua doesn't support Google Analytics-like event tracking.

You can track:

  • Multiple Eloqua Instances
  • Custom URLs/Referrers
  • Outbound Link Tracking (what you referenced)
  • Externally Hosted Forms
  • Data Lookups
  • Flash Content
  • Strict Mode (opt-in by country/visitor)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top