Skip to main content
Solved

Chat popup on page load

  • March 25, 2024
  • 5 replies
  • 364 views

jbobbermen
Community Debut
Forum|alt.badge.img

Hi

We have a Freshchat widget on our website that we’re trying to direct customers to. We’ve investigated having the chat widget open automatically on page load or after a delay, using the instructions found here; however, we’ve found that on mobile phones the opened chat widget is too big and covers the entire screen, confusing customers.

I have two questions on this function:

  1. Is it possible to modify the JS code to only open the full widget if the user is on desktop?
  2. Is it possible to display a smaller message encouraging users to open the widget instead of the full widget? e.g. like this:

     

Best answer by Surya_narayanan

Hi @jbobbermen

For your queries:

1.Is it possible to modify the JS code to only open the full widget if the user is on desktop?

Ans: It is currently not possible to determine if the widget is loading in a desktop or a mobile device.

2.Is it possible to display a smaller message encouraging users to open the widget instead of the full widget? e.g. like this

Ans: You could make use of the chat widget campaign for this use case, Please check out the below article for the same:

 https://crmsupport.freshworks.com/en/support/solutions/articles/50000003026-how-to-setup-triggered-messages-in-freshworks-crm-

View original
Did this topic help you find an answer to your question?

5 replies

TasiaWells
Community Debut
  • Community Debut
  • 1 reply
  • March 26, 2024

On desktop, automatically open the full widget for users. On mobile devices, display a smaller message encouraging users to manually open the widget. This approach ensures a tailored user experience based on device type while promoting engagement with the widget's functionality.

visit our website: Techs slassh


Surya_narayanan
Community Debut
Forum|alt.badge.img+2
  • Community Debut
  • 21 replies
  • Answer
  • April 10, 2024

Hi @jbobbermen

For your queries:

1.Is it possible to modify the JS code to only open the full widget if the user is on desktop?

Ans: It is currently not possible to determine if the widget is loading in a desktop or a mobile device.

2.Is it possible to display a smaller message encouraging users to open the widget instead of the full widget? e.g. like this

Ans: You could make use of the chat widget campaign for this use case, Please check out the below article for the same:

 https://crmsupport.freshworks.com/en/support/solutions/articles/50000003026-how-to-setup-triggered-messages-in-freshworks-crm-


jbobbermen
Community Debut
Forum|alt.badge.img
  • Author
  • Community Debut
  • 1 reply
  • April 23, 2024
Surya_narayanan wrote:

Hi @jbobbermen

For your queries:

1.Is it possible to modify the JS code to only open the full widget if the user is on desktop?

Ans: It is currently not possible to determine if the widget is loading in a desktop or a mobile device.

2.Is it possible to display a smaller message encouraging users to open the widget instead of the full widget? e.g. like this

Ans: You could make use of the chat widget campaign for this use case, Please check out the below article for the same:

 https://crmsupport.freshworks.com/en/support/solutions/articles/50000003026-how-to-setup-triggered-messages-in-freshworks-crm-

 

Thanks for your suggestion Surya.

While the linked article wasn’t exactly what we were looking for (it appears to be only for Freshsales and Freshmarketer), your comment did lead me to finding the Freshdesk Customer Journeys option:

https://crmsupport.freshworks.com/en/support/solutions/articles/50000004359-send-proactive-messages-and-engage-your-customers


rao676
Community Debut
  • Community Debut
  • 2 replies
  • September 20, 2024

Hallo!

i m motivat your article


  • Community Debut
  • 1 reply
  • September 23, 2024
TasiaWells wrote:

On desktop, automatically open the full widget for users. On mobile devices, display a smaller message encouraging users to manually open the widget. This approach ensures a tailored user experience based on device type while promoting engagement with the widget's functionality.

visit our website: Specail offer

To implement a chat popup on page load, start by designing an engaging and user-friendly interface that captures visitors' attention without being intrusive. Use JavaScript to trigger the popup when the page finishes loading, ensuring it appears smoothly, perhaps with a slight fade-in effect. Consider incorporating a welcoming message that encourages users to ask questions or seek assistance. Make sure the chat popup is easily dismissible, allowing users to close it if they're not interested. Additionally, integrating a chatbot can help provide immediate responses, enhancing user engagement and improving overall experience on your website.