diff --git a/docs/docfx.json b/docs/docfx.json
index 21421801..705c8578 100644
--- a/docs/docfx.json
+++ b/docs/docfx.json
@@ -46,7 +46,7 @@
"_enableSearch": true,
"pdf": false,
"_disableContribution": true,
- "_appFooter": "
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
"
+ "_appFooter": "© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
"
}
}
}
\ No newline at end of file
diff --git a/docs/template/public/beacon_scode.js b/docs/template/public/beacon_scode.js
new file mode 100644
index 00000000..cf13acae
--- /dev/null
+++ b/docs/template/public/beacon_scode.js
@@ -0,0 +1,8 @@
+const cleanUrl = (url) => {
+ const { origin, pathname } = new URL(url);
+ return (origin + pathname).replace(new RegExp('/', 'g'), '|');
+};
+
+const assetUrl = cleanUrl(window.location.href);
+
+void fetch(`https://prod.us-west-2.tcx-beacon.docs.aws.dev/basic-beacon/${assetUrl}`);
\ No newline at end of file