@flowaccount/scully-plugin-google-analytics
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

scully-plugin-google-analytics

Installation

To install this library with npm run

npm install scully-plugin-google-analytics --save-dev

or with yarn

yarn add scully-plugin-google-analytics --dev

Usage

  • Add this to your scully.config.ts file
import { getGoogleAnalyticsPlugin } from '@flowaccount/scully-plugin-google-analytics';

const postRenderers = [getGoogleAnalyticsPlugin({ gaTrackingId: 'xxxxxx-x' })];

export const config: ScullyConfig = {
  routes: {},
  defaultPostRenderers: postRenderers
};

Package Sidebar

Install

npm i @flowaccount/scully-plugin-google-analytics

Weekly Downloads

153

Version

0.0.2

License

MIT

Unpacked Size

4.83 kB

Total Files

8

Last publish

Collaborators

  • supawan
  • purett
  • panya_b_flowaccount
  • wickyorama
  • narongok