We are happy to announce our latest FREE plugin to the Corona market place.
The stathat plugin offers a way to connect and interact with the stathat analytics and statistics service.
To get started with Stathat
-
Register for an account at stathat
-
To send stats to stathat only email is required
-
To get data from stats also an access token is required. Get it here
Plugin quick start
-
Include in build.settings
[‘plugin.stathat’] = {publisherId = ‘com.yogergames’},
-
Initialize
local stathat = require(“plugin.stathat”) local options = { api = “ez”, user_key = “hello@example.com”, – replace with your stathat user email token = “ACCESS_TOKEN” – replace with your token } stathat.init(options)
Now you are good to go!
To send a count stat with value 1
stathat.count("installs",1)
To see a full list of available methods and actions, visit our documentation
We are currently in beta phase.