Analytics params options.

Hi, I’d like to know if someone has an example on how to use the flurry params,

I’m reading this: http://support.flurry.com/images/Best_Practice_Games_Events.pdf

But I don’t know how that applies to corona sdk, and the API sample is quite basic. any help will be very welcome.

Yep, you can use flurry event parameters like this:

[lua]

local eventParams = {}

eventParams[“Level”] = 4

eventParams[“Time”] = 10

analytics.logEvent(“Level Complete”, eventParams)

[/lua]

Be sure that you don’t assign a parameter a nil value, or you’ll probably get a segmentation fault crash (I learned that the hard way!).

  • Andrew

Thanks very much! very helpful! :slight_smile:

Yep, you can use flurry event parameters like this:

[lua]

local eventParams = {}

eventParams[“Level”] = 4

eventParams[“Time”] = 10

analytics.logEvent(“Level Complete”, eventParams)

[/lua]

Be sure that you don’t assign a parameter a nil value, or you’ll probably get a segmentation fault crash (I learned that the hard way!).

  • Andrew

Thanks very much! very helpful! :slight_smile: