UNPKG

@kurkov87/ngx-analytics

Version:

Vendor-agnostic web analytics for Angular2 applications, based on angulartics2

24 lines (23 loc) 873 B
import { Location } from '@angular/common'; import { NgxAnalytics } from 'ngx-analytics'; export declare class NgxAnalyticsAdobeAnalytics { private ngxAnalytics; private location; constructor(ngxAnalytics: NgxAnalytics, location: Location); pageTrack(path: string): void; /** * Track Event in Adobe Analytics * * @param action associated with the event * @param properties action detials * @param {string} properties.category * @param {string} [properties.label] * @param {number} [properties.value] * @param {boolean} [properties.noninteraction] * * @link https://marketing.adobe.com/resources/help/en_US/sc/implement/js_implementation.html */ eventTrack(action: string, properties: any): void; private setPageName(); setUserProperties(properties: any): void; }