diff --git a/public/index.html b/public/index.html
index 215ad9f..eb673b7 100644
--- a/public/index.html
+++ b/public/index.html
@@ -33,7 +33,7 @@
var config=JSON.parse(localStorage['hole_config']||'{}');
for(var key in config)
if(config.hasOwnProperty(key))
- _czc.push(["_setCustomVar","config_"+key,JSON.stringify(config[key]),0]);
+ _czc.push(["_setCustomVar","config_"+key,encodeURIComponent(JSON.stringify(config[key])),0]);
} catch(e) {
console.trace(e);
}