I don't see statics for analytics.logEvent() in flurry.com

I just try the Corona “analytics” module, but it doesn’t work on my computer. My code is:

local analytics = require “analytics”
analytics.init(“My Florry API Key”)
analytics.logEvent(“Game is started!”)
print(“logs”)

With it run on simulator,I receive nothing (0 sessions) in flurry.com
In flurry.com I look for sessions in “Dashboard” or in “Usage”

Do I have a mistake in my code?
How can I see in flurry.com that it received the data from application? [import]uid: 144261 topic_id: 30006 reply_id: 330006[/import]

First install your app into your device and give Flurry some time before see the stats as well.

PS: I do not believe you are able to see any data when just playing on the simulator, but I can be wrong.

Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120202[/import]

@RSCdev ok, I got about simulator, thanks. I think that I didn’t understand exactly what does mean analytics.logEvent(str). It shows a log with text = str in the Flurry or it does something else? [import]uid: 144261 topic_id: 30006 reply_id: 120209[/import]

@coopertatiana ,

It shows a log with text = str in the Flurry or it does something else?

Yes, you`re right. It does log the passed string “event” into your flurry stats. BTW, am not sure that your example above would work OK, because as you posted I do not see you putting it into quotation marks like I do below as example:

[lua]analytics.logEvent(“Game Launched”) – Here I get the log when the users start the game.[/lua]
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120213[/import]

@RSCdev I tried now this my code on device, and it still doesn’t work. I don’t understand why. Did somebody tried to use this corona module? [import]uid: 144261 topic_id: 30006 reply_id: 120234[/import]

coopertatiana , OK, let me understand it all well before.

So, have you tried what code in the iDevice? Is this below?

[lua]local analytics = require “analytics”
analytics.init(“My Florry API Key”)
analytics.logEvent(“Game is started!”)
print(“logs”)[/lua]

If YES, do you know that you have to wait some time before youre able to see any stat in your Flurry Dashboard? Because for me for example it starts to show generally after 1 or 2 days (and even missing data sometimes). So, I think that youre doing everything well (based in the code you posted) and if so you only have to give it some time until you can see the stats at your Flurry dashboard.
Let me know what you get.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120240[/import]

@RSCdev You are right, it worked from the device (Android Galaxy S2). And really it took a 1 day to see the result. From Simulator it doesn’t works. Thanks! [import]uid: 144261 topic_id: 30006 reply_id: 120280[/import]

@RSCdev You are right, it worked from the device (Android Galaxy S2). And really it took a 1 day to see the result. From Simulator it doesn’t works. Thanks! [import]uid: 144261 topic_id: 30006 reply_id: 120281[/import]

@coopertatiana ,

Glad you got it working as expected! :slight_smile:
PS: We`re always learning.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120283[/import]

First install your app into your device and give Flurry some time before see the stats as well.

PS: I do not believe you are able to see any data when just playing on the simulator, but I can be wrong.

Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120202[/import]

@RSCdev ok, I got about simulator, thanks. I think that I didn’t understand exactly what does mean analytics.logEvent(str). It shows a log with text = str in the Flurry or it does something else? [import]uid: 144261 topic_id: 30006 reply_id: 120209[/import]

@coopertatiana ,

It shows a log with text = str in the Flurry or it does something else?

Yes, you`re right. It does log the passed string “event” into your flurry stats. BTW, am not sure that your example above would work OK, because as you posted I do not see you putting it into quotation marks like I do below as example:

[lua]analytics.logEvent(“Game Launched”) – Here I get the log when the users start the game.[/lua]
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120213[/import]

@RSCdev I tried now this my code on device, and it still doesn’t work. I don’t understand why. Did somebody tried to use this corona module? [import]uid: 144261 topic_id: 30006 reply_id: 120234[/import]

coopertatiana , OK, let me understand it all well before.

So, have you tried what code in the iDevice? Is this below?

[lua]local analytics = require “analytics”
analytics.init(“My Florry API Key”)
analytics.logEvent(“Game is started!”)
print(“logs”)[/lua]

If YES, do you know that you have to wait some time before youre able to see any stat in your Flurry Dashboard? Because for me for example it starts to show generally after 1 or 2 days (and even missing data sometimes). So, I think that youre doing everything well (based in the code you posted) and if so you only have to give it some time until you can see the stats at your Flurry dashboard.
Let me know what you get.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120240[/import]

@RSCdev You are right, it worked from the device (Android Galaxy S2). And really it took a 1 day to see the result. From Simulator it doesn’t works. Thanks! [import]uid: 144261 topic_id: 30006 reply_id: 120280[/import]

@RSCdev You are right, it worked from the device (Android Galaxy S2). And really it took a 1 day to see the result. From Simulator it doesn’t works. Thanks! [import]uid: 144261 topic_id: 30006 reply_id: 120281[/import]

@coopertatiana ,

Glad you got it working as expected! :slight_smile:
PS: We`re always learning.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30006 reply_id: 120283[/import]