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.