#community-help

Implementing Custom Analytics Using Firebase or Rails

TLDR A inquired about custom analytics. Jason advised utilizing existing APIs with Google Analytics. Mihai confirmed their successful implementation of this method.

Powered by Struct AI
4
18mo
Solved
Join the chat
Mar 25, 2022 (18 months ago)
A
Photo of md5-98c72c3023867be0346b48ae4cb22001
A
05:50 PM
has anyone built their own analytics implementation? i’m curious how i can send search events to firebase or a rails backend

documentation isn’t particularly clear on typesense or algolia in this regards

mainly want to track number of searches, commonly searched words
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:14 PM
I'd recommend collecting the data from the frontend and sending it to an another platform like Google Analytics, via their JS APIs
06:15
Jason
06:15 PM
Building your own analytics backend could be a non-trivial amount of effort especially as it reaches scale
Mihai
Photo of md5-5a7e6fd9a070eac5034a6034f0dc38b1
Mihai
06:45 PM
We've implemented these exactly as Jason. We use the search event from Google Analytics.