function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michael Hedrick 2Michael Hedrick 2 

Chat button validation

Hello All,
We have a Chat button on our public facing website which everyone can access.  I need to have an option to ask users to opt in if the are out of the US or Canada.  What is the simplist way to perform this?  Is there a way to have a prechat page pop up when a user selects the Chat button and only allow the Chat to be initiated if the user opts in and then pass that value to the Transcript record? Can this be done with a pre chat page even if this is on an external website?