User-analytic/statistics?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
User-analytic/statistics?
Hi there,
is it possible to implement something, that helps me to track information about App-usage? Something like http://www.uselumos.com ?
is it possible to implement something, that helps me to track information about App-usage? Something like http://www.uselumos.com ?
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: User-analytic/statistics?
No one can help?
Re: User-analytic/statistics?
Yes, though I haven't gone through all the documentation of lumos.
There is no drag and drop plugin or an LC website interface, but you can roll your own. You will have to set up all the tracking yourself.
Want to know more?
Simon
There is no drag and drop plugin or an LC website interface, but you can roll your own. You will have to set up all the tracking yourself.
Want to know more?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: User-analytic/statistics?
Hi Simon 
It don't has to be Lumos. This was just an example
Yes, I'm interested to know more about it. I think it would be useful to see how often an App is used by an user.
I heard some people use Google-Analytics for it?

It don't has to be Lumos. This was just an example

Yes, I'm interested to know more about it. I think it would be useful to see how often an App is used by an user.
I heard some people use Google-Analytics for it?
Re: User-analytic/statistics?
Hi Lars,
Again like the other post you will need to store a file on the device that is read on preOpenStack and written to on closeStack.
For example just for number of runs:
on preOpenStack you would check to see if the file was there then read it's contents into a var (say the number is 3) then just add 1 to that and on closeStack you would post the file to your server and write the file back to the device (now = 4).
Each file should have a unique name so that you can collect everyone's.
There is cgi stuff in there that you'd have to know about.
I do this all the time with my apps with a lot more info then number of runs.
Simon
Again like the other post you will need to store a file on the device that is read on preOpenStack and written to on closeStack.
For example just for number of runs:
on preOpenStack you would check to see if the file was there then read it's contents into a var (say the number is 3) then just add 1 to that and on closeStack you would post the file to your server and write the file back to the device (now = 4).
Each file should have a unique name so that you can collect everyone's.
There is cgi stuff in there that you'd have to know about.
I do this all the time with my apps with a lot more info then number of runs.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: User-analytic/statistics?
So that means you collect this data for every single user in a single file on your server?
Isn't it possible that the App checks for internet-connection and if it's available the App sends a signal to Google-Analytics, so that I can look up there how often the App is used? Like visitors on a website.
Isn't it possible that the App checks for internet-connection and if it's available the App sends a signal to Google-Analytics, so that I can look up there how often the App is used? Like visitors on a website.
Re: User-analytic/statistics?
No, I have seperate files for each user and combine them using LC. These are very small text files so easy to work with.
I think I see the way to use Google, but that just tells you 1 thing, I thought you were after much more detailed reports.
Simon
I think I see the way to use Google, but that just tells you 1 thing, I thought you were after much more detailed reports.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: User-analytic/statistics?
Thank you for your very good help 
So this means, I've to store data in a special file on devices and every time the App gets an internet-connection, this file will pushed/send to my server.
For me I build a second App, which collects this files and read out the needed information.
Is this right?

So this means, I've to store data in a special file on devices and every time the App gets an internet-connection, this file will pushed/send to my server.
For me I build a second App, which collects this files and read out the needed information.
Is this right?
Re: User-analytic/statistics?
Yes, but this is just 1 way of doing it (my way
). I'm sure there are many others.
You should think more along the lines of you only post the data when connected to the internet but always write the local file. Keeping track even when offline.
Simon

You should think more along the lines of you only post the data when connected to the internet but always write the local file. Keeping track even when offline.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: User-analytic/statistics?
Is it hard to code the part, which transfers the data to my server?
Re: User-analytic/statistics?
No, there are many examples of using CGI to upload a file.
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: User-analytic/statistics?
Could I also use LiveCode-Server instead of CGI?
Re: User-analytic/statistics?
Yes you can.
Simon
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 216
- Joined: Wed Feb 27, 2013 9:04 pm
Re: User-analytic/statistics?
Thanks again 
Can you tell me a point to start for upload a file from my App via CGI or LC-Server?

Can you tell me a point to start for upload a file from my App via CGI or LC-Server?
Re: User-analytic/statistics?
Look up:
libURLMultipartFormData
in the dictionary.
Simon
libURLMultipartFormData
in the dictionary.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!