Analytics Integrations for tracking media performance

Embedly can integrate with 3rd Party Analytics, such as Google Analytics, letting you can track media performance in a way that works for you. While we think our Analytics are pretty awesome, we know that it won't fit with every workflow.

📘

Make sure platform.js is installed!

Intergrations require platform.js to be installed on the page, you can learn how to install it here

Events

Embedly will log 16 different events by default

TypeActionValueDescription
VideoPlayURLVideo was played.
Video25% WatchedURL25% of the video was watched.
Video50% WatchedURL50% of the video was watched.
Video75% WatchedURL75% of the video was watched.
Video100% WatchedURL100% of the video was watched.
VideoClickURLA user clicked on the Video card, i.e. the provider or author.
ArticleClickURLA user clicked on the Article card, i.e. the title or the thumbnail.
ImageClickURLA user clicked on the Image card, i.e. the main image.
RichClickURLA user clicked on the Rich card. Rich cards are anything that isn't video, but media. i.e. Slideshare and SoundCloud are Rich cards.
ProductClickURLA user clicked on the Product card, i.e. the provider or author.
SocialTwitterURLA user clicked the Twitter share button on the card.
SocialFacebookURLA user clicked the Facebook share button on the card.
SocialPinterestURLA user clicked the Pinterest share button on the card.
SocialLinkedInURLA user clicked the LinkedIn share button on the card.
SocialRepeatURLA user clicked the Embedly Repeat share button to embed the card elsewhere.
RecommendClick{FROM URL} {TO URL}A user clicked on an Embedly recommendation in the Card. The label is the FROM URL (where the media that the user was watching) and the TO URL (where the User is going)

Google Analytics

Embedly will log events to Google Analytics. The standard format looks like:

window.ga('send', 'event', 'Embedly > ' + type, action, value);

Intercom

Embedly will log events to Intercom. The standard format looks like:

window.Intercom('trackEvent', 'Embedly > ' + type + ' > ' + action, {'url': value });

Mixpanel

Embedly will log events to Mixpanel. The standard format looks like:

window.mixpanel.push(
  ['track', 'Embedly > ' + type + ' > ' + action, {'url': value }]
);

Kissmetrics

Embedly will log events to Kissmetrics. The standard format looks like:

window._kmq.push(['record', 'Embedly > ' + type + ' > ' + action, {'url': value }]);

Segment

Embedly will log events to Segment. The standard format looks like:

window.analytics.track('Embedly > ' + type + ' > ' + action, {'url': value });

Heap

Embedly will log events to Heap. The standard format looks like:

window.heap.track('Embedly > ' + type + ' > ' + action, {'url': value });

Custom

Want to create a custom integration or would like to alter the existing event logging? No problem.

var custom = function(type, action, value){
  // Write the JavaScript Needed to track the event.
  window.myAnalyticsEngine.track(type, action, value);
};

// Tell embedly you want to use ga and a custom integration
embedly("defaults", {
	integrations: ["google", custom] 
});