GTM not working on secure marketo LP's | Community
Skip to main content
Justine_Barthol
Level 2
Aug 7, 2019 3:37 PM UTC
Solved

GTM not working on secure marketo LP's

Hi - we have secure marketo landing pages (https) that we added GTM to in order to track pageviews and conversion buttons through floodlight tags with our ad agency. The GTM code is hard-coded on the marketo page and I am getting a page error when testing that says "scripts from unauthenticated sources" and also the two script (screenshot attached) are throwing errors. Any ideas on how to fix this?? Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Aug 7, 2019 3:55 PM UTC

OK, nothing to do with secure/insecure.

The GTM embed version you're using must be placed just inside the opening <body>. It depends on the body already existing in the DOM.

4 replies

Justine_Barthol
Level 2
Aug 7, 2019 3:40 PM UTC
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Aug 7, 2019 3:55 PM UTC

OK, nothing to do with secure/insecure.

The GTM embed version you're using must be placed just inside the opening <body>. It depends on the body already existing in the DOM.

Translate
Justine_Barthol
Level 2
Aug 7, 2019 5:29 PM UTC

Thank you so much! It is working now

Translate
SanfordWhiteman
Level 10
Aug 7, 2019 3:38 PM UTC

Pls remove the attachment and paste the image inline. Not all Community users can see attachments, making them very confusing.

You must supply your URL.

Translate