{"id":1543,"date":"2024-08-04T14:45:04","date_gmt":"2024-08-04T14:45:04","guid":{"rendered":"https:\/\/healthdesire.online\/?page_id=1543"},"modified":"2024-09-04T09:02:32","modified_gmt":"2024-09-04T09:02:32","slug":"testformn8n","status":"publish","type":"page","link":"https:\/\/healthdesire.online\/?page_id=1543","title":{"rendered":"testformn8n"},"content":{"rendered":"<p><!DOCTYPE html><br \/>\n<html lang=\"en\"><br \/>\n<head><br \/>\n    <meta charset=\"UTF-8\"><br \/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><br \/>\n    <title>Lead Form<\/title><br \/>\n<\/head><br \/>\n<body><\/p>\n<h1>Submit Your Lead<\/h1>\n<form id=\"leadForm\" action=\"https:\/\/map.hvserver.site\/webhook\/9ea72442-b3a3-45ce-b789-d5016726b448\" method=\"POST\">\n        <label for=\"name\">Name:<\/label><br \/>\n        <input type=\"text\" id=\"name\" name=\"name\" required><\/p>\n<p>        <label for=\"phone\">Phone:<\/label><br \/>\n        <input type=\"text\" id=\"phone\" name=\"phone\" required><\/p>\n<p>        <label for=\"address\">Address:<\/label><br \/>\n        <input type=\"text\" id=\"address\" name=\"address\" required><\/p>\n<p>        <!-- Champ cach\u00e9 pour l'IP (rempli en backend par n8n) --><br \/>\n        <input type=\"hidden\" id=\"ip\" name=\"ip\"><\/p>\n<p>        <!-- Champ cach\u00e9 pour la campagne (rempli en backend par n8n ou par URL si disponible) --><br \/>\n        <input type=\"hidden\" id=\"campaign\" name=\"campaign\"><\/p>\n<p>        <!-- Champ cach\u00e9 pour l'URL de la page --><br \/>\n        <input type=\"hidden\" id=\"landingPageUrl\" name=\"landingPageUrl\"><\/p>\n<p>        <!-- Champ cach\u00e9 pour l'URL r\u00e9f\u00e9rente --><br \/>\n        <input type=\"hidden\" id=\"refererUrl\" name=\"refererUrl\"><\/p>\n<p>        <input type=\"submit\" value=\"Submit\"><br \/>\n    <\/form>\n<p>    <script>\n        \/\/ Remplir le champ cach\u00e9 avec l'URL actuelle de la page\n        document.getElementById('landingPageUrl').value = window.location.href;\n        \/\/ Remplir le champ cach\u00e9 avec l'URL r\u00e9f\u00e9rente (s'il y en a une)\n        document.getElementById('refererUrl').value = document.referrer;\n    <\/script><br \/>\n<\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lead Form Submit Your Lead Name: Phone: Address:<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1543","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/healthdesire.online\/index.php?rest_route=\/wp\/v2\/pages\/1543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/healthdesire.online\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/healthdesire.online\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/healthdesire.online\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/healthdesire.online\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1543"}],"version-history":[{"count":17,"href":"https:\/\/healthdesire.online\/index.php?rest_route=\/wp\/v2\/pages\/1543\/revisions"}],"predecessor-version":[{"id":1641,"href":"https:\/\/healthdesire.online\/index.php?rest_route=\/wp\/v2\/pages\/1543\/revisions\/1641"}],"wp:attachment":[{"href":"https:\/\/healthdesire.online\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}