Closed pm20390 closed 1 year ago
@mzuccaroli here is the updated PR with the fork existing this time :)
Hi @pm20390 sorry for my absence but I was very busy, I merged your PM in the develop branch can you help me by testing this branch so I can release the 1.7.1 version?
@mzuccaroli sure, no prob
are there any specific tests you need or just check it out and let you know that its ok?
check it out, I have not created consistent test plans
Fix https://github.com/mzuccaroli/angular-google-tag-manager/issues/171 where the public-api was missing an export.
Added a feature my team needed that I've called "silent mode", where instead of throwing an error when the GTM id is null, it will simply return false. This is especially useful for dynamically loaded GTM ids that may not always be available or valid. It looks for an injection token "googleTagManagerMode" specified as "silent" or "noisy" (defaults to "noisy") to determine the behavior.
"Silent mode" fixes https://github.com/mzuccaroli/angular-google-tag-manager/issues/158 as well I believe.