BrightcoveOS / videojs-ga-videocloud

Google Analytics plugin for the new Brightcove Player for Video Cloud
MIT License
14 stars 17 forks source link

How we can use two trackers? #4

Open jesussanchez-fox opened 9 years ago

jesussanchez-fox commented 9 years ago

We are currently using a Google Analytics plugin for the Brightcove Smart Player and with this plugin we can add it many times to the player. Each time with a different tracker. Is this possible with your plugin? Can we use it with two trackers? Thank you very much, great job!

mister-ben commented 9 years ago

I hadn't considered that to be honest. Could be possible but would require quite a few changes.

Out of interest, why do you use multiple trackers with one player? Do you send the same events to all trackers, or is it more granular than that?

jesussanchez-fox commented 9 years ago

Hi, first, thank you very much for the answer. We use two trackers because we need to send same analytics data to two different accounts. We have many Brightcove accounts, one per media. And each media needs to know its own analytics. But we have a corporate analytics department that needs all data from each media in one account. So we track data for each media and for that corporate analytics department. That's why we have two trackers: one for the media and the other for the analytics corporate department. And we send same data in both cases. I hope I have explained well.

I have read your code and maybe we can change things (forking or branching your code?). Sorry if I don't use the "right" technical concepts. Maybe it's not a common need and it's just something special for us. Thank you for the help.

Best regards.

El 22/7/2015, a las 15:01, mister-ben notifications@github.com escribió:

I hadn't considered that to be honest. Could be possible but would require quite a few changes.

Out of interest, why do you use multiple trackers with one player? Do you send the same events to all trackers, or is it more granular than that?

— Reply to this email directly or view it on GitHub.