Problem/Motivation
It would be great to be able to utilise a demo mode to fetch data instead of fetching it from a real Piwik PRO account.
This could be useful for testing and developing the module in local environments and such.
Advantages:
- Showcase Piwik PRO features on any site with the module enabled.
- Test that Piwik PRO works even on local environment
- Help development work without a Piwik PRO account active or in local environment.
Proposed resolution
- Create a new demo mode setting that you can enable in module settings.
- Create a functionality that will return demo results based on the local page url's instead of API.
Issue fork piwik_pro-3575164
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #7
hartsak commentedComment #8
hartsak commentedMerged, thanks @frazile !