Questions tagged [amplitude-analytics]

Amplitude Analytics covers a family of software analytics tools to track user behavior. Please use additional tags to identify specific platforms and development languages / environments relevant to your question.

59 questions
14
votes
5 answers

How do integrate amplitude analytics with a React app?

Amplitude Analytics does provide Javascript SDK for Amplitude but how do I implement analytics in a React App where I don't have access to the DOM directly? The GitHub page suggests to use …
jasan
  • 11,475
  • 22
  • 57
  • 97
5
votes
0 answers

Amplitude Javascript Error t.amplitude.runQueuedFunctions is not a function

I tried to install amplitude on my website which uses require.js. I place the Amplitude JavaScript block ad the end of my HEAD tag and it results in the following error: Uncaught TypeError: t.amplitude.runQueuedFunctions is not a function Any ideas…
rstuart85
  • 2,035
  • 2
  • 15
  • 19
4
votes
1 answer

How to send session info and do automated page tracking in expo react native segment and amplitude integration

I am using Segment[expo-analytics-segment] to send tracking info to Amplitude(Configured as the destination in app.segment.com) in an expo react native app. Though I am sending session info(epoch time) - The session always gets registered as -1,…
int-i
  • 661
  • 1
  • 12
  • 28
4
votes
1 answer

Window is not defined when doing gatsby build

I'm trying to integrate amplitude-js with React and Gatsby. Everything looks good when doing gatsby developer since it's happening inside the browser, but when I try gatsby build I get the following error because Gatsby build is happening on the…
J.range
  • 449
  • 5
  • 20
4
votes
2 answers

Amplitude analytics for iOS: setting up logging level

Is there a way to set up logging level for Amplitude iOS SDK similar to Android's Amplitude.getInstance().enableLogging() and Amplitude.getInstance().setLogLevel(), as I'd like to see how my analytics implementation works in console output in debug…
deko
  • 2,534
  • 3
  • 34
  • 48
2
votes
1 answer

Amplitude + Java SDK : Unwanted properties like $price, $quantity and $revenue are set to ZERO while setting the user properties

In my project, I need to log the "user properties" of a specific user. I am using following dependency: compile group: 'com.amplitude', name: 'java-sdk', version: '1.2.3' Here, is what my code looks like: Amplitude client =…
Manan Shah
  • 1,042
  • 2
  • 14
  • 26
2
votes
1 answer

Amplitude with React and Typescript

I have troubles using Amplitude with React and Typescript. Is anyone else using this? How do you import Amplitude and initialise correctly? When using import amp from 'amplitude-js'; I get a type error about a missing default export. TS7016: Could…
2
votes
3 answers

Integrating Amplitude Analytics to React Native App with Expo

I am trying to integrate Amplitude to my React Native project. I am currently still developing the application and using Expo. The first event I am trying to capture is when a user is logged in. const events = { USER_LOGGED_IN: 'USER_LOGGED_IN', …
Emil Juboori
  • 199
  • 2
  • 4
  • 12
2
votes
2 answers

Amplitude API key okay to make public?

I'm hooking up my react native app to Amplitude analytics and wanted to know if it is okay to just put the raw API Key in the code. Users could look at this so could they theoretically start using the API Key and send incorrect data to my analytics?…
PurplePanda
  • 629
  • 9
  • 29
2
votes
2 answers

Failure using dplyr::tbl to reference PostgreSQL (Amplitude analytics) table

I'm unable to connect to a PostgreSQL table (amplitude analytics) using this dplyr approach: dplyr::tbl(amplitude_db, from = "app123.myEvent") %>% show_query() Output: RS-DBI driver: (could not Retrieve the result : ERROR: relation…
2
votes
1 answer

List of users and the app version in Amplitude tool

I need to find a list of all user using my iOS app and also the version they are on. Currently, we are using amplitude for analytics. Is there any ways I can get the list using amplitude. If not can it be done using fastlane pilot?
2
votes
2 answers

AngularJS Amplitude Service Not Acting as Singleton

I have recently posted a similar question, but this is not a duplicate. Apologies for the code heavy post but I wanted to provide as much context as possible. I am having an issue with defining the analytics tool, 'Amplitude' as a service in my…
2
votes
1 answer

AngularJS Service not acting as Singleton

Apologies for the code heavy post but I wanted to provide as much context as possible. I am having an issue with defining a service in my Angular.js application. Services are supposed to act as singletons throughout an application (source), so I am…
zcoon
  • 174
  • 11
1
vote
0 answers

Amplitude and GTM integration

Trying to add GA's client ID to Amplitude's User property. Once the page is loaded, an visit page event is triggered. As used GTM script is still not loaded, a new client (visitor) won't have assigned the client ID. This is the problem I'm trying to…
1
2 3 4