From ea88c012420984f744a4830e5095284f18bcd999 Mon Sep 17 00:00:00 2001 From: Shweta Jain Date: Fri, 3 Aug 2018 12:33:03 +0530 Subject: [PATCH] Update README file for new flag --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 8e5ce01..befcf23 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,21 @@ _LTracker.push({ }); ``` +Special Characters Support +---- +Keeping useUtfEncoding to true will prevent the Special Characters to being garbled on Loggly Search. You will be able to read and understand the included Special Characters in your log events more easily. + +Please see the usage below- + +```Javascript +_LTracker.push({ + 'logglyKey': 'your-customer-token', + 'sendConsoleErrors' : true, + 'tag' : 'javascript-logs', + 'useUtfEncoding': true +}); +``` + Setup Proxy for Ad blockers ---------- You can proxy the requests from your own domain if the script or its requests are blocked by Ad blockers. To do this, you need to perform following steps