angulartics2 13.0.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "angulartics2",
3
3
  "description": "Vendor-agnostic web analytics for Angular2 applications",
4
- "version": "13.0.0",
4
+ "version": "13.1.0",
5
5
  "release": {
6
6
  "branch": "master"
7
7
  },
@@ -0,0 +1,11 @@
1
+ <img
2
+ src="../../../assets/svg/posthog.svg"
3
+ alt="Posthog logo"
4
+ height="100px"
5
+ width="200px" />
6
+
7
+ # Posthog
8
+
9
+ **homepage**: [posthog.com](https://posthog.com/)
10
+ **docs**: [posthog.com/docs/product-analytics](https://posthog.com/docs/product-analytics)
11
+ **import**: `import { Angulartics2Posthog } from 'angulartics2';`
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class Angulartics2Posthog {
3
+ private readonly angulartics2;
4
+ constructor();
5
+ startTracking(): void;
6
+ startPageTracking(): void;
7
+ startEventTracking(): void;
8
+ pageTrack(path: string | undefined): void;
9
+ eventTrack(action: string, properties?: any): void;
10
+ setUsername(userId: string | {
11
+ userId: string | number;
12
+ }): void;
13
+ setUserProperties(properties: any | undefined): void;
14
+ setUserPropertiesOnce(properties: any | undefined): void;
15
+ setSuperProperties(properties: any | undefined): void;
16
+ setSuperPropertiesOnce(properties: any | undefined): void;
17
+ setAlias(alias: string): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Posthog, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Posthog>;
20
+ }
package/public_api.d.ts CHANGED
@@ -19,6 +19,7 @@ export * from './providers/hubspot/hubspot';
19
19
  export * from './providers/kissmetrics/kissmetrics';
20
20
  export * from './providers/launch/launch';
21
21
  export * from './providers/mixpanel/mixpanel';
22
+ export * from './providers/posthog/posthog';
22
23
  export * from './providers/pyze/pyze';
23
24
  export * from './providers/matomo/matomo';
24
25
  export * from './providers/segment/segment';