UNPKG

sush-plugin-google-analytics

Version:

SUSH Plugin for sending url to Google Analytics.

11 lines (10 loc) 370 B
import { SUSHInfo } from 'sush'; export interface PluginParams { analyticsId?: string; timeout?: number; } /** * `SUSHPluginGoogleAnalytics` sends url to Google Analytics. */ declare function SUSHPluginGoogleAnalytics({analyticsId, timeout}?: PluginParams): (info: SUSHInfo) => SUSHInfo | Promise<SUSHInfo>; export default SUSHPluginGoogleAnalytics;