This commit is contained in:
Your Name
2026-04-07 14:01:08 -03:00
parent 30ed470a1a
commit ddbaf91837
3 changed files with 1980 additions and 810 deletions
+11 -12
View File
@@ -1,5 +1,5 @@
(function() {
console.log("WIDGET COOL")
(function () {
console.log("WIDGET COOL");
const currentScript = document.currentScript;
const affiliateFromAttr = currentScript.getAttribute("data-affiliate");
@@ -96,7 +96,7 @@
<div class="header">
<img class="icon" src="https://sp01.odoo4projects.com/hugo/live/4.svg">
<div>
<div class="title">Try Managed ODOO or n8n - 4 weeks Free</div>
<div class="title">Try Managed ODOO - 4 weeks Free</div>
<div class="subtitle">Full-featured 4-week trial. No credit card required.</div>
</div>
</div>
@@ -106,10 +106,7 @@
<input type="radio" name="product" value="odoo_19" required checked>
<span>ODOO</span>
</label>
<label class="option">
<input type="radio" name="product" value="N8N" required>
<span>N8N</span>
</label>
</div>
<label for="location">Location</label>
<select id="location" name="location" required>
@@ -149,10 +146,13 @@
try {
const formData = new FormData(form);
const res = await fetch("https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/c25169c6-4234-4b47-8e74-612b9539da0a", {
method: "POST",
body: formData,
});
const res = await fetch(
"https://002-001-5dd6e535-4d1c-46bc-9bd9-42ad4bc5f082.odoo4projects.com/webhook/c25169c6-4234-4b47-8e74-612b9539da0a",
{
method: "POST",
body: formData,
},
);
const text = await res.text();
@@ -168,4 +168,3 @@
}
});
})();