angulartics / angulartics-google-analytics

Google Analytics plugin for Angulartics
MIT License
133 stars 86 forks source link

Missing method: registerTransactionTrack in Angulartics #93

Closed Wuntenn closed 7 years ago

Wuntenn commented 7 years ago

I'm getting an error: hint.js:569 Uncaught Error: [$injector:modulerr] Failed to instantiate module mean due to:

Error: [$injector:modulerr] Failed to instantiate module angulartics.google.analytics due to: TypeError: $analyticsProvider.registerTransactionTrack is not a function at http://localhost:3000/lib/angulartics-google-analytics/lib/angulartics-ga.js:252:22

I've gone to the Angulartics code base and cannot find this method either. Has anyone else encountered this issue, or is anyone able to help?

timelf123 commented 7 years ago

https://github.com/angulartics/angulartics/blob/master/src/angulartics.js#L59 do you have the latest angulartics?

Wuntenn commented 7 years ago

I decided to uninstall and re-install the modules just to be sure that issues weren't coming from inconsistent files. At that point I was using Angulartics#1.3.0 and Angulartics-google-analytics#0.4.0

I've downgraded Angulartics-google-analytics#0.4.0 to version Angulartics-google-analytics#0.3.0and now i'm back to my original issue :(

Wuntenn commented 7 years ago

Solved it... man i'm still dumb!

ildikototh commented 4 years ago

@Wuntenn How did you solve this?