We are attempting to embed a GTM, Google Tag Manager, script into the header of the Cloud Page header. When we do this and go to save the change CloudPages won't save it. We can take the GTM code out and it will save, so it may be a functionality issue with cloud pages since it won't accept the GTM script code.

Right now the GTM code is wrapped in a $(document).load() because that was the only way we could get cloud pages to save it, and it kicks out an error and doesn't work.

Anyone have a similar issue or may have a solution?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.