📈 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 framer integration docs
Blue Mouse8a753528d11c
diff --git a/docs/add-a-website.md b/docs/add-a-website.mddeleted file mode 100644index d579f5ed5..000000000--- a/docs/add-a-website.md+++ /dev/null@@ -1,8 +0,0 @@-----title: Hello world-slug: /add-a-website------import useBaseUrl from '@docusaurus/useBaseUrl';--This is a test page.diff --git a/docs/integrations/framer.md b/docs/integrations/framer.mdnew file mode 100644index 000000000..12f2acf96--- /dev/null+++ b/docs/integrations/framer.md@@ -0,0 +1,48 @@+---+title: Framer+slug: /framer-integration+---++import useBaseUrl from '@docusaurus/useBaseUrl';++After you sign up on Swetrix and create a new project, the only thing left is to add it to your website.++## Installation+1. Log in to your [Framer](https://www.framer.com) account.++2. In the dashboard, click on the website you want to add Swetrix to:+<img alt="Framer Dashboard" src={useBaseUrl('img/framer-1.png')} />++3. Open the website settings:+<img alt="Framer Website page" src={useBaseUrl('img/framer-2.png')} />++4. Scroll down to the `Custom Code` section:+<img alt="Framer Website page" src={useBaseUrl('img/framer-2.png')} />++5. Add the following code to the `End of <body> tag` section:+```html+<script src="https://swetrix.org/swetrix.js" defer></script>+<script>+ document.addEventListener('DOMContentLoaded', function() {+ swetrix.init('YOUR_PROJECT_ID')+ swetrix.trackViews()+ })+</script>++<noscript>+ <img+ src="https://api.swetrix.com/log/noscript?pid=YOUR_PROJECT_ID"+ alt=""+ referrerpolicy="no-referrer-when-downgrade"+ />+</noscript>+```++:::caution+It's important to remember to replace `YOUR_PROJECT_ID` with your actual Project ID, which you can find in the Swetrix Dashboard, otherwise tracking will not work!+:::++## Check your installation+After installing Swetrix tracking script, go to your website and visit some pages.++Within a minute you should be able to see new pageviews being added to your project's dahsboard.diff --git a/docs/signup.md b/docs/signup.mddeleted file mode 100644index 62d392c19..000000000--- a/docs/signup.md+++ /dev/null@@ -1,8 +0,0 @@-----title: Hello world-slug: /signup------import useBaseUrl from '@docusaurus/useBaseUrl';--This is a test page.diff --git a/sidebars.js b/sidebars.jsindex 7114beb5c..ccb8ba2d0 100644--- a/sidebars.js+++ b/sidebars.js@@ -8,7 +8,7 @@ module.exports = {{type: 'category',label: 'Integrations',- items: ['integrations/wordpress', 'integrations/webflow', 'integrations/wix', 'integrations/ghost', 'integrations/django', 'integrations/sveltekit'],+ items: ['integrations/wordpress', 'integrations/webflow', 'integrations/framer', 'integrations/wix', 'integrations/ghost', 'integrations/django', 'integrations/sveltekit'],}],'Affiliate program': [diff --git a/static/img/framer-1.png b/static/img/framer-1.pngnew file mode 100644index 000000000..45687412fBinary files /dev/null and b/static/img/framer-1.png differdiff --git a/static/img/framer-2.png b/static/img/framer-2.pngnew file mode 100644index 000000000..50144d2d9Binary files /dev/null and b/static/img/framer-2.png differdiff --git a/static/img/framer-3.png b/static/img/framer-3.pngnew file mode 100644index 000000000..0df4581f8Binary files /dev/null and b/static/img/framer-3.png differ