Umami

view/plugin/umami~ Umami

Umami analytics plugin JSX component.

Umami also tracks the pages that are switched to with the History API, such as by PJAX.

Constructor

new Umami()

Source:
See:
Example
<Umami
    websiteId="******"
    scriptUrl="https://cloud.umami.is/script.js"
    domains="example.com,www.example.com" />

Members

(static) Cacheable

Cacheable Umami 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
<Umami.Cacheable
    head={true}
    plugin={{
        website_id: '******',
        script_url: 'https://cloud.umami.is/script.js',
        domains: 'example.com,www.example.com'
    }} />