DEV Community

Bruce Axtens
Bruce Axtens

Posted on

How do I embed javascript into an IIS UrlRewrite rule?

Context: Azure, Windows Server 2012 R2, IIS 8

The standard rewrite providers in IIS 8 are { and '}' and these are used in various contexts to represent captures, replacements and symbols, e.g. {C:0}, {R:1}, {HTTP_ORIGIN}.

I'm trying to use a rule to inject Google Tag Manager…

Discussion (0)