Provide 24/7 affordable customer service with AI-powered chat.
Connect to learn more

Masking sensitive information during chat

Use this configuration to tell Olark to mask any sequence of numbers that looks like it might be a credit card. This prevents your transcripts from receiving sensitive information, so that you should never need to redact a transcript from your history.

Adding the snippet to your website code

Add a configuration call at the bottom of your existing Olark install code. Look for this line:

/* custom configuration goes here (www.olark.com/documentation) */



Immediately below this line, insert:

olark.configure('system.mask_credit_cards', true);

Testing your changes

You can test this by typing 1234-1234-1234-1234 to yourself from the chatbox. The agent will only receive "XXXX-XXXX-XXXX-XXXX", not the actual number.

Please provide the domain name where your Olark live chat is installed.
Include the relevant transcript URL, if possible. You can send us the specific URL from your Transcripts page.
If you see specific error messages, banners, warnings, notices, etc., please let us know here.
Max file size 10MB.
Uploading...
fileuploaded.jpg
Upload failed. Max size for files is 10 MB.
Thank you! Your submission has been received and you'll hear from us shortly!
Oops! Something went wrong while submitting the form.