var post_id = $(this.element).data('post-id');
if (typeof trackingPixels[post_id] == 'undefined' || !trackingPixels[post_id]) {
return;
}
var trackingPixel = trackingPixels[post_id];
analytics_frame.contentWindow.postMessage(
['tick_related_post', trackingPixel].join(';'),
analytics_frame.src.split('/analytics.html')[0]
);
trackingPixels[post_id] = null;
}, {
offset: '100%'
});
});