Hello everyone,
I have embedded tweets into the editor using the official integration:
In my template I have added the following script:
twttr.ready((twttr) => {
twttr.events.bind('click', (event) => {
console.log('click')
});
twttr.events.bind('tweet', (event) => {
console.log('tweet')
});
twttr.events.bind('retweet', (event) => {
console.log('retweet')
});
twttr.events.bind('like', (event) => {
console.log('like')
});
twttr.events.bind('follow', (event) => {
console.log('follow')
});
});
Now the problem is, that only click
and like
are firing when clicking the like
button.
Any other element, including the embedded tweet body, does not fire anything.
I do not care much for “what” the user actually clicked,
as there’s no callback when the action was actually performed.
All I care for is an analytics even when the user has clicked
anything inside the white tweet window, as that tells me all I need to know.
Research so far has been of little help.
Any help/hint is highly appreciated.