Git Product home page Git Product logo

Comments (4)

ukutaht avatar ukutaht commented on July 26, 2024

Hi @bjoernbg 👋

We haven't cut a release in November so some new features are missing from the self-hosted release. You can see which features unreleased in our changelog: https://github.com/plausible/analytics/blob/master/CHANGELOG.md

You can run from the dev docker tag to get access to the latest features. However, you can expect that tag to be less stable than released versions.

I'm open to suggestions on how to communicate this better or how to change our release process but I'll close this issue for now. Breakdown by props is an unreleased feature as it stands.

from community-edition.

bjoernbg avatar bjoernbg commented on July 26, 2024

@ukutaht Thanks for this update. It's a bit confusing from the docs but I get it!

from community-edition.

ukutaht avatar ukutaht commented on July 26, 2024

@bjoernbg No worries. I'll update the docs to reflect this more clearly :)

from community-edition.

hazem3500 avatar hazem3500 commented on July 26, 2024

Hey, I've used the dev docker tag but the plausible.js script still doesn't take the props property for custom events. Does that mean that it's still not released even on the dev version?

here is the plausible.js file if it will be of any use

!(function (i, r) {
    'use strict';
    var s = i.location,
        o = i.document,
        e = o.querySelector('[src*="' + r + '"]'),
        l = e && e.getAttribute('data-domain'),
        t = !1;
    function n(e, t) {
        if (
            /^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*\:)*?:?0*1$/.test(
                s.hostname
            ) ||
            'file:' === s.protocol
        )
            return console.warn('Ignoring event on localhost');
        var n = {};
        (n.n = e),
            (n.u = s.href),
            (n.d = l),
            (n.r = o.referrer || null),
            (n.w = i.innerWidth);
        var a = new XMLHttpRequest();
        a.open('POST', r + '/api/event', !0),
            a.setRequestHeader('Content-Type', 'text/plain'),
            a.send(JSON.stringify(n)),
            (a.onreadystatechange = function () {
                4 == a.readyState && t && t.callback && t.callback();
            });
    }
    function a() {
        n('pageview');
    }
    try {
        var c,
            p = i.history;
        p.pushState &&
            ((c = p.pushState),
            (p.pushState = function () {
                c.apply(this, arguments), a();
            }),
            i.addEventListener('popstate', a));
        var u = (i.plausible && i.plausible.q) || [];
        i.plausible = n;
        for (var d = 0; d < u.length; d++) n.apply(this, u[d]);
        'prerender' === o.visibilityState
            ? o.addEventListener('visibilitychange', function () {
                  t || 'visible' !== o.visibilityState || ((t = !0), a());
              })
            : a();
    } catch (e) {
        new Image().src =
            r + '/api/error?message=' + encodeURIComponent(e.message);
    }
})(window, 'https://my-analytics-domain.com');

from community-edition.

Related Issues (20)

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.