GoogleAnalytics

view/plugin/google_analytics~ GoogleAnalytics

Google Analytics plugin JSX component.

Constructor

new GoogleAnalytics()

Source:
See:
Example
<GoogleAnalytics trackingId="******" />

Members

(static) Cacheable

Cacheable Google 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
<GoogleAnalytics.Cacheable
    head={true}
    plugin={{ tracking_id: '*******' }} />