Skip to content

Bug: vince vs plausible #69

Description

@vanodevium

https://www.vinceanalytics.com/blog/website-script-extensions/
https://www.vinceanalytics.com/blog/goals-404/

According to the documentation here and here, I have to set up my local function vince and then I will be able to track any pageviews and custom events.

But this does not work, because the server does not return an object named vince.

The only way to fix this is to replace my local function with the following code:

<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
<script>window.vince = (eventName, eventOptions = {}) => window.plausible(eventName, eventOptions)</script>

It would be nice if you could fix this problem, or at least describe it in detail in the documentation.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions