Can I push events to Eloqua like Google Analytics?

analytics, eloqua, google-analytics, web-analytics, web-analytics-tools

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.

Problem

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?

Original source