I'm using Angulartics2. I'm trying to set tracking code dynamically to have something like this:
ga('create', environment.trackingCode, 'auto');
But I couldn't find a way to do that.
I absolutely need to read this variable from environment.ts
Is there a way to read it in index.html
from script tag.
Otherwise, Is it possible to remove this line and do it with Angulartics2 ?