Embedding a ticket form on your website allows users to submit tickets directly without needing to access the Deskpro Help Center. This guide will walk you through the steps to generate the necessary JavaScript code to add to your website.
Embedding a Ticket Form
Navigate to Departments: Go to Ticket Structure > Departments in the admin interface. Select the department where you want the form to be associated. In the right-hand panel, click on the Website Embed tab.
Choose Your Brand: Select the appropriate brand for the form.
Choose Department: Here you can select whether you want this form to be for one department only or allow the user to choose any department
Set the Form Width: Specify the width (in pixels) for the form to determine how it will appear on your web page.
Generate the Code: Click on Generate Code to create the JavaScript code required to embed the form.
Embed the Code: Copy the generated JavaScript code and paste it into your website's HTML where you want the form to appear.
Some website builders may not support the insertion of JavaScript. If you encounter this issue, consider reaching out to your website service provider for support
Customizing Form Placement
You can embed different forms in various sections of your website to better match the needs of your users. For example, you might place a support form in the support section of your site, while embedding a sales form on your product pages.
Customizing form Fields
To create custom ticket fields in Deskpro:
Navigate to Admin > Ticket Structure > Ticket Fields.
Add new fields as needed, specifying their type and options.
Configure any dependencies between fields for dynamic forms (e.g., displaying additional fields based on user selections).
Save your custom fields.
For more detailed instructions, please see Creating Effective Custom New Ticket Contact Forms
Adicionar um comentário
Inicie sessão ou registe-se para enviar um comentário.