📈 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 sveltekit & java sdk integrations
Blue Mouse573d63dbbf78
diff --git a/public/locales/de.json b/public/locales/de.jsonindex 6402c8ea9..d60406f44 100644--- a/public/locales/de.json+++ b/public/locales/de.json@@ -388,6 +388,7 @@"import": "Als nächstes sollten Sie das Modul in das Stammverzeichnis Ihres Projekts importieren, zum Beispiel","track": "Danach können Sie alles tracken, was Sie wollen.\nLesen Sie die ausführliche Dokumentation zu Tracking-Parametern weiter unten.","integrations": "Wir unterstützen die folgenden Integrationen (klicken Sie auf den Titel für Details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Das Swetrix.js-Tracking-Script bietet die Möglichkeit, ein Aufrufereignis zu erfassen, sobald die Seite geladen ist.\nDies kann durch den Aufruf der <link>trackViews()</link> Funktion erreicht werden:","ce": "Zusätzlich zur Verfolgung der Seitenaufrufe bieten wir die Möglichkeit, benutzerdefinierte Tracking-Events zu erfassen.\nWenn Sie zum Beispiel ein Ereignis wie \"Anmeldung\" oder \"Newsletter-Abonnement\" verfolgen möchten, wäre diese Funktion sehr nützlich.\nIm Hintergrund ist das Prinzip dieser Funktion ähnlich zu trackViews.","init": "Diese Funktion wird zur Initialisierung der Analyse verwendet.\nIm Grunde genommen teilen Sie dem Script mit, für welches Projekt Sie es verwenden möchten, und geben bei Bedarf Ihre eigenen Parameter an.",diff --git a/public/locales/el.json b/public/locales/el.jsonindex b135b924a..6bb21c696 100644--- a/public/locales/el.json+++ b/public/locales/el.json@@ -388,6 +388,7 @@"import": "Στη συνέχεια θα πρέπει να εισαγάγετε την ενότητα στη ρίζα του έργου σας, για παράδειγμα","track": "Μετά μπορείτε να παρακολουθείτε ό, τι θέλετε.\nΔιαβάστε τη λεπτομερή τεκμηρίωση σχετικά με τις παραμέτρους παρακολούθησης παρακάτω.","integrations": "We support the following integrations (click on the title for details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Το σενάριο παρακολούθησης Swetrix.js παρέχει έναν τρόπο συλλογής ενός συμβάντος προβολής σελίδας μόλις φορτωθεί η σελίδα.\nΑυτό μπορεί να επιτευχθεί μέσω της κλήσης της συνάρτησης <link>trackViews()</link>:","ce": "Εκτός από την παρακολούθηση των προβολών σελίδων, παρέχουμε τη δυνατότητα παρακολούθησης προσαρμοσμένων συμβάντων.\nΓια παράδειγμα, αν θέλετε να παρακολουθείτε ένα συμβάν όπως \"Εγγραφή\" ή \"Εγγραφή στο ενημερωτικό δελτίο\", αυτή η λειτουργία θα ήταν πολύ χρήσιμη.\nΚάτω από την οθόνη, η αρχή αυτής της λειτουργίας είναι παρόμοια με την trackViews.","init": "Αυτή η λειτουργία χρησιμοποιείται για την αρχικοποίηση των αναλυτικών στοιχείων.\nΒασικά, ενημερώνετε το σενάριο για το έργο με το οποίο θέλετε να το χρησιμοποιήσετε, καθώς και καθορίζετε τις προσαρμοσμένες παραμέτρους σας, αν χρειάζεται.",diff --git a/public/locales/en.json b/public/locales/en.jsonindex eb3a5a764..4a25ed8a9 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -388,6 +388,7 @@"import": "Next you should import module into your project's root, for example","track": "After you can track anything you want.\nRead the detailed documentation on tracking params below.","integrations": "We support the following integrations (click on the title for details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Swetrix.js tracking script provides a way to collect a page view event once the page has loaded.\nThis can be accomplished via calling the <link>trackViews()</link> function:","ce": "In addition to tracking pageviews we provide an ability to track custom events.\nFor example, if you want to track an event like 'Sign up' or 'Newsletter subscription', this feature would be very useful.\nUnder the screen, the principle of this function is similar to trackViews.","init": "This fuction is used to initialise the analytics.\nBasically you're letting the script know which project do you want to use it with, as well as specifying your custom parameters if needed.",diff --git a/public/locales/es.json b/public/locales/es.jsonindex eb3a5a764..4a25ed8a9 100644--- a/public/locales/es.json+++ b/public/locales/es.json@@ -388,6 +388,7 @@"import": "Next you should import module into your project's root, for example","track": "After you can track anything you want.\nRead the detailed documentation on tracking params below.","integrations": "We support the following integrations (click on the title for details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Swetrix.js tracking script provides a way to collect a page view event once the page has loaded.\nThis can be accomplished via calling the <link>trackViews()</link> function:","ce": "In addition to tracking pageviews we provide an ability to track custom events.\nFor example, if you want to track an event like 'Sign up' or 'Newsletter subscription', this feature would be very useful.\nUnder the screen, the principle of this function is similar to trackViews.","init": "This fuction is used to initialise the analytics.\nBasically you're letting the script know which project do you want to use it with, as well as specifying your custom parameters if needed.",diff --git a/public/locales/fr.json b/public/locales/fr.jsonindex eb3a5a764..4a25ed8a9 100644--- a/public/locales/fr.json+++ b/public/locales/fr.json@@ -388,6 +388,7 @@"import": "Next you should import module into your project's root, for example","track": "After you can track anything you want.\nRead the detailed documentation on tracking params below.","integrations": "We support the following integrations (click on the title for details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Swetrix.js tracking script provides a way to collect a page view event once the page has loaded.\nThis can be accomplished via calling the <link>trackViews()</link> function:","ce": "In addition to tracking pageviews we provide an ability to track custom events.\nFor example, if you want to track an event like 'Sign up' or 'Newsletter subscription', this feature would be very useful.\nUnder the screen, the principle of this function is similar to trackViews.","init": "This fuction is used to initialise the analytics.\nBasically you're letting the script know which project do you want to use it with, as well as specifying your custom parameters if needed.",diff --git a/public/locales/hi.json b/public/locales/hi.jsonindex 228336237..6377af6b3 100644--- a/public/locales/hi.json+++ b/public/locales/hi.json@@ -388,6 +388,7 @@"import": "इसके बाद आपको अपने प्रोजेक्ट के रूट में मॉड्यूल आयात करना चाहिए, उदाहरण के लिए","track": "आप जो कुछ भी चाहते हैं उसे ट्रैक करने के बाद।\nनीचे दिए गए ट्रैकिंग पैरामीटर पर विस्तृत दस्तावेज़ पढ़ें।","integrations": "We support the following integrations (click on the title for details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Swetrix.js ट्रैकिंग स्क्रिप्ट पेज लोड होने के बाद पेज व्यू इवेंट को इकट्ठा करने का एक तरीका प्रदान करती है।\nइसे <link>ट्रैकव्यूज()</link> फ़ंक्शन से पूरा किया जा सकता है:","ce": "पेजव्यूज को ट्रैक करने के अलावा हम कस्टम ईवेंट को ट्रैक करने की क्षमता प्रदान करते हैं।\nउदाहरण के लिए, यदि आप 'साइन अप' या 'न्यूज़लेटर सदस्यता' जैसे किसी ईवेंट को ट्रैक करना चाहते हैं, तो यह सुविधा बहुत उपयोगी होगी।\nस्क्रीन के नीचे, इस फ़ंक्शन के नियम ट्रैकव्यू के समान है।","init": "इस फ़ंक्शन का उपयोग एनालिटिक्स को प्रारंभ करने के लिए किया जाता है।\nमूल रूप से, आप स्क्रिप्ट को यह बताते हैं कि आप किस प्रोजेक्ट के साथ इसका उपयोग करना चाहते हैं, साथ ही आवश्यक होने पर अपने कस्टम पैरामीटर को निर्दिष्ट करते हैं।",diff --git a/public/locales/it.json b/public/locales/it.jsonindex eb3a5a764..4a25ed8a9 100644--- a/public/locales/it.json+++ b/public/locales/it.json@@ -388,6 +388,7 @@"import": "Next you should import module into your project's root, for example","track": "After you can track anything you want.\nRead the detailed documentation on tracking params below.","integrations": "We support the following integrations (click on the title for details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Swetrix.js tracking script provides a way to collect a page view event once the page has loaded.\nThis can be accomplished via calling the <link>trackViews()</link> function:","ce": "In addition to tracking pageviews we provide an ability to track custom events.\nFor example, if you want to track an event like 'Sign up' or 'Newsletter subscription', this feature would be very useful.\nUnder the screen, the principle of this function is similar to trackViews.","init": "This fuction is used to initialise the analytics.\nBasically you're letting the script know which project do you want to use it with, as well as specifying your custom parameters if needed.",diff --git a/public/locales/ru.json b/public/locales/ru.jsonindex c6b1b148a..8e5a93063 100644--- a/public/locales/ru.json+++ b/public/locales/ru.json@@ -388,6 +388,7 @@"import": "Далее необходимо импортировать модуль в корень проекта, например","track": "После этого вы сможете отслеживать все, что захотите.\nПрочитайте подробную документацию по методам отслеживания ниже.","integrations": "Мы поддерживаем следующие интеграции (нажмите на название для деталей)",+ "3rdPartyInt": "Также есть интеграции сделанные сообществом","pv": "Swetrix.js предоставляет возможность отслеживания пользователя после загрузки страницы.\nЭто можно сделать с помощью вызова функции <link>trackViews()</link>:","ce": "В дополнение к отслеживанию просмотров страниц мы предоставляем возможность отслеживать пользовательские события.\nНапример, если вы хотите отслеживать события по типу авторизации или комментариев, эта функция будет очень полезна.\nПод ширмой, принцип работы этой функции аналогичен trackViews.","init": "Эта функция используется для инициализации отслеживания.\nЭтим вы сообщаете скрипту, с каким конкретно проектом вы хотите его использовать, а также указываете свои собственные параметры, если это необходимо.",diff --git a/public/locales/sv.json b/public/locales/sv.jsonindex 3407e145b..3fc32bd20 100644--- a/public/locales/sv.json+++ b/public/locales/sv.json@@ -388,6 +388,7 @@"import": "Därefter ska du importera modulen till projektets root, till exempel","track": "Efter det kan du spåra vad du vill.\nLäs den detaljerade dokumentationen om spårningsparametrar nedan.","integrations": "Vi stöder följande integrationer (klicka på titeln för detaljer)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Swetrix.js spårningsskriptet ger ett sätt att samla in en sidvy händelse när sidan har laddats.\nDetta kan åstadkommas genom att anropa <link>trackViews()</link> funktion:","ce": "Förutom att spåra sidvisningar har vi möjlighet att spåra anpassade händelser.\nOm du till exempel vill spåra en händelse som \" Registrering \" eller \"Nyhetsbrev prenumeration \", Denna funktion skulle vara mycket användbar.\nUnder skärmen är principen för den här funktionen likadan som för trackViews.","init": "Denna funktion används för att initiera analytics.\nI princip låter du skriptet veta vilket projekt du vill använda det med, och du anger dina anpassade parametrar om det behövs.",diff --git a/public/locales/uk.json b/public/locales/uk.jsonindex 1d7bde5e2..fba387d47 100644--- a/public/locales/uk.json+++ b/public/locales/uk.json@@ -388,6 +388,7 @@"import": "Далі необхідно імпортувати модуль в корінь проєкту, наприклад","track": "Після цього ви зможете відстежувати все, що захочете.\nЧитайте детальну документацію про методи відстеження нижче.","integrations": "Ми підтримуємо наступні інтеграції (натисніть на назву для деталей)",+ "3rdPartyInt": "Також є інтеграції, зроблені спільнотою","pv": "Swetrix.js надає можливість відслідковування користувача після завантаження сторінки.\nЦе можна зробити за допомогою виклику функції <link>trackViews()</link>:","ce": "В додаток до відстеження переглядів сторінок ми надаємо можливість відстежувати власні, користувацькі, події.\nНаприклад, якщо ви хочете відстежувати події на кшталт авторизації або коментарів, ця функція буде дуже корисна.\nПід ширмою, принцип роботи цієї функції аналогічний до trackViews.","init": "Ця функція використовується для ініціалізації відстеження.\nЦим ви повідомляєте скрипту, з яким конкретно проєктом ви хочете його використовувати, а також вказуєте свої власні параметри, якщо це необхідно.",diff --git a/public/locales/zh.json b/public/locales/zh.jsonindex a3d2becc7..8d1c70055 100644--- a/public/locales/zh.json+++ b/public/locales/zh.json@@ -388,6 +388,7 @@"import": "接下来您应该将模块导入到您的项目根目录中,例如","track": "在您可以跟踪任何您想要的内容之后。\n阅读下面关于跟踪参数的详细文档。","integrations": "We support the following integrations (click on the title for details)",+ "3rdPartyInt": "There are also integrations made by the community","pv": "Swetrix.js 跟踪脚本提供了一种在页面加载后收集页面查看活动的方法。\n这可以通过调用 <link>trackViews()</link> 函数来完成:","ce": "除了跟踪浏览量之外,我们还提供跟踪自定义活动的功能。\n例如,如果您想跟踪诸如“注册”或“新闻通讯订阅”之类的活动,此功能将非常实用。\n下屏幕,这个功能的原理和trackViews类似。","init": "这个函数用于初始化分析。\n基本上您让脚本知道您想用哪个项目使用它,并在需要时指定您的自定义参数。",diff --git a/src/pages/Docs/Docs.jsx b/src/pages/Docs/Docs.jsxindex 3d3d09d2f..1f195ced1 100644--- a/src/pages/Docs/Docs.jsx+++ b/src/pages/Docs/Docs.jsx@@ -76,6 +76,17 @@ const integrations = [name: 'Ghost',link: 'https://github.com/Swetrix/integrations/blob/main/ghost/README.md',},+ {+ name: 'SvelteKit',+ link: 'https://github.com/Swetrix/integrations/blob/main/sveltekit/README.md',+ },+]++const thirdPartyIntegrations = [+ {+ name: 'Java SDK',+ link: 'https://github.com/Casterlabs/swetrix-java',+ },]const Contents = ({ t }) => {@@ -171,6 +182,19 @@ const Docs = () => {</li>))}</ul>+ <p className='text-lg mt-5 text-gray-900 dark:text-gray-50 tracking-tight'>+ {t('docs.3rdPartyInt')}+ :+ </p>+ <ul className='ml-5 text-lg list-disc marker:text-gray-900 dark:marker:text-gray-50'>+ {_map(thirdPartyIntegrations, ({ name, link }) => (+ <li key={name}>+ <a href={link} className='flex hover:underline hover:opacity-80 text-indigo-600 dark:text-indigo-400 ml-1' target='_blank' rel='noopener noreferrer'>+ {name}+ </a>+ </li>+ ))}+ </ul><CHeader id='docs-ht' name={t('docs.titles.how')} /><CSection id='docs-pv' name={t('docs.titles.pv')} />