diff --git a/lib/record.js b/lib/record.js index 3415f2ba..b9ac1912 100644 --- a/lib/record.js +++ b/lib/record.js @@ -215,7 +215,7 @@ exports._sendRecord = function _sendRecord (request, success, error, blockedEven } } else { requestHeaders['X-TD-Write-Key'] = request.apikey - payload = JSON.stringify(request.record) + payload = request.record } if (window.fetch && (this._windowBeingUnloaded || isClickedLink)) {