Giter Site home page Giter Site logo

swetrix / swetrix-js Goto Github PK

View Code? Open in Web Editor NEW
156.0 2.0 5.0 115 KB

Ultimate, privacy-focused and feature-rich alternative to Google Analytics; Swetrix JavaScript tracking client.

Home Page: https://swetrix.com

License: MIT License

TypeScript 90.10% JavaScript 9.90%
analytics analyticsjs tracking web-analytics self-hosted selfhosted privacy hacktoberfest

swetrix-js's Introduction

JSDelivr hits Package size Contributions welcome

Swetrix Tracking Script

This repository contains the analytics script which is used at https://swetrix.com
You can find the detailed documentation and use cases at our docs page.

Feel free to contribute to the source code by opening a pull requests.
For any questions, you can open an issue ticket, refer to our FAQs page or reach us at [email protected]

The latest live versions of the script are located at jsDelivr and NPM.

Selfhosted API

If you are selfhosting the Swetrix-API, be sure to point the apiUrl parameter to: https://yourapiinstance.com/log

Donate

You can support the project by donating us at https://ko-fi.com/andriir
We can only run our services by once again asking for your financial support!

swetrix-js's People

Contributors

808vita avatar alfagun74 avatar blaumaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

swetrix-js's Issues

Tracking navigations in a single page app (SPA) with swetrix and react

Hi there! Thanks for doing everything open source :)

I'm currently working on a react project, a search app, where i use a query parameter to store the search query state. I want to track these queries using swetrix. I'm successfully tracking the initial page load now, but subsequent navigations seem to be ignored. With alternatives (piwik / matomo / google analytics) I just added the JS tracking script and they tracked the history / navigation events.

Does Swetrix not handle SPA navigations by default? I searched for the docs for some option, but didn't find it. Could you help out on how I could achieve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.