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.

You would add a configuration 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);

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.