Google Analytics 500 Server Error

Installed GA via npm i @frontity/google-analytics then added the package to frontity.settings.js but get a 500 Internal Server Error. Syntax seems right, but maybe I’m overlooking something. Anyone else having this issue?


Hi @justin

Can you please provide a repo or code-sandbox with your code? This is especially helpful to find solutions of technical issues with specific code

Have you checked the documentation of the Analytics Packages?

That setting is enough to start tracking your pageviews (the tracking will be done automatically by default if this setting is detected). is not meant to be called manually. Maybe you’r calling it without any argument?

There’s also a bug detected that may be the reason of your issue

that is considered a High Priority bug and will be attended by the team in the current Sprint