It’s live! Access exclusive 2024 live chat benchmark data & see how well your team is performing.

Get the data
How do I disable Auto Invitations on mobile-optimized websites

With Comm100 Live Chat, you can automatically invite visitors to chat with you based on pre-defined rules. However, in some scenarios, you might only want to target visitors accessing your desktop websites and remove auto-invitation capabilities for visitors accessing your website from a mobile device.

You can disable Auto Invitation for mobile websites by setting up Custom Variable, which checks whether your visitors are visiting your websites from mobile devices. Then you can use this Custom Variable value as a Condition in the Auto Invitation.

Step by Step Instructions

  1. Log in to your Comm100 Control Panel.
  2. From the left navigation menu, go to Live Chat > Integrations & API > Custom Variables.kb-cvariable-01 (1).png
  3. Click Settings.
  4. Click New Custom Variable.
    kb-cvariable-02.png
  5. Define the Variable Name of your choice. The following example is defined as “From Mobile”.kb-cvariable-03.png
  6. From the Type drop-down list, select Text.
  7. In the Value field, provide:
    /mobile|android|ipad/.test(navigator.userAgent.toLowerCase()) ? "Yes": "No"
  8. In the Hyperlink field, add a hyperlink to the value of a custom variable. You can also insert dynamic information in your hyperlink. 
  9. Click Save.
  10. Now, from the left navigation menu, go to Live Chat > Campaign > Invitation.
  11. From the Auto Invitations tab, select the auto invitation that you wish to disable on mobile-optimized websites.kb-cvariable-04.png
  12. Under the Conditions area, add a condition using the Custom Variable as From Mobile is No.kb-cvariable-05.png
  13. Click Save.

The configuration is now complete, and your Live Chat will not send Auto Invitations when visitors access your websites via mobile devices.