Matomo

view/plugin/matomo~ Matomo

Matomo analytics plugin JSX component.

Pages that are switched to by PJAX are tracked on the pjax:complete event.

Constructor

new Matomo()

Source:
See:
Example
<Matomo
    url="https://matomo.example.com/"
    siteId="1"
    disableCookies={false} />

Members

(static) Cacheable

Cacheable Matomo analytics plugin JSX component.

This class is supposed to be used in combination with the locals hexo filter (module:hexo/filter/locals).

Source:
See:
Example
<Matomo.Cacheable
    head={true}
    plugin={{
        url: 'https://matomo.example.com/',
        site_id: 1,
        disable_cookies: false
    }} />