googleanalytics / autotrack

Automatic and enhanced Google Analytics tracking for common user interactions on the web.
Other
4.93k stars 563 forks source link

Wont work with angular cli #195

Closed mackelito closed 7 years ago

mackelito commented 7 years ago

When importing autotrack I get this error when building.

ERROR in vendor.999452ff7d973a3cf95e.bundle.js from UglifyJs Unexpected token: name (toAdd) [/Users/arket/node_modules/autotrack/lib/usage.js:78,0][vendor.999452ff7d973a3cf95e.bundle.js:20744,8] error Command failed with exit code 1.

philipwalton commented 7 years ago

Not sure why you close this, but in case it's helpful, this could be related to #137.

mackelito commented 7 years ago

Yes.. that was the problem.. still not solved for me but not a bug in autotrack :P