Code Monkey home page Code Monkey logo

plausible-analytics-tag-server's Introduction

Plausible Analytics [UNOFFICIAL]

Custom Tag Template for server-side Google Tag Manager

Send events from server-side GTM to Plausible Analytics

Template Status Repo Size License


Usage

Install the tag template and add a new Plausible Analytics tag. If you use an on-premise setup, enter the URL of your tracking endpoint in the first field or keep the standard url.

Changing The Domain

You can override the hostname from incoming requests to match a user-defined value. This might be helpful if you send test traffic from a staging domain to a specific website profile.

Add Event Properties

Plausible Analytics can process additional custom event props. Use the table to define keys and values for additional data you want to send. Keep in mind that sending personal data is not allowed!

Advanced Settings

This section contains additional options that allows enhanced data redaction. You can optionally send an empty referrer and delete any parameters from tracked urls.

Overriding Page URLs

If you want to change URLs before they get sent, you can override the page path with a different value. This option also can be used for further data redaction or enrichment.

Change Event Names

Every event name can be translated for Plausibe using an optional override field. You can for example set the new event name with a lookup table.

Tip: How To Trigger

Plausible processes pageviews and any other event as well. But as sending events only has an impact on reporting, you should make sure that only "reporting-relevant" events get sent to Plausible. That would be every page_view and all events that serve as a conversion in Plausible. You can use a lookup table variable to translate incoming event names to the desired conversion event name for Plausible and trigger the tag only if this variable contains a value.

plausible-analytics-tag-server's People

Contributors

bukashk0zzz avatar mbaersch avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

stape-io

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.