angulartics / angulartics-mixpanel

Mixpanel plugin for Angulartics
MIT License
34 stars 27 forks source link

TypeError: $analyticsProvider.registerIncrementProperty is not a function #25

Closed nevcos closed 6 years ago

nevcos commented 7 years ago

Giving this error:

TypeError: $analyticsProvider.registerIncrementProperty is not a function

Using:

From the angulartics code, doesn't seem to be any registerIncrementProperty function in any version.

angulartics-mixpanel version 0.1.2 works as expected

Edorka commented 7 years ago

+1, we are downgrading to 0.1.2 thanks @nevcos

marcelchastain commented 6 years ago

@nevcos @Edorka support for incrementProperty was added in angulartics 1.1.0; manually updating your dependencies should fix the issue.

bower install angulartics#1.4.0 --save

Submitted PR #32 to fix it permanently.

timelf123 commented 6 years ago

https://github.com/angulartics/angulartics-mixpanel/commit/6e7aed1e06a5ea853df640ea38528ef9ec0c9461 ty