diff --git a/index.html b/index.html index d594b44..05cd42d 100644 --- a/index.html +++ b/index.html @@ -1451,7 +1451,7 @@ Sign In - Hire Agent + Buy Agent @@ -1806,7 +1806,7 @@
- Configure your agent + Configure and buy your agent + @@ -1865,7 +1866,7 @@ Support chat with human escalation - +
@@ -1917,7 +1918,7 @@ Higher API key credit allocation - + @@ -1976,7 +1977,7 @@ Highest API key credit allocation - + @@ -2189,7 +2190,7 @@ } function btnReset(btn) { btn.disabled = false; - btn.textContent = "Hire Agent — $9.50/mo"; + btn.textContent = "Buy Agent — $9.50/mo"; } function isValidEmail(e) { @@ -2357,13 +2358,14 @@ }); })(); - /* ── Hire Agent Webhook ───────────────────────────── */ + /* ── Buy Agent Webhook ───────────────────────────── */ const ORDER_WEBHOOK = "https://n8n.derez.ai/webhook/5318a0d8-d064-42fb-95b7-aa5552cb3fa9"; async function hireAgent(product) { const agent = document.getElementById('pricing-agent').value; const period = document.getElementById('pricing-period').value; const location = document.getElementById('pricing-location').value; + const email = document.getElementById('pricing-email').value.trim(); const coupon = document.getElementById('pricing-coupon').value.trim(); try { @@ -2375,6 +2377,7 @@ agent: agent, period: period, location: location, + email: email || null, coupon: coupon || null, utm_source: document.getElementById('utm_source').value || null, utm_medium: document.getElementById('utm_medium').value || null,