Outbound link tracking

Outbound link tracking allows you to track when users click specific links on your site. The links may be to other sites or to a different location within your site. The links could be for web pages or they could point to documents like PDFs or Word documents.

To accomplish outbound link tracking, you will have to modify your current anchor tags by adding an onclick handler. For example, a link that currently looks like this:

<a href="http://example.com/documents/whitepaper.pdf"></a>

Should be modified to look like this:

<a href="http://example.com/documents/whitepaper.pdf" 
onclick="_elq.trackOutboundLink(this);return false;"></a>

If the above use case isn't valid for your situation, a more generic JavaScript function is exposed for this purpose:


Note: The trackEvent function above will track that the user has clicked on the particular document or URL, but it won't actually redirect the user. You may need to use this functionality if you have a more complicated workflow, but the first method, using trackOutboundLink, is the preferred method.

Learn more

Oracle Eloqua asynchronous tracking scripts