custom events

This commit is contained in:
Oliver
2025-07-31 09:20:34 -03:00
parent 8eb0deda05
commit 96fbab191e
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<script defer data-domain="od8n.com" src="https://plausible.odoo4projects.com/js/script.js"></script> <script defer data-domain="od8n.com" src="https://plausible.odoo4projects.com/js/script.tagged-events.js"></script>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Unlock your business potential with OD8N, your expert partners in Odoo and n8n automation. Get a free 1-hour consultation with our automation engineers. Risk-free guarantee!"> <meta name="description" content="Unlock your business potential with OD8N, your expert partners in Odoo and n8n automation. Get a free 1-hour consultation with our automation engineers. Risk-free guarantee!">
@@ -162,7 +162,7 @@
<h3>3 Hours</h3> <h3>3 Hours</h3>
<p>Quick fixes and small automation improvements.</p> <p>Quick fixes and small automation improvements.</p>
<span class="price">$450</span> <span class="price">$450</span>
<button class="btn-secondary" onclick="sendMessageToBot('I want to buy 3 Hours of service for $450')"> <button class="btn-secondary plausible-event-name=ChoosePlan" onclick="sendMessageToBot('I want to buy 3 Hours of service for $450')">
Choose Plan Choose Plan
</button> </button>
@@ -181,7 +181,7 @@
<h3>10 Hours</h3> <h3>10 Hours</h3>
<p>Perfect for large projects and advanced automation.</p> <p>Perfect for large projects and advanced automation.</p>
<span class="price">$1.200</span> <span class="price">$1.200</span>
<button class="btn-secondary" onclick="sendMessageToBot('I want to buy 10 hours of service for $1.200')"> <button class="btn-secondary plausible-event-name=ChoosePlan" onclick="sendMessageToBot('I want to buy 10 hours of service for $1.200')">
Choose Plan Choose Plan
</button> </button>
</div> </div>
@@ -193,7 +193,7 @@
<h3>N8N Installation and Maintainance</h3> <h3>N8N Installation and Maintainance</h3>
<p>We install N8N on your Container and maintain it for one year.</p> <p>We install N8N on your Container and maintain it for one year.</p>
<span class="price">$75 per Year</span> <span class="price">$75 per Year</span>
<button class="btn-secondary" onclick="sendMessageToBot('I want you to install N8N on my container and maintain it.')"> <button class="btn-secondary plausible-event-name=ChoosePlan" onclick="sendMessageToBot('I want you to install N8N on my container and maintain it.')">
Choose Plan Choose Plan
</button> </button>
</div> </div>

View File

@@ -1,6 +1,6 @@
{ {
"api": "https://ai.odoo4projects.com/webhook/81742473-b50b-4845-a5f9-916d9fe60876/chat", "api": "https://ai.odoo4projects.com/webhook/81742473-b50b-4845-a5f9-916d9fe60876/chat",
"preamble": "Welcome to OD8N. We like to help you assisting your order as well as answering FAQs about our service", "preamble": "Welcome to OD8N. We like to help you assisting your order as well as answering FAQs about our service",
"widgetHTML": "<button id='cw-chatToggle' aria-label='Toggle chat widget' type='button'>\n <img height='50px'src='logo.svg' alt='Logo'></button>\n<div id='cw-chatWidget' style='display: none;' role='region' aria-live='polite' aria-label='Chat widget'>\n <div class='logo-container'><img src='logo.svg' alt='Logo' /></div>\n <div class='header'>Support</div>\n <div id='cw-status' style='transition: all 0.3s ease; overflow: hidden;'></div>\n <div id='cw-chatMessages' style='max-height: 200px; overflow-y: auto; padding: 10px;'></div>\n <form id='cw-chatForm' autocomplete='off'>\n <input type='text' id='cw-chatInput' placeholder='Type your message...' required autocomplete='off' />\n <button type='submit'>Send</button>\n </form>\n</div>" "widgetHTML": "<button id='cw-chatToggle' aria-label='Toggle chat widget' type='button' class='plausible-event-name=OpenChat'>\n <img height='50px'src='logo.svg' alt='Logo'></button>\n<div id='cw-chatWidget' style='display: none;' role='region' aria-live='polite' aria-label='Chat widget'>\n <div class='logo-container'><img src='logo.svg' alt='Logo' /></div>\n <div class='header'>Support</div>\n <div id='cw-status' style='transition: all 0.3s ease; overflow: hidden;'></div>\n <div id='cw-chatMessages' style='max-height: 200px; overflow-y: auto; padding: 10px;'></div>\n <form id='cw-chatForm' autocomplete='off'>\n <input type='text' id='cw-chatInput' placeholder='Type your message...' required autocomplete='off' />\n <button type='submit'>Send</button>\n </form>\n</div>"
} }