While JS SDK contains user properties, when I send an event to the same user from http api, user properties do not appear in that event
For example:Country: nullCity:nullDeviceType: null so no properties of the user are visible
Hi Furkan Kocatürk
If you’re sending data via HTTP API instead of using an SDK, Amplitude cannot track these user properties automatically. You must instead set these properties explicitly in the HTTP API post request.
For Country and City properties, these are resolved from the IP address. If the IP address field is null, then they won’t be resolved.
You can read more on that here.
Hope this helps.
Saish Redkar Thank you for your help, but why don't these other features show up? Why a deviceType user property set with JS SDK may not appear in the event sent from the backend to the same user later?
If the JS SDK has set the deviceType property on the user properties once, then that value should persist across all events unless explicitly changed. Can you verify if your HTTP API calls are overwriting the previously set value for device type?
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…
Hello, Is there a way to make a query like: “Give me all the users that have the user property X equal to 10”, by using just any of the APIs, without making a cohort first through the Amplitude’s UI? Thank you!