Open philpott opened 2 years ago
https://github.com/jmpate/ot-cmp-gcm-template/blob/94c333a0642b1f7ba00442df40662548bfafc5f9/template.tpl#L143
When reviewing your template we've noticed that it is using parameters to build a url. It's a best practice to use [EncodeUri()](https://developers.google.com/tag-manager/templates/api#encodeuri) if part of the URL path or [EncodeUriComponent()](https://developers.google.com/tag-manager/templates/api#encodeuricomponent) if used as a URL parameter.
https://github.com/jmpate/ot-cmp-gcm-template/blob/94c333a0642b1f7ba00442df40662548bfafc5f9/template.tpl#L143
When reviewing your template we've noticed that it is using parameters to build a url. It's a best practice to use [EncodeUri()](https://developers.google.com/tag-manager/templates/api#encodeuri) if part of the URL path or [EncodeUriComponent()](https://developers.google.com/tag-manager/templates/api#encodeuricomponent) if used as a URL parameter.