Can I push events to Eloqua like Google Analytics?

1.7k views Asked by At

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?

3

There are 3 answers

4
aledalgrande On BEST ANSWER

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.

0
Blexy On

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)
0
Adam Mitrosz On

I would recommend to use the latest Oracle documentation https://docs.oracle.com/en/cloud/saas/marketing/eloqua-user/Help/EloquaAsynchronousTrackingScripts/Tasks/TrackingCustomURLs.htm

Eloqua reports reference page views so rather than custom events, you could use custom URL's to push any custom data. Two methods exposed are:

  • _elq.trackEvent
  • _elq.trackOutboundLink (references the above function)