Omniture Integration

Last Updated: May 31, 2013 03:23PM EDT


What is it?

AddThis includes a suite of powerful analytics features. However, if you already employ Omniture SiteCatalyst for your website, you might want to have all of your analytics in one place.

Integrating AddThis share data into your existing Omniture reports is easy, and lets you view AddThis shares as custom events in your SiteCatalyst dashboard.


How does it work?

You can use our client events API to publish our events to SiteCatalyst via Omniture's Custom Link Tracking.

You must already have an Omniture SiteCatalyst account to integrate AddThis with SiteCatalyst.

For more information about tracking custom events using Omniture SiteCatalyst, please refer to their blog post, Custom Link Tracking: Capturing User Actions.


Example Code

// Report event to Omniture
function shareEventHandler(evt) {
    if (evt.type == 'addthis.menu.share') {
       s.linkTrackVars='action,events';  
       s.linkTrackEvents='AddThisShareEvents';  
       s.events='AddThisShareEvents';  
       s.action=evt.data.service;   
       s.tl(this,’o’, evt.data.service);  
    }
}

// Listen for the share event
addthis.addEventListener('addthis.menu.share', shareEventHandler);

Still need help?


General Topics

 

Developers