Background of the issue:
I am trying to get the same iframe code in the translation. Here is the code I am using: <script>var widgetConfigs=widgetConfigs||{};widgetConfigs["68409e4b6dd92e5bcc2d678d4f2d6917076613a19f298fcaa782ab57c63adcfe"]={},widgetConfigs["68409e4b6dd92e5bcc2d678d4f2d6917076613a19f298fcaa782ab57c63adcfe"].measurementIds=[],widgetConfigs["68409e4b6dd92e5bcc2d678d4f2d6917076613a19f298fcaa782ab57c63adcfe"].hasGoogleTagTracking=!1,widgetConfigs["68409e4b6dd92e5bcc2d678d4f2d6917076613a19f298fcaa782ab57c63adcfe"].hasFusedeck=!1,window.addEventListener("message",(function(e){var t=e.data["od-widget-id"],i=e.data["od-widget-height"],d=e.data["od-widget-ios"];if(t&&t in widgetConfigs&&"68409e4b6dd92e5bcc2d678d4f2d6917076613a19f298fcaa782ab57c63adcfe"===t){var a=document.getElementById("od-widget-"+t);i&&(a.style.height=i+"px"),!0===d&&(a.style.width="100px",a.style["min-width"]="100%",a.scrolling="no");var g=e.data["od-tracking-configs"];void 0!==g&&(widgetConfigs[t].measurementIds=g);var o=e.data["od-has-google-tag-manager"];void 0!==o&&(widgetConfigs[t].hasGoogleTagTracking=o);var f=e.data["od-has-fusedeck"];void 0!==f&&(widgetConfigs[t].hasFusedeck=f);var n=e.data.GA4;if(widgetConfigs[t].hasGoogleTagTracking&&window.dataLayer&&n){var s=Object.keys(n.properties),r={event:n.name};s.forEach((function(e){r[e]=n.properties[e]})),dataLayer.push(r)}if(widgetConfigs[t].hasFusedeck&&window.fdData&&n){var s=Object.keys(n.properties),r={event:n.name};s.forEach((function(e){r[e]=n.properties[e]})),fdData.push(r)}if(n&&void 0!==window.gtag)for(var w=0;w<widgetConfigs[t].measurementIds.length;w++){var f=widgetConfigs[t].measurementIds[w],c=(s=Object.keys(n.properties),{send_to:f});s.forEach((function(e){c[e]=n.properties[e]})),gtag("event",n.name,c)}}})),window.addEventListener("load",(function(e){for(var t=document.querySelectorAll("iframe.od-widget"),i=0;i<t.length;i++){var d=t[i];d.dataset&&d.dataset.src&&(d.src=d.dataset.src)}}));</script><iframe class="od-widget" id="od-widget-68409e4b6dd92e5bcc2d678d4f2d6917076613a19f298fcaa782ab57c63adcfe" src="about:blank" data-src="hidden link" frameborder="0" style="width:100%;max-width:1190px;height:400px"></iframe>. I am attempting this on the page: hidden link.
Symptoms:
Instead of seeing the same iframe as on the page hidden link, I got an empty space.
Questions:
How can I ensure the iframe appears correctly in the translation?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.
The code will not appear in the translation editor, but it should be copied as-is into the translation.
Could you please upload a screenshot showing the entire process, including how you paste the code into the module? Also, please test this on a new page to check if the same issue occurs.
Additionally, please make sure that your parent theme is updated to the latest version.
I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.