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

Automatically triggered Plugin to export data #9900

Closed
kira510 opened this issue Mar 9, 2016 · 5 comments
Closed

Automatically triggered Plugin to export data #9900

kira510 opened this issue Mar 9, 2016 · 5 comments
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@kira510
Copy link

kira510 commented Mar 9, 2016

Hello @tsteur , @dandv , @nuxwin
Am trying to develop a plugin that is triggered automatically when data comes into piwik (basically this plugin collects the visitor info and exports to another application) , some of the possible methods are

  1. Access the database and trigger the plugin whenever data enters the Database
  2. call my plugin via the javascript tracking code, this probably requires piwik source code change
  3. change the piwik code which in turn calls the plugin.

Is there a plugin in the marketplace which does this? We prefer not to change the piwik source code so using a plugin would be a better option.
If no, then please suggest me which method is more efficient and less time consuming. Also share the documentations apart from the ones in piwik.org regarding piwik core and plugin development.

@tsteur
Copy link
Member

tsteur commented Mar 9, 2016

Hi @kira510 please have a look at http://developer.piwik.org/ and ideally ask for such questions in our forum for plugins https://forum.piwik.org/c/plugins-platform . Here we only handle issues.

As of your questions:

when data comes into piwik
What kind of data? only visitors? or also users etc? Maybe checkout tracker events and other events: http://developer.piwik.org/api-reference/events#tracker

For database and other methods see http://developer.piwik.org/api-reference/classes
Some guides can be found here: http://developer.piwik.org/develop

  1. ) shouldn't require change as there are events for this etc.

@tsteur tsteur closed this as completed Mar 9, 2016
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Mar 9, 2016
@tsteur tsteur added this to the 2.16.1 milestone Mar 9, 2016
@kira510
Copy link
Author

kira510 commented Mar 10, 2016

Hi @tsteur ,
i did post on the piwik forum but i wont get an immediate response so i had to ask here. Just one more question, can the plugin be triggerd automatically whenever a website(the one tracked by piwik) is opened?

@tsteur
Copy link
Member

tsteur commented Mar 10, 2016

Check out the events page, there are lots of events for all kinda stuff.

@kira510
Copy link
Author

kira510 commented Apr 6, 2016

I was using tracker methods but they are deprecated. So i have to use dimensions instead. But the documentation does not provide enough information.

@nuxwin
Copy link
Contributor

nuxwin commented Apr 6, 2016

@kira510

Please, post on the FORUM. You must wait for answer, as any other people. We're not at your service ;)

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

3 participants