ngx-google-analytics
Advanced tools
Comparing version 14.0.0 to 14.0.1
import { DataLayer } from '../types/data-layer.type'; | ||
import { InjectionToken } from '@angular/core'; | ||
import { GaWindow } from './ngx-google-analytics-window'; | ||
/** | ||
* Check if there is some global function called gtag on Window object, or create an empty function to doesn't brake codes... | ||
*/ | ||
export declare function getDataLayerFn(window: Window): DataLayer; | ||
export declare function getDataLayerFn(window: GaWindow): DataLayer; | ||
/** | ||
@@ -8,0 +9,0 @@ * Provides an injection token to access Google Analytics DataLayer Collection |
import { InjectionToken } from '@angular/core'; | ||
import { GtagFn } from '../types/gtag.type'; | ||
import { DataLayer } from '../types/data-layer.type'; | ||
import { GaWindow } from './ngx-google-analytics-window'; | ||
/** | ||
* Check if there is some global function called gtag on Window object, or create an empty function to doesn't brake codes... | ||
*/ | ||
export declare function getGtagFn(window: Window, dataLayer: DataLayer): GtagFn; | ||
export declare function getGtagFn(window: GaWindow, dataLayer: DataLayer): GtagFn; | ||
/** | ||
@@ -9,0 +10,0 @@ * Provides an injection token to access Google Analytics Gtag Function |
import { InjectionToken } from '@angular/core'; | ||
import { GaWindow } from './ngx-google-analytics-window'; | ||
/** | ||
* Provide DOM Window reference. | ||
*/ | ||
export declare const NGX_WINDOW: InjectionToken<Window>; | ||
export declare const NGX_WINDOW: InjectionToken<GaWindow>; |
{ | ||
"name": "ngx-google-analytics", | ||
"version": "14.0.0", | ||
"version": "14.0.1", | ||
"description": "A simple ng-9 wrapper to load Google Analytics dependency by angular way", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
266869
54
2476