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

Command icon 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

hartsak created an issue. See original summary.

frazile made their first commit to this issue’s fork.

frazile changed the visibility of the branch 3575164-implement-a-demo-mode to hidden.

frazile changed the visibility of the branch 3575164-implement-demo-mode to hidden.

frazile changed the visibility of the branch 3575164-implement-a-demo-mode to active.

hartsak’s picture

Status: Active » Reviewed & tested by the community
hartsak’s picture

Status: Reviewed & tested by the community » Fixed

Merged, thanks @frazile !

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.