Hello @micropat ,
Thank for your response,
I have checked this and bellow is my code which I am using but it works before share something.
I want to perform action(run ajax) after content successfully shared.
a2a_config.callbacks.push({
share: function(data) {
var m=data.service;
console.log(m);
$.ajax({
type : "post",
url : ajaxurl,
dataType: 'html',
data : { action:"successfully_shared",medium:m},
success: function(response) {
console.log("done");
}
});
}
});
Please check and help.
Thank you!!