GOGETMUSCLE Community Untrusted Origin on Pop-up CTA

Untrusted Origin on Pop-up CTA

I’m sure I’m doing something wrong here, but I can’t figure it out and would love to get another set of eyes on this!

I’m having trouble getting my pop-up CTA’s to open consistently, and looking in the console log I see an ‘Untrusted Origin’ warning like this:

Untrusted origin: [website]

(anonymous) @ hs-web-interactive-3….

When this error is present clicking the button to open the CTA will not work. Nothing happens and no new errors are logged. It seems inconsistent across browsers and devices. It has worked off and on for me on my laptop in Chrome, Firefox, and Safari – whereas on my phone it always works (Chrome and Firefox).

I checked the DNS records and SSL cert and everything is good there so I don’t think it has anything to do with the domain itself, I just can’t figure out where it’s coming from or how to get around it without manually writing the code for the modal.

Pop-up CTA’s are implemented with a ‘Link’ field in a custom module like this: (essentially just copied the snippet for the link field)

{% set href = module.main_button.main_button_url.url.href %}
{% if module.main_button.main_button_url.url.type is equalto “EMAIL_ADDRESS” %}
{% set href = “mailto:” + href %}
{% elif module.main_button.main_button_url.url.type is equalto “PHONE_NUMBER” %}
{% set href = “tel:” + href %}
{% endif %}

{{ module.main_button.main_button_text }}

Anyway, thanks for reading this far, any help is much appreciated!

Leave a Reply

Your email address will not be published.

Related Post

Goal ReportGoal Report

Hi I’m using goal report to compare a specific kind of meeting done with the one should do.  The problem is that there is not the “Customize” option and when I