kirby-matomo icon indicating copy to clipboard operation
kirby-matomo copied to clipboard

[feature request] Stats in separate panel area

Open ieteo opened this issue 2 years ago • 3 comments

Hi,

Would it be possible to move the stats onto separate panel area?

The rational behind having the matomo stats in separate panel area, is to declutter the site page in panel.

I looked into implementing it myself, but got lost midway through. According to Kirby Team, this is apparently an easy task. Would you possibly consider it please.

Thank you

ieteo avatar Jun 23 '22 11:06 ieteo

Hey,

I personally just used tabs for that, so in my site.yml I have:

tabs:
  pages:
    preset: pages
    unlisted: true
  matomo:
    columns:
      - width: 3/4
        sections:
          main:
            type: matomo-main
      - width: 1/4
        sections:
          sidebar:
            type: matomo-sidebar

Then you have different tabs, one for your default site view (all pages and stuff) and a second one with the matomo view

Orsim27 avatar Jul 20 '22 07:07 Orsim27

Surly tabs are an option, however in more complex scenario where you might ending up with 3,4 or even more tabs in site view, having the stats in separate panel area would certainty be very welcome improvement to this plugin.

Kind Regars

ieteo avatar Jul 20 '22 08:07 ieteo

Sharing the same thoughts, +1

grommas avatar Jul 20 '22 08:07 grommas

✓ Added by @soerenengels in 91fd18d7d46dae4cf042e8ddc3c480d5989dda60

sylvainjule avatar May 04 '24 15:05 sylvainjule