Suite | Qualsiasi piano |
Una volta completata la configurazione del Web Widget, puoi installarlo sul sito web o nel centro assistenza e renderlo disponibile ai clienti. Puoi anche scegliere di aggiungere un elenco consentito al Web Widget per specificare i domini in cui è possibile installare il widget.
L'articolo include i seguenti argomenti:
Installazione del Web Widget in un sito web
L’installazione del Web Widget in un sito web richiede una conoscenza di base del codice del sito web.
Il video seguente offre una panoramica di come aggiungere la messaggistica al tuo sito web:
Aggiunta della messaggistica al tuo sito web [1:40]
Per aggiungere il Web Widget al tuo sito web
- Nel Centro amministrativo, fai clic su
Canali nella barra laterale, quindi seleziona Messaggistica e social > Messaggistica.
- Fai clic sul nome del widget da installare, quindi fai clic sulla scheda Installazione.
- Fai clic sull’icona Copia (
) nella parte inferiore del riquadro del frammento di codice.
- Nel codice sorgente della pagina web a cui vuoi aggiungere il widget, incolla il frammento di codice prima del tag HTML </body> di chiusura. Aggiungi il codice a ogni pagina Web in cui vuoi visualizzare il widget.
- Se vuoi inviare il codice a qualcun altro (ad esempio uno sviluppatore), fai clic su Invia il codice via email a un membro del team.
- Assicurati che il tuo firewall sia configurato in modo da consentire la visualizzazione del Web Widget.
Installazione del Web Widget in un centro assistenza
L’installazione del widget in un centro assistenza è semplice e non richiede assistenza tecnica.
Per aggiungere il Web Widget al tuo centro assistenza
- Nel Centro amministrativo, fai clic su
Canali nella barra laterale, quindi seleziona Messaggistica e social > Messaggistica.
- Fai clic sul nome del widget da modificare, quindi fai clic sulla scheda Installazione.
- Fai clic sulla casella di spunta per incorporare automaticamente il Web Widget nel Centro assistenza. Il widget viene aggiunto a ogni pagina del centro assistenza.
Creazione di un elenco consentito per il Web Widget
Gli amministratori possono creare un elenco consentito di domini di siti web per specificare dove mostrare il Web Widget agli utenti finali. Quando abiliti l’elenco di domini consentiti:
- È possibile incorporare il widget e accedervi su qualsiasi pagina web all'interno dei domini (o sottodomini) aggiunti all'elenco.
- Non è possibile accedere al widget su nessuna pagina web dai domini non inclusi nell'elenco.
- Gli amministratori possono bloccare rapidamente la visualizzazione del Web Widget in un dominio o sottodominio rimuovendolo dall'elenco dei domini consentiti del widget.
È importante notare che l’elenco consentito non impedisce l’aggiunta del frammento di codice del Web Widget al codice di un sito web. Piuttosto, interrompe il funzionamento del frammento di codice, bloccando il widget su tutti i siti nei domini non inclusi nell’elenco.
Per creare un elenco consentito per un widget
- Nel Centro amministrativo, fai clic su
Canali nella barra laterale, quindi seleziona Messaggistica e social > Messaggistica.
- Fai clic sul nome del widget da modificare, quindi fai clic sulla scheda Installazione.
- Fai clic sulla casella di spunta per consentire l’installazione di Web Widget solo in questi domini.
Sono consentiti solo caratteri alfabetici dopo il punto finale (.) nel sottodominio. Ad esempio,
my-awesome-restaurant.pizza
è valido, mamy-awesome-restaurant.pizza-chain
non lo è. - Aggiungi i domini o i sottodomini in cui è possibile installare il widget. Per aggiungere tutti i sottodomini da un singolo dominio, aggiungi un asterisco prima del nome del dominio (ad esempio,
*.yourdomain.com
). - Fai clic su Salva impostazioni.
Rimozione di un dominio dall’elenco consentito
Se non vuoi più consentire il Web Widget su un dominio o sottodominio, puoi rimuovere quel dominio dall’elenco consentito, in modo da bloccarlo immediatamente dal sito web rimosso.
Per rimuovere un dominio dall’elenco consentito
- Nel Centro amministrativo, fai clic su
Canali nella barra laterale, quindi seleziona Messaggistica e social > Messaggistica.
- Fai clic sul nome del widget da modificare, quindi fai clic sulla scheda Installazione.
- Deseleziona la casella di spunta per consentire l’installazione di Web Widget solo in questi domini.
- Fai clic sulla X accanto ai domini o sottodomini in cui il widget deve essere bloccato.
- Fai clic su Salva impostazioni.
Disabilitazione dell’elenco consentito
Se scegli di non limitare più il Web Widget in base al dominio, puoi disabilitare l’elenco consentito su quel widget. Quando disattivi l’elenco consentito, il Web Widget diventa attivo su tutti i siti web che hanno aggiunto il frammento di codice del Web Widget al codice della pagina.
Per disabilitare l’elenco consentito
- Nel Centro amministrativo, fai clic su
Canali nella barra laterale, quindi seleziona Messaggistica e social > Messaggistica.
- Fai clic sul nome del widget da modificare, quindi fai clic sulla scheda Installazione.
- Deseleziona la casella di spunta per consentire l’installazione di Web Widget solo in questi domini.
- Fai clic su Salva impostazioni.
14 commenti
Destiny
Thank you for getting back to me on this. I am pretty sure the same link works for me. Screenshot for reference:
Image1: Page loaded showing same URL as shared previously
If this does not work, try searching the term zE('messenger', 'show'); Zendesk Messaging API in Google Chrome. Or you can also check out this link https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/web/messaging-show-web-widget/
Let me know if that helps
0
Christina hernandez
Hi 1263082121069 Thanks for your response. The link you provided to developer resources doesn't work, can you please repost?
0
Destiny
Thank you for getting in touch. I understand that you are seeking clarity on how to display the Messaging widget on select pages within your Help Center.
The method you've employed is indeed recommended as a potential solution for deploying web widgets. The only limitation I can foresee is in the scenario where your client navigates to different pages; it's uncertain whether the widget will automatically hide itself or continue to be visible. However, as the Messaging feature is designed to maintain ongoing conversations, any active dialogues between your agents and users should not be interrupted.
Beyond embedding the widget on designated pages, another option is to employ a custom script that uses our Messaging API (https://developer.zendesk.com/api-reference/widget-messaging/web/core/) in combination with page URL checker script to control on which webpages the Messaging widget appears. Unfortunately, we do not have a premade script or a specific guide to offer at the moment, so we advise enlisting the assistance of your technical team to handle the scripting aspect.
I trust this information is of assistance to you.
0
Christina hernandez
We have added messaging to our help center page article_page.hbs using the Web Widget snippet. However, we didn't want messaging to appear on every article page, just on select ones. I don't see any recommendation for how to do this. I only see that we can add it to all pages or create an allowlist for specific subdomains.
The workaround we came up with is we created an article template page that's an exact copy of the article_page.hbs, but it has the messaging snippet code on it. Then, we apply this template to any article where we want chat.
My questions for you are:
0
JR Lausin
Upon checking the integration to Blazer web app is not yet supported so we don't have any documentation aside from adding widget to a website please check this article.
https://support.zendesk.com/hc/en-us/articles/4500748175258-Installing-the-Web-Widget
0
Tory Lester
Do you have any guidance on adding the Web Widget to a Blazor web app?
0
Christine
Enter multiple domains separated by a space to allow more than one domain access.
In the following example, email from the domains mondocamcorp, comdocam, and mondostore are permitted:
See Understanding the allowlist and blocklist for usage examples, limitations, and considerations.
Thanks,
Christine
0
mfg
we want to include multiple subdomains - ABC, MNO, & XYZ in our allowlist, but not the primary domain. Assuming this can be done, what is the delimiter - is this accomplished with a comma, space, semi-colon, row, etc separated list?
ie.
or
etc
0
Gab
Once you're able to add your Web Widget to your Wordpress site, you're all set! The article serves as a guide for your Zendesk Support connection with Wordpress.
0
Blaine Light
It seems like I installed the Web Widget via wordpress using this article -- do I still need to follow the steps in this article here too?
0
Accedi per aggiungere un commento.