Okgrow:analytics and Meteor 1.3

Does anyone know how we have to import analytics from okgrow ? This

import { analytics } from 'meteor/okgrow:analytics';

does not work and I do not find any example.

I have the following issue in my console

TypeError: _okgrowAnalytics.analytics is undefined

on

analytics.track('my event');

Thanks !

I don’t see a package export in okgrow:analytics. What happens in you just take out the import call and call analytics.track? I’d assume this would work because of Meteor’s package namespacing, but maybe I’m wrong.

If this is the case maybe submit a PR to export the symbol analytics.

@skirunman you’re right, thanks !

Yes, you are right, I don’t see also package export in analytics.