Coder Social home page Coder Social logo

stape-io / matomo-advanced-tag Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 95 KB

Matomo Advanced tag for Google Tag Manager Server Side

Home Page: https://stape.io/blog/matomo-tag-for-server-google-tag-manager

License: Apache License 2.0

JavaScript 19.34% Smarty 80.66%
gtm gtm-custom-template gtm-server-side matomo matomo-analytics stape

matomo-advanced-tag's Introduction

Matomo Advanced tag for Google Tag Manager Server Side

Matomo Advanced Tag automatically parses event data in the server Google Tag Manager container and tries to map it to standard events or e-commerce tracking.

Event set-up methods:

  • Inherit from client. The tag will automatically parse event data and map available data.
  • Custom. With the help of this method, you can track pageviews and other custom events by adding event category, event action, and event name.

Types of actions that server-side Matomo tag supports:

  • pageview
  • event tracking
  • e-commerce tracking

How to use the Matomo Advanced tag:

Tracking URL - Tracking HTTP API endpoint, for example, https://your-matomo-domain.example/matomo.php

Matomo site ID - The ID of the website you want to set up tracking for. To find the tracking ID click on the gear button in the top right corner, click Websites, then manage and you will find the site ID in Manage Measurables table.

Auth token - AuthToken is used to set the correct IP Address. Available In Matomo under Settings > Personal > Security > Auth Token. Optional (if it isn’t set, the IP & Region displayed in Matomo will be incorrect).

Enable E-commerce Tracking - Tag will try to map ecommerce data.

Use Optimistic Scenario - The tag will call gtmOnSuccess() without waiting for a response from the API.

Event Parameters - Here, you can specify which parameters you want to override.

Request Headers - Add the request headers name and value you want to add to the Matomo requests.

Logs Settings - Specify whether the tag should write to the logs to stape.

Useful link:

Open Source

Matomo Advanced Tag for GTM Server Side is developed and maintained by Stape Team under the Apache 2.0 license.

matomo-advanced-tag's People

Contributors

bukashk0zzz avatar dmtsolovey avatar khorozhanov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

matomo-advanced-tag's Issues

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.