angulartics2 10.1.0 → 12.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/LICENSE +1 -1
- package/README.md +7 -8
- package/angular-router.d.ts +3 -0
- package/angulartics2-core.d.ts +3 -0
- package/angulartics2.d.ts +1 -0
- package/angulartics2.module.d.ts +5 -0
- package/angulartics2On.d.ts +6 -0
- package/esm2020/angular-router.mjs +33 -0
- package/esm2020/angulartics2-config.mjs +19 -0
- package/esm2020/angulartics2-core.mjs +93 -0
- package/esm2020/angulartics2-interfaces.mjs +2 -0
- package/esm2020/angulartics2-token.mjs +3 -0
- package/esm2020/angulartics2.mjs +5 -0
- package/{esm2015/angulartics2.module.js → esm2020/angulartics2.module.mjs} +12 -7
- package/esm2020/angulartics2On.mjs +66 -0
- package/esm2020/providers/adobeanalytics/adobeanalytics.mjs +98 -0
- package/esm2020/providers/amplitude/amplitude.mjs +68 -0
- package/esm2020/providers/appinsights/appinsights.mjs +118 -0
- package/esm2020/providers/baidu/baidu.mjs +81 -0
- package/{clicky/esm2015/clicky.interfaces.js → esm2020/providers/clicky/clicky.interfaces.mjs} +1 -0
- package/esm2020/providers/clicky/clicky.mjs +64 -0
- package/esm2020/providers/facebook/facebook.mjs +45 -0
- package/esm2020/providers/ga/ga.mjs +219 -0
- package/{ga-enhanced-ecom/esm2015/ga-enhanced-ecom-options.js → esm2020/providers/ga-enhanced-ecom/ga-enhanced-ecom-options.mjs} +1 -0
- package/esm2020/providers/ga-enhanced-ecom/ga-enhanced-ecom.mjs +32 -0
- package/esm2020/providers/gosquared/gosquared.mjs +55 -0
- package/{gst/esm2015/gst-interfaces.js → esm2020/providers/gst/gst-interfaces.mjs} +1 -0
- package/esm2020/providers/gst/gst.mjs +197 -0
- package/esm2020/providers/gtm/gtm.mjs +114 -0
- package/esm2020/providers/hubspot/hubspot.mjs +40 -0
- package/esm2020/providers/ibm-digital-analytics/ibm-digital-analytics.mjs +125 -0
- package/esm2020/providers/intercom/intercom.mjs +60 -0
- package/esm2020/providers/kissmetrics/kissmetrics.mjs +40 -0
- package/esm2020/providers/launch/launch.mjs +59 -0
- package/esm2020/providers/matomo/matomo.mjs +303 -0
- package/esm2020/providers/mixpanel/mixpanel.mjs +109 -0
- package/esm2020/providers/pyze/pyze.mjs +65 -0
- package/esm2020/providers/segment/segment.mjs +100 -0
- package/esm2020/providers/splunk/splunk.mjs +46 -0
- package/esm2020/providers/woopra/woopra.mjs +61 -0
- package/esm2020/public_api.mjs +32 -0
- package/esm2020/routerless.mjs +10 -0
- package/esm2020/routerless.module.mjs +28 -0
- package/fesm2015/angulartics2.mjs +2248 -0
- package/fesm2015/angulartics2.mjs.map +1 -0
- package/fesm2020/angulartics2.mjs +2294 -0
- package/fesm2020/angulartics2.mjs.map +1 -0
- package/package.json +26 -13
- package/{adobeanalytics → providers/adobeanalytics}/README.md +1 -1
- package/{adobeanalytics → providers/adobeanalytics}/adobeanalytics.d.ts +4 -1
- package/{amplitude → providers/amplitude}/README.md +1 -1
- package/{amplitude → providers/amplitude}/amplitude.d.ts +4 -1
- package/{appinsights → providers/appinsights}/README.md +1 -1
- package/{appinsights → providers/appinsights}/appinsights.d.ts +5 -1
- package/{baidu → providers/baidu}/README.md +1 -1
- package/{baidu → providers/baidu}/baidu.d.ts +4 -1
- package/{clicky → providers/clicky}/README.md +1 -1
- package/{clicky → providers/clicky}/clicky.d.ts +4 -1
- package/{clicky → providers/clicky}/clicky.interfaces.d.ts +0 -0
- package/{facebook → providers/facebook}/README.md +1 -1
- package/{facebook → providers/facebook}/facebook.d.ts +4 -1
- package/{ga → providers/ga}/README.md +1 -1
- package/{ga → providers/ga}/ga.d.ts +6 -1
- package/{ga-enhanced-ecom → providers/ga-enhanced-ecom}/README.md +1 -1
- package/{ga-enhanced-ecom → providers/ga-enhanced-ecom}/ga-enhanced-ecom-options.d.ts +0 -0
- package/{ga-enhanced-ecom → providers/ga-enhanced-ecom}/ga-enhanced-ecom.d.ts +3 -0
- package/{gosquared → providers/gosquared}/README.md +1 -1
- package/{gosquared → providers/gosquared}/gosquared.d.ts +4 -1
- package/{gst → providers/gst}/README.md +2 -2
- package/{gst → providers/gst}/gst-interfaces.d.ts +0 -0
- package/{gst → providers/gst}/gst.d.ts +5 -1
- package/{gtm → providers/gtm}/README.md +2 -2
- package/{gtm → providers/gtm}/gtm.d.ts +5 -1
- package/{hubspot → providers/hubspot}/README.md +1 -1
- package/{hubspot → providers/hubspot}/hubspot.d.ts +4 -1
- package/{ibm-digital-analytics → providers/ibm-digital-analytics}/README.md +2 -2
- package/{ibm-digital-analytics → providers/ibm-digital-analytics}/ibm-digital-analytics.d.ts +4 -1
- package/{intercom → providers/intercom}/README.md +1 -1
- package/{intercom → providers/intercom}/intercom.d.ts +4 -1
- package/{kissmetrics → providers/kissmetrics}/README.md +1 -1
- package/{kissmetrics → providers/kissmetrics}/kissmetrics.d.ts +4 -1
- package/{launch → providers/launch}/README.md +3 -3
- package/{launch → providers/launch}/launch.d.ts +4 -1
- package/{matomo → providers/matomo}/README.md +3 -3
- package/{matomo → providers/matomo}/matomo.d.ts +9 -6
- package/{mixpanel → providers/mixpanel}/README.md +2 -2
- package/{mixpanel → providers/mixpanel}/mixpanel.d.ts +4 -1
- package/{pyze → providers/pyze}/README.md +1 -1
- package/providers/pyze/pyze.d.ts +13 -0
- package/{segment → providers/segment}/README.md +3 -3
- package/{segment → providers/segment}/segment.d.ts +4 -1
- package/{splunk → providers/splunk}/README.md +2 -2
- package/providers/splunk/splunk.d.ts +11 -0
- package/{woopra → providers/woopra}/README.md +1 -1
- package/{woopra → providers/woopra}/woopra.d.ts +4 -1
- package/public_api.d.ts +23 -0
- package/routerless.module.d.ts +10 -0
- package/adobeanalytics/angulartics2-adobeanalytics.d.ts +0 -4
- package/adobeanalytics/angulartics2-adobeanalytics.metadata.json +0 -1
- package/adobeanalytics/bundles/angulartics2-adobeanalytics.umd.js +0 -116
- package/adobeanalytics/bundles/angulartics2-adobeanalytics.umd.js.map +0 -1
- package/adobeanalytics/bundles/angulartics2-adobeanalytics.umd.min.js +0 -2
- package/adobeanalytics/bundles/angulartics2-adobeanalytics.umd.min.js.map +0 -1
- package/adobeanalytics/esm2015/adobeanalytics.js +0 -103
- package/adobeanalytics/esm2015/angulartics2-adobeanalytics.js +0 -5
- package/adobeanalytics/fesm2015/angulartics2-adobeanalytics.js +0 -107
- package/adobeanalytics/fesm2015/angulartics2-adobeanalytics.js.map +0 -1
- package/adobeanalytics/package.json +0 -20
- package/amplitude/angulartics2-amplitude.d.ts +0 -4
- package/amplitude/angulartics2-amplitude.metadata.json +0 -1
- package/amplitude/bundles/angulartics2-amplitude.umd.js +0 -88
- package/amplitude/bundles/angulartics2-amplitude.umd.js.map +0 -1
- package/amplitude/bundles/angulartics2-amplitude.umd.min.js +0 -2
- package/amplitude/bundles/angulartics2-amplitude.umd.min.js.map +0 -1
- package/amplitude/esm2015/amplitude.js +0 -73
- package/amplitude/esm2015/angulartics2-amplitude.js +0 -5
- package/amplitude/fesm2015/angulartics2-amplitude.js +0 -78
- package/amplitude/fesm2015/angulartics2-amplitude.js.map +0 -1
- package/amplitude/package.json +0 -20
- package/angulartics2.metadata.json +0 -1
- package/appinsights/angulartics2-appinsights.d.ts +0 -4
- package/appinsights/angulartics2-appinsights.metadata.json +0 -1
- package/appinsights/bundles/angulartics2-appinsights.umd.js +0 -134
- package/appinsights/bundles/angulartics2-appinsights.umd.js.map +0 -1
- package/appinsights/bundles/angulartics2-appinsights.umd.min.js +0 -2
- package/appinsights/bundles/angulartics2-appinsights.umd.min.js.map +0 -1
- package/appinsights/esm2015/angulartics2-appinsights.js +0 -5
- package/appinsights/esm2015/appinsights.js +0 -122
- package/appinsights/fesm2015/angulartics2-appinsights.js +0 -125
- package/appinsights/fesm2015/angulartics2-appinsights.js.map +0 -1
- package/appinsights/package.json +0 -20
- package/baidu/angulartics2-baidu.d.ts +0 -4
- package/baidu/angulartics2-baidu.metadata.json +0 -1
- package/baidu/bundles/angulartics2-baidu.umd.js +0 -98
- package/baidu/bundles/angulartics2-baidu.umd.js.map +0 -1
- package/baidu/bundles/angulartics2-baidu.umd.min.js +0 -2
- package/baidu/bundles/angulartics2-baidu.umd.min.js.map +0 -1
- package/baidu/esm2015/angulartics2-baidu.js +0 -5
- package/baidu/esm2015/baidu.js +0 -83
- package/baidu/fesm2015/angulartics2-baidu.js +0 -88
- package/baidu/fesm2015/angulartics2-baidu.js.map +0 -1
- package/baidu/package.json +0 -20
- package/bundles/angulartics2.umd.js +0 -564
- package/bundles/angulartics2.umd.js.map +0 -1
- package/bundles/angulartics2.umd.min.js +0 -16
- package/bundles/angulartics2.umd.min.js.map +0 -1
- package/clicky/angulartics2-clicky.d.ts +0 -4
- package/clicky/angulartics2-clicky.metadata.json +0 -1
- package/clicky/bundles/angulartics2-clicky.umd.js +0 -80
- package/clicky/bundles/angulartics2-clicky.umd.js.map +0 -1
- package/clicky/bundles/angulartics2-clicky.umd.min.js +0 -2
- package/clicky/bundles/angulartics2-clicky.umd.min.js.map +0 -1
- package/clicky/esm2015/angulartics2-clicky.js +0 -5
- package/clicky/esm2015/clicky.js +0 -68
- package/clicky/fesm2015/angulartics2-clicky.js +0 -72
- package/clicky/fesm2015/angulartics2-clicky.js.map +0 -1
- package/clicky/package.json +0 -20
- package/esm2015/angular-router.js +0 -36
- package/esm2015/angulartics2-config.js +0 -19
- package/esm2015/angulartics2-core.js +0 -89
- package/esm2015/angulartics2-interfaces.js +0 -1
- package/esm2015/angulartics2-token.js +0 -3
- package/esm2015/angulartics2.js +0 -5
- package/esm2015/angulartics2On.js +0 -55
- package/esm2015/public_api.js +0 -9
- package/esm2015/routerless.js +0 -10
- package/facebook/angulartics2-facebook.d.ts +0 -4
- package/facebook/angulartics2-facebook.metadata.json +0 -1
- package/facebook/bundles/angulartics2-facebook.umd.js +0 -62
- package/facebook/bundles/angulartics2-facebook.umd.js.map +0 -1
- package/facebook/bundles/angulartics2-facebook.umd.min.js +0 -2
- package/facebook/bundles/angulartics2-facebook.umd.min.js.map +0 -1
- package/facebook/esm2015/angulartics2-facebook.js +0 -5
- package/facebook/esm2015/facebook.js +0 -47
- package/facebook/fesm2015/angulartics2-facebook.js +0 -52
- package/facebook/fesm2015/angulartics2-facebook.js.map +0 -1
- package/facebook/package.json +0 -20
- package/fesm2015/angulartics2.js +0 -223
- package/fesm2015/angulartics2.js.map +0 -1
- package/ga/angulartics2-ga.d.ts +0 -4
- package/ga/angulartics2-ga.metadata.json +0 -1
- package/ga/bundles/angulartics2-ga.umd.js +0 -600
- package/ga/bundles/angulartics2-ga.umd.js.map +0 -1
- package/ga/bundles/angulartics2-ga.umd.min.js +0 -16
- package/ga/bundles/angulartics2-ga.umd.min.js.map +0 -1
- package/ga/esm2015/angulartics2-ga.js +0 -5
- package/ga/esm2015/ga.js +0 -207
- package/ga/fesm2015/angulartics2-ga.js +0 -212
- package/ga/fesm2015/angulartics2-ga.js.map +0 -1
- package/ga/package.json +0 -20
- package/ga-enhanced-ecom/angulartics2-ga-enhanced-ecom.d.ts +0 -4
- package/ga-enhanced-ecom/angulartics2-ga-enhanced-ecom.metadata.json +0 -1
- package/ga-enhanced-ecom/bundles/angulartics2-ga-enhanced-ecom.umd.js +0 -47
- package/ga-enhanced-ecom/bundles/angulartics2-ga-enhanced-ecom.umd.js.map +0 -1
- package/ga-enhanced-ecom/bundles/angulartics2-ga-enhanced-ecom.umd.min.js +0 -2
- package/ga-enhanced-ecom/bundles/angulartics2-ga-enhanced-ecom.umd.min.js.map +0 -1
- package/ga-enhanced-ecom/esm2015/angulartics2-ga-enhanced-ecom.js +0 -5
- package/ga-enhanced-ecom/esm2015/ga-enhanced-ecom.js +0 -30
- package/ga-enhanced-ecom/fesm2015/angulartics2-ga-enhanced-ecom.js +0 -36
- package/ga-enhanced-ecom/fesm2015/angulartics2-ga-enhanced-ecom.js.map +0 -1
- package/ga-enhanced-ecom/package.json +0 -20
- package/gosquared/angulartics2-gosquared.d.ts +0 -4
- package/gosquared/angulartics2-gosquared.metadata.json +0 -1
- package/gosquared/bundles/angulartics2-gosquared.umd.js +0 -72
- package/gosquared/bundles/angulartics2-gosquared.umd.js.map +0 -1
- package/gosquared/bundles/angulartics2-gosquared.umd.min.js +0 -2
- package/gosquared/bundles/angulartics2-gosquared.umd.min.js.map +0 -1
- package/gosquared/esm2015/angulartics2-gosquared.js +0 -5
- package/gosquared/esm2015/gosquared.js +0 -57
- package/gosquared/fesm2015/angulartics2-gosquared.js +0 -62
- package/gosquared/fesm2015/angulartics2-gosquared.js.map +0 -1
- package/gosquared/package.json +0 -20
- package/gst/angulartics2-gst.d.ts +0 -4
- package/gst/angulartics2-gst.metadata.json +0 -1
- package/gst/bundles/angulartics2-gst.umd.js +0 -514
- package/gst/bundles/angulartics2-gst.umd.js.map +0 -1
- package/gst/bundles/angulartics2-gst.umd.min.js +0 -16
- package/gst/bundles/angulartics2-gst.umd.min.js.map +0 -1
- package/gst/esm2015/angulartics2-gst.js +0 -5
- package/gst/esm2015/gst.js +0 -182
- package/gst/fesm2015/angulartics2-gst.js +0 -187
- package/gst/fesm2015/angulartics2-gst.js.map +0 -1
- package/gst/package.json +0 -20
- package/gtm/angulartics2-gtm.d.ts +0 -4
- package/gtm/angulartics2-gtm.metadata.json +0 -1
- package/gtm/bundles/angulartics2-gtm.umd.js +0 -125
- package/gtm/bundles/angulartics2-gtm.umd.js.map +0 -1
- package/gtm/bundles/angulartics2-gtm.umd.min.js +0 -2
- package/gtm/bundles/angulartics2-gtm.umd.min.js.map +0 -1
- package/gtm/esm2015/angulartics2-gtm.js +0 -5
- package/gtm/esm2015/gtm.js +0 -108
- package/gtm/fesm2015/angulartics2-gtm.js +0 -113
- package/gtm/fesm2015/angulartics2-gtm.js.map +0 -1
- package/gtm/package.json +0 -20
- package/hubspot/angulartics2-hubspot.d.ts +0 -4
- package/hubspot/angulartics2-hubspot.metadata.json +0 -1
- package/hubspot/bundles/angulartics2-hubspot.umd.js +0 -58
- package/hubspot/bundles/angulartics2-hubspot.umd.js.map +0 -1
- package/hubspot/bundles/angulartics2-hubspot.umd.min.js +0 -2
- package/hubspot/bundles/angulartics2-hubspot.umd.min.js.map +0 -1
- package/hubspot/esm2015/angulartics2-hubspot.js +0 -5
- package/hubspot/esm2015/hubspot.js +0 -43
- package/hubspot/fesm2015/angulartics2-hubspot.js +0 -48
- package/hubspot/fesm2015/angulartics2-hubspot.js.map +0 -1
- package/hubspot/package.json +0 -20
- package/ibm-digital-analytics/angulartics2-ibm-digital-analytics.d.ts +0 -4
- package/ibm-digital-analytics/angulartics2-ibm-digital-analytics.metadata.json +0 -1
- package/ibm-digital-analytics/bundles/angulartics2-ibm-digital-analytics.umd.js +0 -142
- package/ibm-digital-analytics/bundles/angulartics2-ibm-digital-analytics.umd.js.map +0 -1
- package/ibm-digital-analytics/bundles/angulartics2-ibm-digital-analytics.umd.min.js +0 -2
- package/ibm-digital-analytics/bundles/angulartics2-ibm-digital-analytics.umd.min.js.map +0 -1
- package/ibm-digital-analytics/esm2015/angulartics2-ibm-digital-analytics.js +0 -5
- package/ibm-digital-analytics/esm2015/ibm-digital-analytics.js +0 -127
- package/ibm-digital-analytics/fesm2015/angulartics2-ibm-digital-analytics.js +0 -132
- package/ibm-digital-analytics/fesm2015/angulartics2-ibm-digital-analytics.js.map +0 -1
- package/ibm-digital-analytics/package.json +0 -20
- package/intercom/angulartics2-intercom.d.ts +0 -4
- package/intercom/angulartics2-intercom.metadata.json +0 -1
- package/intercom/bundles/angulartics2-intercom.umd.js +0 -79
- package/intercom/bundles/angulartics2-intercom.umd.js.map +0 -1
- package/intercom/bundles/angulartics2-intercom.umd.min.js +0 -2
- package/intercom/bundles/angulartics2-intercom.umd.min.js.map +0 -1
- package/intercom/esm2015/angulartics2-intercom.js +0 -5
- package/intercom/esm2015/intercom.js +0 -64
- package/intercom/fesm2015/angulartics2-intercom.js +0 -69
- package/intercom/fesm2015/angulartics2-intercom.js.map +0 -1
- package/intercom/package.json +0 -20
- package/kissmetrics/angulartics2-kissmetrics.d.ts +0 -4
- package/kissmetrics/angulartics2-kissmetrics.metadata.json +0 -1
- package/kissmetrics/bundles/angulartics2-kissmetrics.umd.js +0 -59
- package/kissmetrics/bundles/angulartics2-kissmetrics.umd.js.map +0 -1
- package/kissmetrics/bundles/angulartics2-kissmetrics.umd.min.js +0 -2
- package/kissmetrics/bundles/angulartics2-kissmetrics.umd.min.js.map +0 -1
- package/kissmetrics/esm2015/angulartics2-kissmetrics.js +0 -5
- package/kissmetrics/esm2015/kissmetrics.js +0 -44
- package/kissmetrics/fesm2015/angulartics2-kissmetrics.js +0 -49
- package/kissmetrics/fesm2015/angulartics2-kissmetrics.js.map +0 -1
- package/kissmetrics/package.json +0 -23
- package/launch/angulartics2-launch.d.ts +0 -4
- package/launch/angulartics2-launch.metadata.json +0 -1
- package/launch/bundles/angulartics2-launch.umd.js +0 -78
- package/launch/bundles/angulartics2-launch.umd.js.map +0 -1
- package/launch/bundles/angulartics2-launch.umd.min.js +0 -2
- package/launch/bundles/angulartics2-launch.umd.min.js.map +0 -1
- package/launch/esm2015/angulartics2-launch.js +0 -5
- package/launch/esm2015/launch.js +0 -63
- package/launch/fesm2015/angulartics2-launch.js +0 -68
- package/launch/fesm2015/angulartics2-launch.js.map +0 -1
- package/launch/package.json +0 -20
- package/matomo/angulartics2-matomo.d.ts +0 -4
- package/matomo/angulartics2-matomo.metadata.json +0 -1
- package/matomo/bundles/angulartics2-matomo.umd.js +0 -309
- package/matomo/bundles/angulartics2-matomo.umd.js.map +0 -1
- package/matomo/bundles/angulartics2-matomo.umd.min.js +0 -2
- package/matomo/bundles/angulartics2-matomo.umd.min.js.map +0 -1
- package/matomo/esm2015/angulartics2-matomo.js +0 -5
- package/matomo/esm2015/matomo.js +0 -294
- package/matomo/fesm2015/angulartics2-matomo.js +0 -299
- package/matomo/fesm2015/angulartics2-matomo.js.map +0 -1
- package/matomo/package.json +0 -20
- package/mixpanel/angulartics2-mixpanel.d.ts +0 -4
- package/mixpanel/angulartics2-mixpanel.metadata.json +0 -1
- package/mixpanel/bundles/angulartics2-mixpanel.umd.js +0 -132
- package/mixpanel/bundles/angulartics2-mixpanel.umd.js.map +0 -1
- package/mixpanel/bundles/angulartics2-mixpanel.umd.min.js +0 -2
- package/mixpanel/bundles/angulartics2-mixpanel.umd.min.js.map +0 -1
- package/mixpanel/esm2015/angulartics2-mixpanel.js +0 -5
- package/mixpanel/esm2015/mixpanel.js +0 -117
- package/mixpanel/fesm2015/angulartics2-mixpanel.js +0 -122
- package/mixpanel/fesm2015/angulartics2-mixpanel.js.map +0 -1
- package/mixpanel/package.json +0 -20
- package/pyze/angulartics2-pyze.d.ts +0 -4
- package/pyze/angulartics2-pyze.metadata.json +0 -1
- package/pyze/bundles/angulartics2-pyze.umd.js +0 -82
- package/pyze/bundles/angulartics2-pyze.umd.js.map +0 -1
- package/pyze/bundles/angulartics2-pyze.umd.min.js +0 -2
- package/pyze/bundles/angulartics2-pyze.umd.min.js.map +0 -1
- package/pyze/esm2015/angulartics2-pyze.js +0 -5
- package/pyze/esm2015/pyze.js +0 -67
- package/pyze/fesm2015/angulartics2-pyze.js +0 -72
- package/pyze/fesm2015/angulartics2-pyze.js.map +0 -1
- package/pyze/package.json +0 -20
- package/pyze/pyze.d.ts +0 -10
- package/routerlessmodule/angulartics2-routerlessmodule.d.ts +0 -4
- package/routerlessmodule/angulartics2-routerlessmodule.metadata.json +0 -1
- package/routerlessmodule/bundles/angulartics2-routerlessmodule.umd.js +0 -38
- package/routerlessmodule/bundles/angulartics2-routerlessmodule.umd.js.map +0 -1
- package/routerlessmodule/bundles/angulartics2-routerlessmodule.umd.min.js +0 -2
- package/routerlessmodule/bundles/angulartics2-routerlessmodule.umd.min.js.map +0 -1
- package/routerlessmodule/esm2015/angulartics2-routerlessmodule.js +0 -5
- package/routerlessmodule/esm2015/routerless.module.js +0 -20
- package/routerlessmodule/fesm2015/angulartics2-routerlessmodule.js +0 -27
- package/routerlessmodule/fesm2015/angulartics2-routerlessmodule.js.map +0 -1
- package/routerlessmodule/package.json +0 -20
- package/routerlessmodule/routerless.module.d.ts +0 -5
- package/segment/angulartics2-segment.d.ts +0 -4
- package/segment/angulartics2-segment.metadata.json +0 -1
- package/segment/bundles/angulartics2-segment.umd.js +0 -120
- package/segment/bundles/angulartics2-segment.umd.js.map +0 -1
- package/segment/bundles/angulartics2-segment.umd.min.js +0 -2
- package/segment/bundles/angulartics2-segment.umd.min.js.map +0 -1
- package/segment/esm2015/angulartics2-segment.js +0 -5
- package/segment/esm2015/segment.js +0 -105
- package/segment/fesm2015/angulartics2-segment.js +0 -110
- package/segment/fesm2015/angulartics2-segment.js.map +0 -1
- package/segment/package.json +0 -20
- package/splunk/angulartics2-splunk.d.ts +0 -4
- package/splunk/angulartics2-splunk.metadata.json +0 -1
- package/splunk/bundles/angulartics2-splunk.umd.js +0 -62
- package/splunk/bundles/angulartics2-splunk.umd.js.map +0 -1
- package/splunk/bundles/angulartics2-splunk.umd.min.js +0 -2
- package/splunk/bundles/angulartics2-splunk.umd.min.js.map +0 -1
- package/splunk/esm2015/angulartics2-splunk.js +0 -5
- package/splunk/esm2015/splunk.js +0 -48
- package/splunk/fesm2015/angulartics2-splunk.js +0 -53
- package/splunk/fesm2015/angulartics2-splunk.js.map +0 -1
- package/splunk/package.json +0 -20
- package/splunk/splunk.d.ts +0 -8
- package/uiroutermodule/angulartics2-uiroutermodule.d.ts +0 -4
- package/uiroutermodule/angulartics2-uiroutermodule.metadata.json +0 -1
- package/uiroutermodule/bundles/angulartics2-uiroutermodule.umd.js +0 -76
- package/uiroutermodule/bundles/angulartics2-uiroutermodule.umd.js.map +0 -1
- package/uiroutermodule/bundles/angulartics2-uiroutermodule.umd.min.js +0 -2
- package/uiroutermodule/bundles/angulartics2-uiroutermodule.umd.min.js.map +0 -1
- package/uiroutermodule/esm2015/angulartics2-uiroutermodule.js +0 -5
- package/uiroutermodule/esm2015/public_api.js +0 -3
- package/uiroutermodule/esm2015/uirouter.js +0 -40
- package/uiroutermodule/esm2015/uirouter.module.js +0 -21
- package/uiroutermodule/fesm2015/angulartics2-uiroutermodule.js +0 -64
- package/uiroutermodule/fesm2015/angulartics2-uiroutermodule.js.map +0 -1
- package/uiroutermodule/package.json +0 -20
- package/uiroutermodule/public_api.d.ts +0 -2
- package/uiroutermodule/uirouter.d.ts +0 -17
- package/uiroutermodule/uirouter.module.d.ts +0 -5
- package/woopra/angulartics2-woopra.d.ts +0 -4
- package/woopra/angulartics2-woopra.metadata.json +0 -1
- package/woopra/bundles/angulartics2-woopra.umd.js +0 -79
- package/woopra/bundles/angulartics2-woopra.umd.js.map +0 -1
- package/woopra/bundles/angulartics2-woopra.umd.min.js +0 -2
- package/woopra/bundles/angulartics2-woopra.umd.min.js.map +0 -1
- package/woopra/esm2015/angulartics2-woopra.js +0 -5
- package/woopra/esm2015/woopra.js +0 -64
- package/woopra/fesm2015/angulartics2-woopra.js +0 -69
- package/woopra/fesm2015/angulartics2-woopra.js.map +0 -1
- package/woopra/package.json +0 -20
@@ -1,4 +1,5 @@
|
|
1
1
|
import { GaEnhancedEcomAction, GaEnhancedEcomActionFieldObject, GaEnhancedEcomImpressionFieldObject, GaEnhancedEcomProductFieldObject } from './ga-enhanced-ecom-options';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2GoogleAnalyticsEnhancedEcommerce {
|
3
4
|
/**
|
4
5
|
* Add impression in GA enhanced ecommerce tracking
|
@@ -15,4 +16,6 @@ export declare class Angulartics2GoogleAnalyticsEnhancedEcommerce {
|
|
15
16
|
* @link https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce
|
16
17
|
*/
|
17
18
|
ecSetAction(action: GaEnhancedEcomAction, properties: Partial<GaEnhancedEcomActionFieldObject>): void;
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2GoogleAnalyticsEnhancedEcommerce, never>;
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2GoogleAnalyticsEnhancedEcommerce>;
|
18
21
|
}
|
@@ -7,6 +7,6 @@
|
|
7
7
|
# GoSquared
|
8
8
|
__homepage__: [www.gosquared.com](https://www.gosquared.com/)
|
9
9
|
__docs__: [gosquared.com/docs](https://gosquared.com/docs)
|
10
|
-
__import__: `import { Angulartics2GoSquared } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2GoSquared } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2GoSquared {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -6,4 +7,6 @@ export declare class Angulartics2GoSquared {
|
|
6
7
|
pageTrack(path: string): void;
|
7
8
|
eventTrack(action: string, properties: any): void;
|
8
9
|
setUserProperties(properties: any): void;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2GoSquared, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2GoSquared>;
|
9
12
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
* __homepage__: [google.com/analytics](https://marketingplatform.google.com/about/analytics/)
|
10
10
|
* __docs__: [developers.google.com/analytics/devguides/collection/gtagjs](https://developers.google.com/analytics/devguides/collection/gtagjs/)
|
11
|
-
* __import__: `import { Angulartics2GoogleGlobalSiteTag } from 'angulartics2
|
11
|
+
* __import__: `import { Angulartics2GoogleGlobalSiteTag } from 'angulartics2';`
|
12
12
|
|
13
13
|
## Initial Setup
|
14
14
|
|
@@ -38,7 +38,7 @@ change to your analytics provider.
|
|
38
38
|
|
39
39
|
```ts
|
40
40
|
// component
|
41
|
-
import { Angulartics2GoogleGlobalSiteTag } from 'angulartics2
|
41
|
+
import { Angulartics2GoogleGlobalSiteTag } from 'angulartics2';
|
42
42
|
|
43
43
|
@Component({ ... })
|
44
44
|
export class AppComponent {
|
File without changes
|
@@ -1,5 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { GoogleGlobalSiteTagSettings } from '../../angulartics2-config';
|
2
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
3
|
import { EventGst, UserTimingsGst } from './gst-interfaces';
|
4
|
+
import * as i0 from "@angular/core";
|
3
5
|
export declare class GoogleGlobalSiteTagDefaults implements GoogleGlobalSiteTagSettings {
|
4
6
|
trackingIds: string[];
|
5
7
|
constructor();
|
@@ -53,4 +55,6 @@ export declare class Angulartics2GoogleGlobalSiteTag {
|
|
53
55
|
private setDimensionsAndMetrics;
|
54
56
|
private eventTrackInternal;
|
55
57
|
private cleanProperties;
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2GoogleGlobalSiteTag, never>;
|
59
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2GoogleGlobalSiteTag>;
|
56
60
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Google Tag Manager (`gtag.js`)
|
8
8
|
__homepage__: [google.com/analytics/tag-manager](https://www.google.com/analytics/tag-manager/)
|
9
9
|
__docs__: [developers.google.com/tag-manager/devguide](https://developers.google.com/tag-manager/devguide)
|
10
|
-
__import__: `import { Angulartics2GoogleTagManager } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2GoogleTagManager } from 'angulartics2';`
|
11
11
|
|
12
12
|
|
13
13
|
## Initial Setup
|
@@ -21,7 +21,7 @@ Bootstrapping the application with ```Angulartics2``` as provider and injecting
|
|
21
21
|
|
22
22
|
```ts
|
23
23
|
// component
|
24
|
-
import { Angulartics2GoogleTagManager } from 'angulartics2
|
24
|
+
import { Angulartics2GoogleTagManager } from 'angulartics2';
|
25
25
|
|
26
26
|
@Component({ ... })
|
27
27
|
export class AppComponent {
|
@@ -1,4 +1,6 @@
|
|
1
|
-
import { Angulartics2
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import { GoogleTagManagerSettings } from '../../angulartics2-config';
|
3
|
+
import * as i0 from "@angular/core";
|
2
4
|
export declare class GoogleTagManagerDefaults implements GoogleTagManagerSettings {
|
3
5
|
userId: any;
|
4
6
|
}
|
@@ -30,4 +32,6 @@ export declare class Angulartics2GoogleTagManager {
|
|
30
32
|
* @param userId used to identify user cross-device in Google Analytics
|
31
33
|
*/
|
32
34
|
setUsername(userId: string): void;
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2GoogleTagManager, never>;
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2GoogleTagManager>;
|
33
37
|
}
|
@@ -7,6 +7,6 @@
|
|
7
7
|
# HubSpot
|
8
8
|
__homepage__: [www.hubspot.com](https://www.hubspot.com/)
|
9
9
|
__docs__: [developers.hubspot.com/docs/methods/tracking_code_api/tracking_code_overview](https://developers.hubspot.com/docs/methods/tracking_code_api/tracking_code_overview)
|
10
|
-
__import__: `import { Angulartics2Hubspot } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2Hubspot } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2Hubspot {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -6,4 +7,6 @@ export declare class Angulartics2Hubspot {
|
|
6
7
|
pageTrack(path: string): void;
|
7
8
|
eventTrack(action: string, properties: any): void;
|
8
9
|
setUserProperties(properties: any): void;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Hubspot, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Hubspot>;
|
9
12
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# IBM Digital Analytics
|
8
8
|
__homepage__: [https://digitalanalytics.ibmcloud.com](https://digitalanalytics.ibmcloud.com)
|
9
9
|
__docs__: [https://www.ibm.com/support/knowledgecenter/SSPG9M/Analytics/kc_welcome_analytics.html](https://www.ibm.com/support/knowledgecenter/SSPG9M/Analytics/kc_welcome_analytics.html)
|
10
|
-
__import__: `import { Angulartics2IBMDigitalAnalytics } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2IBMDigitalAnalytics } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
13
13
|
|
@@ -62,7 +62,7 @@ export class AppModule { }
|
|
62
62
|
```ts
|
63
63
|
// app.component.ts
|
64
64
|
import { Component } from '@angular/core';
|
65
|
-
import { Angulartics2IBMDigitalAnalytics } from 'angulartics2
|
65
|
+
import { Angulartics2IBMDigitalAnalytics } from 'angulartics2';
|
66
66
|
|
67
67
|
@Component({
|
68
68
|
selector: 'app-root',
|
package/{ibm-digital-analytics → providers/ibm-digital-analytics}/ibm-digital-analytics.d.ts
RENAMED
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2IBMDigitalAnalytics {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -18,4 +19,6 @@ export declare class Angulartics2IBMDigitalAnalytics {
|
|
18
19
|
* @param properties The properties that need to be logged with the event.
|
19
20
|
*/
|
20
21
|
eventTrack(action: string, properties?: any): void;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2IBMDigitalAnalytics, never>;
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2IBMDigitalAnalytics>;
|
21
24
|
}
|
@@ -7,6 +7,6 @@
|
|
7
7
|
# Intercom
|
8
8
|
__homepage__: [www.intercom.com](https://www.intercom.com/)
|
9
9
|
__docs__: [developers.intercom.com/docs](https://developers.intercom.com/docs)
|
10
|
-
__import__: `import { Angulartics2Intercom } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2Intercom } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2Intercom {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -6,4 +7,6 @@ export declare class Angulartics2Intercom {
|
|
6
7
|
pageTrack(path: string): void;
|
7
8
|
eventTrack(action: string, properties: any): void;
|
8
9
|
setUserProperties(properties: any): void;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Intercom, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Intercom>;
|
9
12
|
}
|
@@ -7,6 +7,6 @@
|
|
7
7
|
# Kissmetrics
|
8
8
|
__homepage__: [kissmetrics.com/product/analyze/](https://www.kissmetrics.com/product/analyze/)
|
9
9
|
__docs__: [developers.kissmetrics.com/reference](https://developers.kissmetrics.com/reference)
|
10
|
-
__import__: `import { Angulartics2Kissmetrics } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2Kissmetrics } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2Kissmetrics {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -7,4 +8,6 @@ export declare class Angulartics2Kissmetrics {
|
|
7
8
|
eventTrack(action: string, properties: any): void;
|
8
9
|
setUsername(userId: string): void;
|
9
10
|
setUserProperties(properties: any): void;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Kissmetrics, never>;
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Kissmetrics>;
|
10
13
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Launch, by Adobe
|
8
8
|
__homepage__: [Launch, by Adobe](https://www.adobe.com/experience-platform/launch.html)
|
9
9
|
__docs__: [developer.adobelaunch.com/](https://developer.adobelaunch.com/)
|
10
|
-
__import__: `import { Angulartics2LaunchByAdobe } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2LaunchByAdobe } from 'angulartics2';`
|
11
11
|
|
12
12
|
|
13
13
|
## Initial Setup
|
@@ -25,7 +25,7 @@ Bootstrapping the application with ```Angulartics2``` as provider and injecting
|
|
25
25
|
|
26
26
|
```ts
|
27
27
|
// component
|
28
|
-
import { Angulartics2LaunchByAdobe } from 'angulartics2
|
28
|
+
import { Angulartics2LaunchByAdobe } from 'angulartics2';
|
29
29
|
|
30
30
|
@Component({ ... })
|
31
31
|
export class AppComponent {
|
@@ -39,7 +39,7 @@ export class AppComponent {
|
|
39
39
|
```ts
|
40
40
|
// bootstrap
|
41
41
|
import { Angulartics2Module } from 'angulartics2';
|
42
|
-
import { Angulartics2LaunchByAdobe } from 'angulartics2
|
42
|
+
import { Angulartics2LaunchByAdobe } from 'angulartics2';
|
43
43
|
|
44
44
|
@NgModule({
|
45
45
|
imports: [
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2LaunchByAdobe {
|
3
4
|
protected angulartics2: Angulartics2;
|
4
5
|
payload: any;
|
@@ -12,4 +13,6 @@ export declare class Angulartics2LaunchByAdobe {
|
|
12
13
|
* @param properties associated with the event
|
13
14
|
*/
|
14
15
|
eventTrack(action: string, properties: any): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2LaunchByAdobe, never>;
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2LaunchByAdobe>;
|
15
18
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Matomo
|
8
8
|
__homepage__: [matomo.org](https://matomo.org)
|
9
9
|
__docs__: [developer.matomo.org](https://developer.matomo.org)
|
10
|
-
__import__: `import { Angulartics2Matomo } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2Matomo } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
13
13
|
Add the standard matomo track code inside your index.html head tag:
|
@@ -35,7 +35,7 @@ Replace YOUR-DOMAIN with your matomo domain (`//DOMAIN.innocraft.cloud` if you a
|
|
35
35
|
Pass the Matomo provider to angulartics in app.module:
|
36
36
|
```ts
|
37
37
|
import { Angulartics2Module } from 'angulartics2';
|
38
|
-
import { Angulartics2Matomo } from 'angulartics2
|
38
|
+
import { Angulartics2Matomo } from 'angulartics2';
|
39
39
|
@NgModule({
|
40
40
|
imports: [
|
41
41
|
Angulartics2Module.forRoot(),
|
@@ -44,7 +44,7 @@ import { Angulartics2Matomo } from 'angulartics2/matomo';
|
|
44
44
|
|
45
45
|
Inject angulartics into your root component (usually appComponent)
|
46
46
|
```ts
|
47
|
-
import { Angulartics2Matomo } from 'angulartics2
|
47
|
+
import { Angulartics2Matomo } from 'angulartics2';
|
48
48
|
export class AppComponent {
|
49
49
|
// inject Angulartics2Matomo in root component and initialize it
|
50
50
|
constructor(private angulartics2Matomo: Angulartics2Matomo) {
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare type EventTrackAction = 'setEcommerceView' | 'addEcommerceItem' | 'trackEcommerceCartUpdate' | 'trackEcommerceOrder' | 'trackLink' | 'trackGoal' | 'trackSiteSearch' | string;
|
3
4
|
export declare type ScopeMatomo = 'visit' | 'page';
|
4
5
|
export interface DimensionsMatomoProperties {
|
@@ -127,11 +128,13 @@ export declare class Angulartics2Matomo {
|
|
127
128
|
*/
|
128
129
|
setUserProperties(properties: SetCustomVariableMatomoProperties): void;
|
129
130
|
/**
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
131
|
+
* If you created a custom variable and then decide to remove this variable from
|
132
|
+
* a visit or page view, you can use deleteCustomVariable.
|
133
|
+
*
|
134
|
+
* @link https://developer.matomo.org/guides/tracking-javascript-guide#deleting-a-custom-variable
|
135
|
+
*/
|
135
136
|
deletedUserProperties(properties: DeleteCustomVariableMatomoProperties): void;
|
136
137
|
private setCustomDimensions;
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Matomo, never>;
|
139
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Matomo>;
|
137
140
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
**homepage**: [mixpanel.com](https://mixpanel.com/)
|
10
10
|
**docs**: [mixpanel.com/help/reference/javascript](https://mixpanel.com/help/reference/javascript)
|
11
|
-
**import**: `import { Angulartics2Mixpanel } from 'angulartics2
|
11
|
+
**import**: `import { Angulartics2Mixpanel } from 'angulartics2';`
|
12
12
|
|
13
13
|
## Setup
|
14
14
|
|
@@ -48,7 +48,7 @@ export interface MixPanelPayloadProperties {
|
|
48
48
|
```ts
|
49
49
|
import { Injectable } from '@angular/core';
|
50
50
|
import { Actions, Effect } from '@ngrx/effects';
|
51
|
-
import { Angulartics2Mixpanel } from 'angulartics2
|
51
|
+
import { Angulartics2Mixpanel } from 'angulartics2';
|
52
52
|
|
53
53
|
import * as mixpanel from '../actions/mixpanel';
|
54
54
|
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2Mixpanel {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -11,4 +12,6 @@ export declare class Angulartics2Mixpanel {
|
|
11
12
|
setSuperProperties(properties: any): void;
|
12
13
|
setSuperPropertiesOnce(properties: any): void;
|
13
14
|
setAlias(alias: any): void;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Mixpanel, never>;
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Mixpanel>;
|
14
17
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
__homepage__: [pyze.com](https://www.pyze.com/)
|
10
10
|
__docs__: [docs.pyze.com/web.html](https://docs.pyze.com/web.html)
|
11
|
-
__import__: `import { Angulartics2Pyze } from 'angulartics2
|
11
|
+
__import__: `import { Angulartics2Pyze } from 'angulartics2';`
|
12
12
|
|
13
13
|
## Setup
|
14
14
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class Angulartics2Pyze {
|
4
|
+
private angulartics2;
|
5
|
+
constructor(angulartics2: Angulartics2);
|
6
|
+
startTracking(): void;
|
7
|
+
pageTrack(path: string): void;
|
8
|
+
eventTrack(action: string, properties: any): void;
|
9
|
+
setUserProfile(userId: string): void;
|
10
|
+
updateUserProfile(properties: string): void;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Pyze, never>;
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Pyze>;
|
13
|
+
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Segment
|
8
8
|
__homepage__: [segment.com](https://segment.com/)
|
9
9
|
__docs__: [segment.com/docs/sources/website/analytics.js](https://segment.com/docs/sources/website/analytics.js/)
|
10
|
-
__import__: `import { Angulartics2Segment } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2Segment } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
13
13
|
1. Add `Angulartics2Module` to your root NgModule passing an array of providers to enable
|
@@ -17,7 +17,7 @@ import { BrowserModule } from '@angular/platform-browser';
|
|
17
17
|
import { RouterModule, Routes } from '@angular/router';
|
18
18
|
|
19
19
|
import { Angulartics2Module } from 'angulartics2';
|
20
|
-
import { Angulartics2Segment } from 'angulartics2
|
20
|
+
import { Angulartics2Segment } from 'angulartics2';
|
21
21
|
|
22
22
|
const ROUTES: Routes = [
|
23
23
|
{ path: '', component: HomeComponent },
|
@@ -39,7 +39,7 @@ const ROUTES: Routes = [
|
|
39
39
|
2. __Required__: Import your providers in the root component. This starts the tracking of route changes.
|
40
40
|
```ts
|
41
41
|
// component
|
42
|
-
import { Angulartics2Segment } from 'angulartics2
|
42
|
+
import { Angulartics2Segment } from 'angulartics2';
|
43
43
|
|
44
44
|
@Component({ ... })
|
45
45
|
export class AppComponent {
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2Segment {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -33,4 +34,6 @@ export declare class Angulartics2Segment {
|
|
33
34
|
* analytics.alias(userId, previousId, options, callback);
|
34
35
|
*/
|
35
36
|
setAlias(alias: any): void;
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Segment, never>;
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Segment>;
|
36
39
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Splunk
|
8
8
|
__homepage__: [splunk.com](https://www.splunk.com/)
|
9
9
|
__docs__: [Splunk Collector API](https://github.com/splunk/splunk-demo-collector-for-analyticsjs#api)
|
10
|
-
__import__: `import { Angulartics2Splunk } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2Splunk } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
13
13
|
1. Add tracking code [provided by Splunk](https://www.splunk.com/blog/2013/10/17/still-using-3rd-party-web-analytics-providers-build-your-own-using-splunk.html) to right above the `</head>` closing tag.
|
@@ -46,7 +46,7 @@ const ROUTES: Routes = [
|
|
46
46
|
3. __Required__: Import your providers in the root component. This starts the tracking of route changes.
|
47
47
|
```ts
|
48
48
|
// component
|
49
|
-
import { Angulartics2Splunk } from 'angulartics2
|
49
|
+
import { Angulartics2Splunk } from 'angulartics2';
|
50
50
|
|
51
51
|
@Component({ ... })
|
52
52
|
export class AppComponent {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class Angulartics2Splunk {
|
4
|
+
private angulartics2;
|
5
|
+
constructor(angulartics2: Angulartics2);
|
6
|
+
startTracking(): void;
|
7
|
+
pageTrack(path: string): void;
|
8
|
+
eventTrack(action: string, properties: any): void;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Splunk, never>;
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Splunk>;
|
11
|
+
}
|
@@ -7,6 +7,6 @@
|
|
7
7
|
# Woopra
|
8
8
|
__homepage__: [woopra.com](https://www.woopra.com/)
|
9
9
|
__docs__: [woopra.com/docs/setup/javascript-tracking/](https://www.woopra.com/docs/setup/javascript-tracking/)
|
10
|
-
__import__: `import { Angulartics2Woopra } from 'angulartics2
|
10
|
+
__import__: `import { Angulartics2Woopra } from 'angulartics2';`
|
11
11
|
|
12
12
|
## Setup
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Angulartics2 } from 'angulartics2';
|
1
|
+
import { Angulartics2 } from '../../angulartics2-core';
|
2
|
+
import * as i0 from "@angular/core";
|
2
3
|
export declare class Angulartics2Woopra {
|
3
4
|
private angulartics2;
|
4
5
|
constructor(angulartics2: Angulartics2);
|
@@ -6,4 +7,6 @@ export declare class Angulartics2Woopra {
|
|
6
7
|
pageTrack(path: string): void;
|
7
8
|
eventTrack(action: string, properties: any): void;
|
8
9
|
setUserProperties(properties: any): void;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2Woopra, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Angulartics2Woopra>;
|
9
12
|
}
|
package/public_api.d.ts
CHANGED
@@ -6,3 +6,26 @@ export { Angulartics2On, Angulartics2OnModule } from './angulartics2On';
|
|
6
6
|
export * from './angulartics2-config';
|
7
7
|
export { RouterlessTracking, TrackNavigationEnd } from './routerless';
|
8
8
|
export { AngularRouterTracking } from './angular-router';
|
9
|
+
export { Angulartics2RouterlessModule } from './routerless.module';
|
10
|
+
export * from './providers/adobeanalytics/adobeanalytics';
|
11
|
+
export * from './providers/appinsights/appinsights';
|
12
|
+
export * from './providers/baidu/baidu';
|
13
|
+
export * from './providers/facebook/facebook';
|
14
|
+
export * from './providers/ga/ga';
|
15
|
+
export * from './providers/ga-enhanced-ecom/ga-enhanced-ecom';
|
16
|
+
export * from './providers/gtm/gtm';
|
17
|
+
export * from './providers/gst/gst';
|
18
|
+
export * from './providers/hubspot/hubspot';
|
19
|
+
export * from './providers/kissmetrics/kissmetrics';
|
20
|
+
export * from './providers/launch/launch';
|
21
|
+
export * from './providers/mixpanel/mixpanel';
|
22
|
+
export * from './providers/pyze/pyze';
|
23
|
+
export * from './providers/matomo/matomo';
|
24
|
+
export * from './providers/segment/segment';
|
25
|
+
export * from './providers/intercom/intercom';
|
26
|
+
export * from './providers/woopra/woopra';
|
27
|
+
export * from './providers/clicky/clicky';
|
28
|
+
export * from './providers/amplitude/amplitude';
|
29
|
+
export * from './providers/splunk/splunk';
|
30
|
+
export * from './providers/ibm-digital-analytics/ibm-digital-analytics';
|
31
|
+
export * from './providers/gosquared/gosquared';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
2
|
+
import { Angulartics2Settings } from './angulartics2-config';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "./angulartics2On";
|
5
|
+
export declare class Angulartics2RouterlessModule {
|
6
|
+
static forRoot(settings?: Partial<Angulartics2Settings>): ModuleWithProviders<Angulartics2RouterlessModule>;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Angulartics2RouterlessModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Angulartics2RouterlessModule, never, [typeof i1.Angulartics2OnModule], never>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<Angulartics2RouterlessModule>;
|
10
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"Angulartics2AdobeAnalytics":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"angulartics2","name":"Angulartics2","line":11,"character":26},{"__symbolic":"reference","module":"@angular/common","name":"Location","line":12,"character":22}]}],"startTracking":[{"__symbolic":"method"}],"pageTrack":[{"__symbolic":"method"}],"eventTrack":[{"__symbolic":"method"}],"setPageName":[{"__symbolic":"method"}],"setUserProperties":[{"__symbolic":"method"}]},"statics":{"ɵprov":{}}}},"origins":{"Angulartics2AdobeAnalytics":"./adobeanalytics"},"importAs":"angulartics2/adobeanalytics"}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('angulartics2')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('angulartics2/adobeanalytics', ['exports', '@angular/common', '@angular/core', 'angulartics2'], factory) :
|
4
|
-
(global = global || self, factory((global.angulartics2 = global.angulartics2 || {}, global.angulartics2.adobeanalytics = {}), global.ng.common, global.ng.core, global.angulartics2));
|
5
|
-
}(this, (function (exports, i2, i0, i1) { 'use strict';
|
6
|
-
|
7
|
-
var Angulartics2AdobeAnalytics = /** @class */ (function () {
|
8
|
-
function Angulartics2AdobeAnalytics(angulartics2, location) {
|
9
|
-
var _this = this;
|
10
|
-
this.angulartics2 = angulartics2;
|
11
|
-
this.location = location;
|
12
|
-
this.angulartics2.setUserProperties
|
13
|
-
.subscribe(function (x) { return _this.setUserProperties(x); });
|
14
|
-
}
|
15
|
-
Angulartics2AdobeAnalytics.prototype.startTracking = function () {
|
16
|
-
var _this = this;
|
17
|
-
this.angulartics2.pageTrack
|
18
|
-
.pipe(this.angulartics2.filterDeveloperMode())
|
19
|
-
.subscribe(function (x) { return _this.pageTrack(x.path); });
|
20
|
-
this.angulartics2.eventTrack
|
21
|
-
.pipe(this.angulartics2.filterDeveloperMode())
|
22
|
-
.subscribe(function (x) { return _this.eventTrack(x.action, x.properties); });
|
23
|
-
};
|
24
|
-
Angulartics2AdobeAnalytics.prototype.pageTrack = function (path) {
|
25
|
-
if (typeof s !== 'undefined' && s) {
|
26
|
-
s.clearVars();
|
27
|
-
s.t({ pageName: path });
|
28
|
-
}
|
29
|
-
};
|
30
|
-
/**
|
31
|
-
* Track Event in Adobe Analytics
|
32
|
-
*
|
33
|
-
* @param action associated with the event
|
34
|
-
* @param properties action detials
|
35
|
-
*
|
36
|
-
* @link https://marketing.adobe.com/resources/help/en_US/sc/implement/js_implementation.html
|
37
|
-
*/
|
38
|
-
Angulartics2AdobeAnalytics.prototype.eventTrack = function (action, properties) {
|
39
|
-
// TODO: make interface
|
40
|
-
// @property {string} properties.category
|
41
|
-
// @property {string} properties.label
|
42
|
-
// @property {number} properties.value
|
43
|
-
// @property {boolean} properties.noninteraction
|
44
|
-
if (!properties) {
|
45
|
-
properties = properties || {};
|
46
|
-
}
|
47
|
-
if (typeof s !== 'undefined' && s) {
|
48
|
-
if (typeof properties === 'object') {
|
49
|
-
this.setUserProperties(properties);
|
50
|
-
}
|
51
|
-
if (action) {
|
52
|
-
// if linkName property is passed, use that; otherwise, the action is the linkName
|
53
|
-
var linkName = (properties['linkName']) ? properties['linkName'] : action;
|
54
|
-
// note that 'this' should refer the link element, but we can't get that in this function. example:
|
55
|
-
// <a href="http://anothersite.com" onclick="s.tl(this,'e','AnotherSite',null)">
|
56
|
-
// if disableDelay property is passed, use that to turn off/on the 500ms delay; otherwise, it uses this
|
57
|
-
var disableDelay = !!properties['disableDelay'] ? true : this;
|
58
|
-
// if action property is passed, use that; otherwise, the action remains unchanged
|
59
|
-
if (properties['action']) {
|
60
|
-
action = properties['action'];
|
61
|
-
}
|
62
|
-
this.setPageName();
|
63
|
-
if (action.toUpperCase() === 'DOWNLOAD') {
|
64
|
-
s.tl(disableDelay, 'd', linkName);
|
65
|
-
}
|
66
|
-
else if (action.toUpperCase() === 'EXIT') {
|
67
|
-
s.tl(disableDelay, 'e', linkName);
|
68
|
-
}
|
69
|
-
else {
|
70
|
-
s.tl(disableDelay, 'o', linkName);
|
71
|
-
}
|
72
|
-
}
|
73
|
-
}
|
74
|
-
};
|
75
|
-
Angulartics2AdobeAnalytics.prototype.setPageName = function () {
|
76
|
-
var path = this.location.path(true);
|
77
|
-
var hashNdx = path.indexOf('#');
|
78
|
-
if (hashNdx > 0 && hashNdx < path.length) {
|
79
|
-
s.pageName = path.substring(hashNdx + 1);
|
80
|
-
}
|
81
|
-
else {
|
82
|
-
s.pageName = path;
|
83
|
-
}
|
84
|
-
};
|
85
|
-
Angulartics2AdobeAnalytics.prototype.setUserProperties = function (properties) {
|
86
|
-
if (typeof s !== 'undefined' && s) {
|
87
|
-
if (typeof properties === 'object') {
|
88
|
-
for (var key in properties) {
|
89
|
-
if (properties.hasOwnProperty(key)) {
|
90
|
-
s[key] = properties[key];
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
95
|
-
};
|
96
|
-
return Angulartics2AdobeAnalytics;
|
97
|
-
}());
|
98
|
-
Angulartics2AdobeAnalytics.ɵprov = i0.ɵɵdefineInjectable({ factory: function Angulartics2AdobeAnalytics_Factory() { return new Angulartics2AdobeAnalytics(i0.ɵɵinject(i1.Angulartics2), i0.ɵɵinject(i2.Location)); }, token: Angulartics2AdobeAnalytics, providedIn: "root" });
|
99
|
-
Angulartics2AdobeAnalytics.decorators = [
|
100
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
101
|
-
];
|
102
|
-
Angulartics2AdobeAnalytics.ctorParameters = function () { return [
|
103
|
-
{ type: i1.Angulartics2 },
|
104
|
-
{ type: i2.Location }
|
105
|
-
]; };
|
106
|
-
|
107
|
-
/**
|
108
|
-
* Generated bundle index. Do not edit.
|
109
|
-
*/
|
110
|
-
|
111
|
-
exports.Angulartics2AdobeAnalytics = Angulartics2AdobeAnalytics;
|
112
|
-
|
113
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
114
|
-
|
115
|
-
})));
|
116
|
-
//# sourceMappingURL=angulartics2-adobeanalytics.umd.js.map
|