{"id":222,"date":"2023-12-21T21:38:28","date_gmt":"2023-12-21T21:38:28","guid":{"rendered":"https:\/\/demo3.andrea-battaglia.it\/?page_id=222"},"modified":"2024-01-17T17:08:57","modified_gmt":"2024-01-17T17:08:57","slug":"elementor-222","status":"publish","type":"page","link":"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/","title":{"rendered":"Profilazione test"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"222\" class=\"elementor elementor-222\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-13a70c0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"13a70c0\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1ca6089\" data-id=\"1ca6089\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f148db1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f148db1\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9e7f45f\" data-id=\"9e7f45f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2168abb elementor-widget elementor-widget-spacer\" data-id=\"2168abb\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.18.0 - 20-12-2023 *\/\n.elementor-column .elementor-spacer-inner{height:var(--spacer-size)}.e-con{--container-widget-width:100%}.e-con-inner>.elementor-widget-spacer,.e-con>.elementor-widget-spacer{width:var(--container-widget-width,var(--spacer-size));--align-self:var(--container-widget-align-self,initial);--flex-shrink:0}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container,.e-con>.elementor-widget-spacer>.elementor-widget-container{height:100%;width:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer{height:100%}.e-con-inner>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner,.e-con>.elementor-widget-spacer>.elementor-widget-container>.elementor-spacer>.elementor-spacer-inner{height:var(--container-widget-height,var(--spacer-size))}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty,.e-con>.elementor-widget-spacer.elementor-widget-empty{position:relative;min-height:22px;min-width:22px}.e-con-inner>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon,.e-con>.elementor-widget-spacer.elementor-widget-empty .elementor-widget-empty-icon{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;padding:0;width:22px;height:22px}<\/style>\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3ece7d6 elementor-widget elementor-widget-html\" data-id=\"3ece7d6\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n  <meta charset=\"UTF-8\">\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n  <title>Test Iframe<\/title>\r\n<\/head>\r\n<body>\r\n\r\n<!-- Aggiungi il tuo iframe con l'endpoint -->\r\n<iframe id=\"myIframe\" src=\"https:\/\/testconsensus.x-pro.tech\/external\" width=\"600\" height=\"400\"><\/iframe>\r\n\r\n<script>\r\n  document.addEventListener('DOMContentLoaded', function () {\r\n    \/\/ Ottenere il riferimento all'iframe\r\n    var iframe = document.getElementById('myIframe');\r\n\r\n    \/\/ Token e email da sostituire con i valori effettivi\r\n    var token = 'eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjcsImF1dGgiOlsiU1NPIl0sInN1YiI6IndlYnNlbnN1cyIsImlhdCI6MTcwNTUwOTAyMSwiZXhwIjoxNzA1NTA5MDQxfQ.P08PIqbkqr67x7-4abGUFJ5L_XtFaupLRk7aI2iOyEE;\r\n    var email = 'anbat72@gmail.com';\r\n\r\n    \/\/ Ascoltare i messaggi inviati dall'iframe\r\n    window.addEventListener('message', function (event) {\r\n      \/\/ Assicurarsi che l'origine del messaggio sia attendibile\r\n      if (event.origin === 'https:\/\/testconsensus.x-pro.tech') {\r\n        \/\/ Verificare che il messaggio contenga l'ID del questionario\r\n        if (event.data && event.data.questionnaireId) {\r\n          var questionnaireId = event.data.questionnaireId;\r\n          console.log('ID del questionario ricevuto:', questionnaireId);\r\n          \r\n          \/\/ Puoi fare ulteriori azioni qui con l'ID del questionario ricevuto\r\n        }\r\n      }\r\n    });\r\n\r\n    \/\/ Creare l'URL con token ed email e caricare l'iframe\r\n    var url = 'https:\/\/testconsensus.x-pro.tech\/external?token=' + encodeURIComponent(token) + '&email=' + encodeURIComponent(email);\r\n    iframe.src = url;\r\n  });\r\n<\/script>\r\n\r\n<\/body>\r\n<\/html>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8f810d8 elementor-widget elementor-widget-button\" data-id=\"8f810d8\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#\" id=\"ID_profilazione\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-text\">profilazione<\/span>\n\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c4babd9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c4babd9\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e400c0a\" data-id=\"e400c0a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Test Iframe profilazione<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-222","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Profilazione test - demo 3<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Profilazione test - demo 3\" \/>\n<meta property=\"og:description\" content=\"Test Iframe profilazione\" \/>\n<meta property=\"og:url\" content=\"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/\" \/>\n<meta property=\"og:site_name\" content=\"demo 3\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-17T17:08:57+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/\",\"url\":\"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/\",\"name\":\"Profilazione test - demo 3\",\"isPartOf\":{\"@id\":\"https:\/\/demo3.andrea-battaglia.it\/#website\"},\"datePublished\":\"2023-12-21T21:38:28+00:00\",\"dateModified\":\"2024-01-17T17:08:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/demo3.andrea-battaglia.it\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Profilazione test\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/demo3.andrea-battaglia.it\/#website\",\"url\":\"https:\/\/demo3.andrea-battaglia.it\/\",\"name\":\"demo 3\",\"description\":\"Just another WordPress site\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/demo3.andrea-battaglia.it\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"it-IT\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Profilazione test - demo 3","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"it_IT","og_type":"article","og_title":"Profilazione test - demo 3","og_description":"Test Iframe profilazione","og_url":"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/","og_site_name":"demo 3","article_modified_time":"2024-01-17T17:08:57+00:00","twitter_card":"summary_large_image","twitter_misc":{"Tempo di lettura stimato":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/","url":"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/","name":"Profilazione test - demo 3","isPartOf":{"@id":"https:\/\/demo3.andrea-battaglia.it\/#website"},"datePublished":"2023-12-21T21:38:28+00:00","dateModified":"2024-01-17T17:08:57+00:00","breadcrumb":{"@id":"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/demo3.andrea-battaglia.it\/index.php\/elementor-222\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/demo3.andrea-battaglia.it\/"},{"@type":"ListItem","position":2,"name":"Profilazione test"}]},{"@type":"WebSite","@id":"https:\/\/demo3.andrea-battaglia.it\/#website","url":"https:\/\/demo3.andrea-battaglia.it\/","name":"demo 3","description":"Just another WordPress site","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/demo3.andrea-battaglia.it\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"it-IT"}]}},"_links":{"self":[{"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/pages\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":51,"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/pages\/222\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/pages\/222\/revisions\/278"}],"wp:attachment":[{"href":"https:\/\/demo3.andrea-battaglia.it\/index.php\/wp-json\/wp\/v2\/media?parent=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}