Open gugol2 opened 2 years ago
At the moment I am solving it like so:
if (!isLocalServer()) {
optimizelyKey = process.env.REACT_APP_OPTIMIZELY_SDK_KEY!;
const tagManagerArgs = {
gtmId: process.env.REACT_APP_GTM_ID as string,
};
TagManager.initialize(tagManagerArgs);
}
But I wonder if could be done with an attribute in tagManagerArgs
Ok, I made a small development...
How could I open a PR to this repo?
Hi @gugol2,
here is a step by step guide: https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github.
what npm version did you use to install the package
I read that this is possible when interacting directly with GTM:
Quoting the docs:
Is this possible using react-gtm?