Questions tagged [amp-iframe]

6 questions
2
votes
1 answer

How to add a monitoring script in an AMP website?

I've been trying to solve this problem for about a month. I have this whole website developed in AMP code (no WordPress). And I need to include a monitoring script on the website to have an integration with RD Station(a marketing platform to analyze…
2
votes
1 answer

Is there a way to retrieve GDPR consent string from within an ?

I tried to retrieve the GDPR consent string using postMessage inside an amp-iframe element but it simply doesn't work. Is there a way to communicate with the CMP inside the amp-consent and amp-iframe ? Thx
apo
  • 21
  • 4
1
vote
0 answers

amp-iframe issues & limitations

So I've been trying to implement amp-iframe in my code after thoroughly reading its documentation and multiple articles on the matter. The issue is that I can't seem to satisfy the rules. The most common error I get is Origin of must not be equal…
Samuil Ilkov
  • 386
  • 2
  • 11
1
vote
0 answers

Links and buttons do not work in AMP iframe component

I have an amp-iframe that I serve to a client, the links and buttons inside this amp-iframe have an unexepected behavior has they are not working at all. One is a button that runs a Javascript function, the other one is simply an
Mathieu Rios
  • 128
  • 9
1
vote
0 answers

How to block an amp-components until other amp-component is resolved.?

I want to block some amp-components (amp-image, amp-ad, or amp-iframe) until one of the amp components is resolved. ie. - amp-captcha is solved or amp-script ran successfully. I checked that we can achieve something similar using an amp-consent…
freesoul
  • 237
  • 1
  • 13
0
votes
0 answers

Amp-Iframe Does Not Give The Result Outside Amp-Iframe

Based on my question on this thread (solved), I use an amp-iframe to execute the result. First, the source of var hrg_sat = parseInt(document.querySelector("#hrg_sat").innerHTML); it outside of the amp-iframe and the result
Ahm.Nisa
  • 13
  • 3