{"id":662,"date":"2026-11-20T13:40:49","date_gmt":"2026-11-20T13:40:49","guid":{"rendered":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/review\/map-location\/"},"modified":"2026-11-20T14:45:12","modified_gmt":"2026-11-20T14:45:12","slug":"map-location","status":"publish","type":"page","link":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/review\/map-location\/","title":{"rendered":"Google Map Location field"},"content":{"rendered":"\n<div style=\"font-size:14px;line-height:1.5;padding:10px 14px;background:#f3f4f6;border-left:4px solid #4f46e5;margin-bottom:24px\"><p style=\"margin:0 0 6px\"><strong>Ticket:<\/strong> MetForm (<a href=\"https:\/\/app.clickup.com\/t\/869c6up77\" target=\"_blank\" rel=\"noopener\">ClickUp<\/a>), service and content blocker &#8222;MetForm&#8220;. The Google Maps part is the existing content blocker &#8222;Google Maps&#8220;, nothing MetForm-specific<\/p><p style=\"margin:0 0 6px\"><strong>Rule tested:<\/strong> <code>div[class*=\"mf-form-wrapper\"]<\/code> (&#8222;MetForm&#8220;) and <code>*maps.googleapis.com*<\/code> (existing content blocker &#8222;Google Maps&#8220;)<\/p><p style=\"margin:0 0 6px\"><strong>On this page:<\/strong> A MetForm contact form with MetForm Pro&#8217;s &#8222;Google Map Location&#8220; field: an address field with Google&#8217;s address suggestions and a map below it. MetForm loads the Google Maps script for it (<code>maps.googleapis.com\/maps\/api\/js?\u2026&amp;callback=mfMapLocation<\/code>).<\/p><p style=\"margin:0 0 6px\"><strong>Before consent:<\/strong> The content blocker &#8222;MetForm&#8220; instead of the form, no request to Google Maps.<\/p><p style=\"margin:0 0 6px\"><strong>After consent:<\/strong> With consent to &#8222;MetForm&#8220; only: the form, the address field takes plain text without suggestions, the map area stays empty, and still nothing reaches Google Maps, because the content blocker &#8222;Google Maps&#8220; holds the script. With &#8222;Alle akzeptieren&#8220;: the Google Maps script loads, the map and the address suggestions appear.<\/p><p style=\"margin:0 0 6px;padding:6px 8px;background:#fff;border:1px solid #c7d2fe\"><strong>See it yourself:<\/strong> After &#8222;Alle akzeptieren&#8220;, DevTools &gt; Network with the filter <code>maps.googleapis<\/code> shows the Google Maps script. With consent to &#8222;MetForm&#8220; only, the same filter stays empty.<\/p><p style=\"margin:0\"><a href=\"\/index.php\/review\/\">Back to the review index<\/a><\/p><\/div>\n\n<p class=\"wp-block-paragraph\">Wie wir mit deinen Daten umgehen, findest du in unserer <a href=\"\/index.php\/privacy-policy-2\/\" target=\"_blank\" rel=\"noopener\">Datenschutzerkl\u00e4rung<\/a>.<\/p>\n\t\t<script>(()=>{function f0(){var n=this,w=window,t=75,f=n.closest('.mf-form-wrapper')||n,c=f.closest('.elementor-widget')||f.closest('.mf-form-shortcode');function api(){var s=document.scripts,i;for(i=0;i!==s.length;i++){if(s.item(i).src.indexOf('recaptcha\/api.js')!==-1){return true;}}return false;}function ok(){var g=w.grecaptcha;if(!g){return false;}return typeof g.render==='function';}function run(){if(w.metformFormBuilderFrontend){w.metformFormBuilderFrontend.init(f);}if(f.querySelector('form')){return;}var e=w.elementorFrontend,j=w.jQuery;if(!e||!j||!c){return;}if(c.classList.contains('elementor-widget')){if(e.elementsHandler){e.elementsHandler.runReadyTrigger(j(c));}}else{if(e.hooks){e.hooks.doAction('frontend\/element_ready\/metform.default',j(c),j);}}}function loop(){var need=(c||f).innerHTML.indexOf('recaptcha')!==-1;if(!need||!api()||ok()||!t){run();}else{t--;setTimeout(loop,200);}}loop();}document.addEventListener('RCB\/OptIn\/ContentBlocker\/All',({detail:{load:l,unblockedNodes:u}})=>l.then(()=>{const b=u.map(({blocker:{id}})=>id);for(const {node:d} of u){d.hasAttribute(\"consent-evaljs-f0\")&&f0.apply(d,[]);}}));})();<\/script>\n<div id=\"metform-wrap-661-1\" data-metform-form=\"661\" data-form-id=\"661\" data-action=\"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/metform\/v1\/entries\/insert\/661\" data-wp-nonce=\"0370ef67b4\" data-form-nonce=\"e2ef02962c\" data-form-type=\"general-form\" data-quiz-summery=\"false\" data-mf-renderer=\"php\" data-mf-editor=\"false\" consent-required=\"602\" consent-by=\"services\" consent-id=\"606\" consent-original-class-_=\"mf-form-wrapper mfb-form metform-661\" consent-evaljs-f0>\n\t\t<form class=\"metform-form-content\" method=\"post\" action=\"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/metform\/v1\/entries\/insert\/661\" enctype=\"multipart\/form-data\" novalidate>\n\t\t\t<input type=\"hidden\" name=\"form_nonce\" value=\"e2ef02962c\">\n\t\t\t<input type=\"hidden\" name=\"id\" value=\"661\">\n\t\t\t<input type=\"hidden\" name=\"hidden-fields\" value=\"[]\">\n\t\t\t<div class=\"mf-form-response mfb-form__response\" role=\"status\" aria-live=\"polite\"><\/div>\n\t\t\t<div class=\"metform-form-main-wrapper mfb-form__content\">\n\t\t\t\t<div class=\"mfb-field__wrapper mfb-field__input metform-element-ml-name mfb-required\" data-mf-block-id=\"ml-name\" data-mf-field-type=\"input\" data-mf-required=\"true\"><div class=\"mfb-field__row\"><label class=\"mfb-field__label mfb-label\" for=\"mfb-661-ml-name\">Name<span class=\"mfb-field__required\">*<\/span><\/label><div class=\"mfb-field__control\">\t\t<input id=\"mfb-661-ml-name\" type=\"text\" name=\"mf-name\" class=\"mfb-field__input\" value=\"\" placeholder=\"Dein Name\" required>\n\t\t<div class=\"mfb-field__error\" style=\"display:none;\" role=\"alert\" aria-live=\"polite\"><\/div><\/div><\/div><\/div><div class=\"mfb-field__wrapper mfb-field__email metform-element-ml-email mfb-required\" data-mf-block-id=\"ml-email\" data-mf-field-type=\"email\" data-mf-required=\"true\"><div class=\"mfb-field__row\"><label class=\"mfb-field__label mfb-label\" for=\"mfb-661-ml-email\">E-Mail<span class=\"mfb-field__required\">*<\/span><\/label><div class=\"mfb-field__control\">\t\t<input id=\"mfb-661-ml-email\" type=\"email\" name=\"mf-email\" class=\"mfb-field__input\" value=\"\" placeholder=\"du@example.com\" required>\n\t\t<div class=\"mfb-field__error\" style=\"display:none;\" role=\"alert\" aria-live=\"polite\"><\/div><\/div><\/div><\/div><div class=\"mfb-field__wrapper mfb-field__maplocation metform-element-ml-map\" data-mf-block-id=\"ml-map\" data-mf-field-type=\"maplocation\"><div class=\"mfb-field__row\"><label class=\"mfb-field__label mfb-label\" for=\"mfb-661-ml-map\">Adresse<\/label><div class=\"mfb-field__control\">\t\t<div class=\"mfb-map__group\">\n\t\t\t<div class=\"mfb-map__input-wrap\">\n\t\t\t\t<input\n\t\t\t\t\tid=\"mfb-661-ml-map\"\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tname=\"mf-location\"\n\t\t\t\t\tclass=\"mfb-field__input mfb-map__input\"\n\t\t\t\t\tplaceholder=\"Ort suchen \u2026\"\n\t\t\t\t\tautocomplete=\"off\"\n\t\t\t\t\tdata-mf-map-input\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t<div\n\t\t\t\t\tclass=\"mfb-map__canvas\"\n\t\t\t\t\tid=\"mfb-661-ml-map-map\"\n\t\t\t\t\tdata-lat=\"52.5200\"\n\t\t\t\t\tdata-lng=\"13.4050\"\n\t\t\t\t\tdata-zoom=\"11\"\n\t\t\t\t\tdata-height=\"260\"\n\t\t\t\t\tdata-clickable=\"1\"\n\t\t\t\t\tdata-draggable=\"1\"\n\t\t\t\t\tstyle=\"height: 260px;\"\n\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<\/div>\n\n\t\t\t\t<input type=\"hidden\" name=\"mf-location_lat\" class=\"mfb-map__lat\" data-mf-map-lat>\n\t\t\t\t<input type=\"hidden\" name=\"mf-location_lng\" class=\"mfb-map__lng\" data-mf-map-lng>\n\t\t\t\t\t<\/div>\n\t\t<div class=\"mfb-field__error\" style=\"display:none;\" role=\"alert\" aria-live=\"polite\"><\/div><\/div><\/div><\/div><div class=\"mfb-field__wrapper mfb-field__textarea metform-element-ml-message mfb-required\" data-mf-block-id=\"ml-message\" data-mf-field-type=\"textarea\" data-mf-required=\"true\"><div class=\"mfb-field__row\"><label class=\"mfb-field__label mfb-label\" for=\"mfb-661-ml-message\">Nachricht<span class=\"mfb-field__required\">*<\/span><\/label><div class=\"mfb-field__control\">\t\t<textarea id=\"mfb-661-ml-message\" name=\"mf-message\" class=\"mfb-field__textarea\" rows=\"4\" placeholder=\"Wie k\u00f6nnen wir helfen?\" style=\"resize: vertical;\" required><\/textarea>\n\t\t<div class=\"mfb-field__error\" style=\"display:none;\" role=\"alert\" aria-live=\"polite\"><\/div><\/div><\/div><\/div>\t\t<div class=\"mfb-button__wrapper mfb-align--left metform-element-ml-button\" data-mf-block-id=\"ml-button\">\n\t\t\t<button type=\"submit\" class=\"mfb-button\" data-submitting-text=\"Wird gesendet \u2026\">\n\t\t\t\t<span class=\"mfb-button__content\">\n\t\t\t\t\t\t\t\t\t\t<span class=\"mfb-button__text\">Nachricht senden<\/span>\n\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/form>\n\t\t<\/div>\n\t\t\n\n","protected":false},"excerpt":{"rendered":"<p>Ticket: MetForm (ClickUp), service and content blocker &#8222;MetForm&#8220;. The Google Maps part is the existing content blocker &#8222;Google Maps&#8220;, nothing MetForm-specific Rule tested: div[class*=&#8220;mf-form-wrapper&#8220;] (&#8222;MetForm&#8220;) and *maps.googleapis.com* (existing content blocker &#8222;Google Maps&#8220;) On this page: A MetForm contact form with MetForm Pro&#8217;s &#8222;Google Map Location&#8220; field: an address field with Google&#8217;s address suggestions and a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":610,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-662","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/pages\/662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/comments?post=662"}],"version-history":[{"count":2,"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/pages\/662\/revisions"}],"predecessor-version":[{"id":680,"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/pages\/662\/revisions\/680"}],"up":[{"embeddable":true,"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/pages\/610"}],"wp:attachment":[{"href":"https:\/\/owly-agent-testing.owlstaging.de\/index.php\/wp-json\/wp\/v2\/media?parent=662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}