Hi!
I want to be able to track when a user logs into the app as an event, but I’m not sure how to go about this?
Would it be best to implement it on the frontend or backend?
Thanks
Hi eriisu, thanks for your question!
Either option can work! If you’d like to send the Login event via one of our SDKs (e.g. JavaScript SDK), you can install that in your frontend. Here’s some documentation on logging events with JS SDK: https://developers.amplitude.com/docs/javascript#sending-events
If sending from the backend, you can use our HTTP API directly: https://developers.amplitude.com/docs/http-api-v2
Simply trigger the logEvent code or trigger the API call when the user completes the action.
Let us know if you have any questions!
All my data is being collected through Firebase I want to export all this data in Amplitude and keep it synced with GA4, I tried adding data sources as BigQuery and GA4 both but for some reason it only partially imported the data and now its not working, I cant even see connected sources. Any help will be appreciated.
Auto Capture is a very prominent feature for the Browser SDK and the Native SDK's i.e. the IOS and the Android SDKs. It allows us to capture the basic [Amplitude] events like Button clicks, Navigation to pages, Pages Viewed, etc. The project that I am currently working on already has a web version on which we use the…
How do I transfer data from one amplitude account to another? It seems all the community chats about this have completely broken links. Easy to export, no way to import, very frustrating. :(
When using @amplitude/plugin-web-vitals-browser with Create React App v4 (react-scripts@4.0.3), the build fails with: ./node_modules/@amplitude/plugin-web-vitals-browser/node_modules/web-vitals/dist/web-vitals.js<br /><br />SyntaxError:…
Hello, I'm using SpringBoot and Kotlin to integrate with the Amplitude Export API. The official Amplitude documentation (https://amplitude.com/docs/apis/analytics/export) states that "data is available to export at a minimum within 2 hours of when the servers received it." However, there's no clear information about the…