Help Center

Integrating AddThis with BlueConic

AddThis allows you to register Event Listeners for all sharing actions. The best way to use this API is to place the following piece of script in your pages, right after the AddThis API has loaded:

addthis.addEventListener('addthis.menu.share', function(response) { 
    if (window.blueConicClient && response.data) {
        window.blueConicClient.event.publish('addthis_' + response.data.service);
    }
});

This will publish an event to BlueConic using the following syntax: “addthis_<service code>”. Learn more about AddThis service codes.

Examples

Facebook share:              addthis_facebook
Linkedin share:                addthis_linkedin

After the script has been added to your website you can configure listeners to subscribe to these events. This article describes how custom events in BlueConic work.

Was this article helpful?
0 out of 0 found this helpful