diff --git a/examples/index.html b/examples/index.html
index cbb4c4c..a58bd9b 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -19,6 +19,7 @@
Gist for Web
Embed Banner
Embed Floating Message
Embed HTML Floating Message
+ Set Anonymous Custom Attribute
Log In
Log Out
@@ -32,7 +33,7 @@ Gist for Web
Dev Setup Options
{ siteId: "siteid", dataCenter: "us", env: "dev", logging: true }
*/
- Gist.setup({ siteId: "a5ec106751ef4b34a0b9", dataCenter: "eu", logging: true, env: "prod" });
+ Gist.setup({ siteId: "a5ec106751ef4b34a0b9", dataCenter: "eu", logging: true, env: "prod", useAnonymousSession: true });
Gist.setUserToken("ABC123");
Gist.setCurrentRoute("home");
@@ -116,6 +117,10 @@ Gist for Web
}
}, "x-gist-floating-bottom-right");
}
+
+ function addAnonymousCustomAttribute() {
+ Gist.setCustomAttribute("cio_anonymous_id", "123456");
+ }