I'm developing a website for my client. But I've never been too good with Google Analytics or JavaScript, so I've got a problem now.
One of the most important pages there is a page with livestream player and live chat. Unfortunately, they're both iframes from external domain.
My client is using GamingLive.tv and code for chat iframe looks like that (code for player is the same, but has only /e/
instead of /echat/
):
<iframe class="chat" src="http://alpha.gaminglive.tv/embed.html#/echat/CHANNEL_NAME"
frameborder="0" scrolling="no" allowfullscreen>
</iframe>
My question is - can I (and if yes, how?) use Google Analytics event tracking to send information about users typing in chat? I want to send information about number of posts and their length.