OMQ Contact offers your customers the fastest support while avoiding the creation of tickets. Your contact form will be enhanced with OMQ's intelligent customer service software. After the message is written, OMQ’s Artificial Intelligence understands your customers’ concerns and directly suggests a suitable answer. With every request, the software learns independently thus growing constantly better.
Install with npm:
npm install --save @omq.ai/omq-contact-react
import { OmqContact } from '@omq.ai/omq-contact-react';
function App() {
const options = {
analyze: '.my-input-field', // optional
submit: '.my-submit-button', // optional
enableCookies: true, // optional
};
return (
<div className="my-app">
<OmqContact account="OMQ_ACCOUNT_NAME" apiKey="OMQ_CONTACT_API_KEY" options={options} />
</div>
);
}
export default App;
Name | Type | Description |
---|---|---|
account |
{String} |
OMQ account name/URL |
apiKey |
{String} |
OMQ Contact API key |
options |
{Object} |
OMQ Contact options |
Type: String
Name/URL of your OMQ account.
Type: String
The API key for OMQ Contact. You can add/check your API keys in your OMQ account.
https://{account}.omq.io
Type: Object
Options for OMQ Contact
Name | Type | Description |
---|---|---|
analyze |
{String} |
CSS selector of input field to analyze (default: .omq-analyze ) |
submit |
{String} |
CSS selector of submit element (default: `.omq-submit) |
enableCookies |
{Boolean} |
Flag to enable cookies (default: false) |