Track Tweets On my Site

webintent
javascript

#1

How do I check if users tweeted my post In my site With Twitter JavaScript API ?

I have done with

twttr.events.bind('tweet', tweetIntentToAnalytics);

function tweetIntentToAnalytics(){
   console.log('Tweeeted');
}

But does not work

Can you give me a idea ?

Thanks


#2

The tweet event fires when a viewer clicks or touches the Tweet web intent.

The interaction may take the viewer into a new tab or into a Twitter app to compose a Tweet.


#3