React-ga: ReactGA.initialize is not a function

Created on 26 Sep 2017  路  4Comments  路  Source: react-ga/react-ga

Updating to 2.3.3 broke my build.
Usage in code:
const ReactGA = require('react-ga'); ... ReactGA.initialize(GAtoken);
Downgraded to 2.2 and it worked.

All 4 comments

Also experiencing the same issue.

I am seeing the same issue, went back to 2.2 and everything is fine again.

The issue is discussed at length here: https://github.com/react-ga/react-ga/issues/165

Thanks for the reference @mandy6720

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wasabia picture wasabia  路  5Comments

Dimomir picture Dimomir  路  3Comments

khmelevskii picture khmelevskii  路  5Comments

HcwXd picture HcwXd  路  4Comments

horaceleung picture horaceleung  路  6Comments