Analytics

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

Type

Action

Value

Description

Video

Play

URL

Video was played.

Video

25% Watched

URL

25% of the video was watched.

Video

50% Watched

URL

50% of the video was watched.

Video

75% Watched

URL

75% of the video was watched.

Video

100% Watched

URL

100% of the video was watched.

Video

Click

URL

A user clicked on the Video card, i.e. the provider or author.

Article

Click

URL

A user clicked on the Article card, i.e. the title or the thumbnail.

Image

Click

URL

A user clicked on the Image card, i.e. the main image.

Rich

Click

URL

A user clicked on the Rich card. Rich cards are anything that isn't video, but media. i.e. Slideshare and SoundCloud are Rich cards.

Product

Click

URL

A user clicked on the Product card, i.e. the provider or author.

Social

Twitter

URL

A user clicked the Twitter share button on the card.

Social

Facebook

URL

A user clicked the Facebook share button on the card.

Social

Pinterest

URL

A user clicked the Pinterest share button on the card.

Social

LinkedIn

URL

A user clicked the LinkedIn share button on the card.

Social

Repeat

URL

A user clicked the Embedly Repeat share button to embed the card elsewhere.

Recommend

Click

{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] 
});