GTM not working on secure marketo LP's | Community
Skip to main content
Justine_Barthol
New Participant
August 7, 2019
Solved

GTM not working on secure marketo LP's

  • August 7, 2019
  • 2 replies
  • 4178 views

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.
Best answer by SanfordWhiteman

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.

2 replies

Justine_Barthol
New Participant
August 7, 2019
SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
August 7, 2019

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.

Justine_Barthol
New Participant
August 7, 2019

Thank you so much! It is working now

SanfordWhiteman
New Participant
August 7, 2019

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.