Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Updated UMD Build docs

Blue Mouse1408f00522e1
diff --git a/src/pages/Docs/examples.js b/src/pages/Docs/examples.js
index dc0ae0012..929437f4b 100644
--- a/src/pages/Docs/examples.js
+++ b/src/pages/Docs/examples.js
@@ -1,5 +1,7 @@
-export const umdBuildExample = `<script src="https://cdn.jsdelivr.net/gh/Swetrix/swetrix-js@main/dist/swetrix.js" defer></script>
+export const umdBuildExample = `<!-- Put this at the end of the <head> tag -->
+<script src="https://cdn.jsdelivr.net/gh/Swetrix/swetrix-js@main/dist/swetrix.js" defer></script>
+<!-- Put this at the end of the <body> tag -->
<script>
document.addEventListener('DOMContentLoaded', () => {
// Initialising the script with the Project ID