Git Product home page Git Product logo

google-analytics's Introduction

Licence PRs

WEBKINDER Banner

Google Analytics and Google Tag Manager Plugin

This is the source repository for our plugin https://wordpress.org/plugins/wk-google-analytics/.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

google-analytics's People

Contributors

enrikberisha avatar maurobringolf avatar pascalknecht avatar raphaelportmann avatar silvanarnet avatar svenvonarx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

google-analytics's Issues

Cookie String anpassen?

Wir verwenden als Cookie String aktuell die Site URL, prinzipiell wäre eine ID (GA, GTM) besser. Allerdings muss man sich dann überlegen wie es funktionieren soll wenn jemand von GA zu GTM wechselt und umgekehrt.

Optionen unter eine Container Option speichern

Aktuell werden sämtliche Optionen als eigene Felder definiert und gespeichert. Zusätzlich sind diese nicht sauber genamespacet, z.B. haben wir eine Option track_logged_in:

image

Das ist extrem schlecht. Wir könnten alle namespacen, aber dann können wir meiner Meinung nach auch gleich alle unter eine Container Option als Array speichern wie wir das üblicherweise machen (siehe Slidebars).

Das wird ein Breaking Change, wobei wir uns überlegen können ob wir ein Update Skript mitliefern sollen, das beim Update die Werte übernimmt. Müsste man recherchieren wie dass genau zu tun ist, aber es ist möglich, habe das schonmal irgendwo gesehen.

Option - Script im Footer einbauen

Von Purzelbaum WPCH Slack kam der Feature Request rein, dass wir als Option das GA Script im Footer einbauen. GTM könnte man auch. Ich verstehe den Ansatz. Bin aber der Meinung, dass wir da eine Info rechts haben müssen. "Diese Option bewirkt, dass die Scripts im Footer geladen werden. Beachte bitte, dass dies von Google nicht empfohlen wird und wir bei Fehlern keine Haftung übernehmen". Etwas in die Richtung.

WP Coding Standards

Gegebenenfalls die Rules etwas lockern, aber grundsätzlich normale WordPress Standards von phpcs.

Default Checkbox true geht nicht

Die Anonymize IP checkbox ist per Default gecheckt. Dadurch haben wir das Problem, dass es nicht deaktiviert werden kann (weil ein HTML Form checkbox nicht gecheckt keinen Wert schickt --> es wird der Default verwendet.)

Wir hatten das Problem schonmal bei Slidebars, @raphaelportmann weisst du noch was die Lösung war? Eine Variante wäre eine hidden Checkbox die den false Wert repräsentiert und per JS immer das Gegenteil der anderen ist.

Genereller Opt-out von Tracking

  1. Shortcode für einen Button im Frontend mit derselben Funktion wie der Cookie Button im Backend.
  2. Ab WP 4.9.6 den Shortcode automatisch am Ende der Datenschutzerklärung einfügen. Hier sollte es auch eine Option geben die Ausgabe zu deaktivieren (Falls man ihn selber platzieren will).

Tooltip für GTM IP Anonymisierung

Bei der GTM Checkbox ein Tooltip einfügen:

IP Anonymisation handles only the ga integration. if you want to use IP anonym. for GTM you will need to do that in the backend of GTM. Here you find a good manual -> Link zu einem Blog auf english der das erklärt -> natürlich in korrektem englisch

😁

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.