-
-
Notifications
You must be signed in to change notification settings - Fork 737
Description
Hello Remi,
I have a feature request regarding the Terms of Service (ToS) link configuration in the Start Chat form.
1. The Problem: Global Setting vs. Multi-site Support
Currently, the "Change to your site Terms of Service" link is a global setting located in:
Chat configuration -> Copyright settings -> Site settings.
However, I use a single Live Helper Chat installation to manage support for multiple, completely different websites. These websites are not related to each other and have different Privacy Policies/Terms of Service.
When I configure the Start chat form settings and enable the Terms of service acceptance checkbox, the link displayed to the visitor always points to the single global URL defined in the Copyright settings. This makes it impossible to provide the correct legal links for different websites running on the same LHC instance.
2. Additional Request: Link Target Behavior
Currently, the ToS link typically opens in a new tab (target="_blank").
It would be ideal to have "smart" behavior or an option to control this:
- If the ToS URL belongs to the same domain as the current website, it should open in the same window (e.g., using
target="_top"). - If it is an external link, it should remain
target="_blank".
Proposed Solution:
Could you please add an option to override the ToS URL?
Ideally, this field could be added directly inside the Start chat form settings (next to the "Terms of service acceptance checkbox" visibility settings) or within the Department configuration.
Logic:
- Check if a custom ToS URL is provided in the Start chat form settings. If yes, use it; otherwise, fallback to the global URL.
- If the URL matches the current domain, open in the same window/tab.
Thank you!