Firebase Analytics for Web?

3,456 views
Skip to first unread message

Doug Thompson

unread,
Mar 14, 2017, 4:41:28 PM3/14/17
to Firebase Google Group
I'm wondering if there's a way to extend Firebase Analytics to web pages?

We have nodes of content which are displayed in both iOS and web views, and it would be amazing if we could coordinate analytics across the two platforms. As well, with Cloud Functions, you can take actions based on analytics but there is no SDK for web.

Anyone conquered this before, or suggestions on how to proceed?

Jacob Wenger

unread,
Mar 14, 2017, 5:29:24 PM3/14/17
to fireba...@googlegroups.com
Hey Doug,

There is currently no way to use Firebase Analytics on the web. This has been a pretty heavily requested feature though and we are definitely figuring out how we can make this happen. Your best alternative at the moment is to use Google Analytics on the web although we realize this is not a perfect solution and it doesn't have the Cloud Functions integration.

Cheers,
Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/95443280-3881-4d82-a503-26033cd798a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Doug Stevenson

unread,
Mar 14, 2017, 6:18:02 PM3/14/17
to Firebase Google Group
While we don't provide a web SDK as Jacob mentioned, there is a workaround for this.  If you integrate Firebase Analytics at the iOS layer of your app, you should be able to call through to it from a web view using a JavaScript bridge.  This is somewhat involved in terms of implementation.  Fortunately there are lots of blogs and walkthroughs that can be found through a search.

This strategy is viable for Android WebView as well.

Doug

On Tuesday, March 14, 2017 at 2:29:24 PM UTC-7, Jacob Wenger wrote:
Hey Doug,

There is currently no way to use Firebase Analytics on the web. This has been a pretty heavily requested feature though and we are definitely figuring out how we can make this happen. Your best alternative at the moment is to use Google Analytics on the web although we realize this is not a perfect solution and it doesn't have the Cloud Functions integration.

Cheers,
Jacob
On Tue, Mar 14, 2017 at 1:41 PM, Doug Thompson <do...@dot-3.net> wrote:
I'm wondering if there's a way to extend Firebase Analytics to web pages?

We have nodes of content which are displayed in both iOS and web views, and it would be amazing if we could coordinate analytics across the two platforms. As well, with Cloud Functions, you can take actions based on analytics but there is no SDK for web.

Anyone conquered this before, or suggestions on how to proceed?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages