You're in luck, Falcon support both Google Analytics and Tag Manager out of the box.
The config can be added to the config files in the
client/config directory. Find out more about that here
Chances are you won't want to commit these into your repo. If you do, you can add them to your
It's advised you add this kind of config as a server variable.
You may or may not have a
client/config/custom-environment-variables.json file. If you don't, create it.
Once you've got that file you'll need to map your environment variables to the config.
You can find a full explanation here.
- Log into your
- Set your value
dcloud env:var production GTM_CODE XXXXXXXXX
You should now see analytics data coming in as expected.