Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I tell Piwik a user is using the app ? #11692

Closed
rksh1997 opened this issue May 12, 2017 · 1 comment
Closed

How do I tell Piwik a user is using the app ? #11692

rksh1997 opened this issue May 12, 2017 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@rksh1997
Copy link

rksh1997 commented May 12, 2017

Hello.
What I need to do is to put some script in index.html, so that every time a user opens the app, piwik will know that, I am not using javascript tracker.
So, I want to send an ajax request to my backend, then my backend will talk to piwik.
But what request should I tell my backend to send to piwik for this action ?
I have only piwik actions on userRegister and userLogin, so if a user logged in a while ago and he didn't logout, how can piwik know that user is using the app so that I can get Monthly Active Users.

@sgiehl
Copy link
Member

sgiehl commented May 29, 2017

What kind of application are you trying to track? If it's a web app you should be able to include the javascript tracking code. For mobile apps based on iOS or Android you could use our Mobile SDKs (https://github.com/piwik/piwik-sdk-android / https://github.com/piwik/piwik-sdk-ios). There are also other SDKs you can use for other kind of applications.

@sgiehl sgiehl closed this as completed May 29, 2017
@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants