📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
added documentation for the no-script tracking
Blue Mouse415e8ca0983a
diff --git a/src/pages/Docs/Docs.jsx b/src/pages/Docs/Docs.jsxindex dc11baa60..3d6a7e5c0 100644--- a/src/pages/Docs/Docs.jsx+++ b/src/pages/Docs/Docs.jsx@@ -186,8 +186,9 @@ const Docs = () => {<div className='text-lg text-gray-900 dark:text-gray-50 tracking-tight'><i>Last updated: February 9, 2022.</i><br /><div>- - Updated custom events validation rules.<br/>- Now custom events has to start with an English letter and cannot contain dashes in it anymore.+ - Added documentation for the + <a className='hover:underline text-gray-700' href='#docs-umd'>no-script</a>+ tracking.</div></div></div>diff --git a/src/pages/Docs/examples.js b/src/pages/Docs/examples.jsindex ba5d8a79c..5da16f90a 100644--- a/src/pages/Docs/examples.js+++ b/src/pages/Docs/examples.js@@ -14,6 +14,17 @@ export const umdBuildExample = `<!-- Put this at the end of the <head> tag -->swetrix.trackViews()})</script>++<noscript>+ <!--+ Don't forget to change YOUR_PROJECT_ID in the link to your Project ID+ -->+ <img+ src="https://api.swetrix.com/log/noscript?pid=YOUR_PROJECT_ID"+ alt=""+ referrerpolicy="no-referrer-when-downgrade"+ />+</noscript>`export const npmInstall = `npm install swetrix`