ilrein
ilrein

Reputation: 3923

METEOR_SETTINGS - GA code keeps failing

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?

Upvotes: 0

Views: 97

Answers (1)

Ethaan
Ethaan

Reputation: 11376

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

Upvotes: 2

Related Questions