METEOR_SETTINGS - GA code keeps failing

119 views Asked by At

I have a small app deployed on Modulus.io, and there's a section for a variable called METEOR_SETTINGS, which is a JSON object that holds some API keys.

I have two API keys in this object.

For whatever reason, my google-analytics tracker always reports that my tracker is MISSING.

I'm using the iron-router GA package.

Here's a sample of my JSON string:

{ "PrerenderIO": {"token": "xxxxxxxxxxxxx"}, "public": {"ga": {"id": "UA-xxxxxxxx-x"} } }

Has anyone setup a METEOR_SETTINGS successfully with GA and another service? What am I doing wrong?

1

There are 1 answers

1
Ethaan On BEST ANSWER

Be sure after you run a modulus project reset every time you change the settings options on the modulus dashboard admin.

modulus project restart
modulus deploy