定制 bestlife/oxid-module-matomo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bestlife/oxid-module-matomo

Composer 安装命令:

composer require bestlife/oxid-module-matomo

包简介

Add Matomo (formerly Piwik) tracking codes to your oxid online shop.

README 文档

README

version 2.5.0 ( 2019-01-23 )

Funktionen:

  1. Tracking der Seitenaufrufe
  2. Shopinterne Suche
  3. E-Commerce Tracking
  4. benutzerdefinierte Dimensionen
  5. Geo Location ( Besucher-IP nach Land auflösen )

Installation OXID 6

$ composer require bestlife/oxid-module-matomo

Installation OXID 4

  1. https://github.com/vanilla-thunder/oxid-module-matomo/archive/master-v4.zip herunterladen und entpacken
  2. Inhalt von "copy_this" in den Shop hochladen
  3. Modul aktivieren und Moduleinstellungen konfigurieren
  4. Views aktualisieren
  5. TPL Blocks hinzufügen: in email/html/header.tpl direkt nach <body ... > einfügen:
    [{block name="email_html_header"}][{/block}]
    

Konfiguration:

unter Erweiterungen -> Module -> [bestlife] Matomo Tracking -> Reiter "Einstellungen":

  • Matomo Server URL und Site ID werden benötigt, damit überhaupt irgendwas funktioniert.
  • Auth Token wird nur für Tracking über API (PHP/Serverseitig, wird aktuell nicht verwendet) und GeoIP Funktion benötigt
  • Sofern Ziele und benutzerdefinierte Dimensionen gebraucht werden, müssen diese in Matomo erstellt und deren IDs in den Moduleinstellungen hinterlegt werden

Konfiguration der Ziele in matomo

  1. Newsletter Opt-In
    • Ziel ist erreicht: manuell
  2. Newsletter Freischaltung (Opt-In bestätigt)
    • Ziel ist erreicht: manuell
  3. Newsletter Abmeldung
    • Ziel ist erreicht: manuell
  4. Neue Registrierung
    • "Wenn vom Besucher" + "Die angegebene URL wird besucht"
    • die URL beinhaltet /index.php?cl=register&success=1
  5. Neue Registrierung im Checkout
    • "Wenn vom Besucher" + "Die angegebene URL wird besucht"
    • die URL beinhaltet /index.php?cl=payment&new_user=1&success=1
  6. Neue Bestellung
    • "Wenn vom Besucher" + "Die angegebene URL wird besucht"
    • die URL beinhaltet /index.php?cl=thankyou

Benutzerdefinierte Dimensionen

Das Modul unterstützt standardmäßig 5 benutzerdefinierte Dimensionen:

  • Sprache
  • Zahlungsart
  • Versandart
  • Versandadresse ( Rechnungsadresse / Packstation / Abweichende Lieferanschrift )
  • Mediacode / REF

Um die benutzerdefinierten Dimensionen zu verwenden, muss das "custom dimensions" Plugin installiert und anschließend die entsprechenden Dimensionen erstellt werden.
Mehr Infos zu benutzerdefinierten Dimensionen gibts hier: https://matomo.org/docs/custom-dimensions/

Geo Location

Sofern Geo Location in Matomo konfiguriert ist, kann das Herkunftsland über die IP Adresse der Besucher bestimmt werden.
Die Funktion [{$oViewConf->getCountryByIP()}] liefert den ISO Alpha-2 Kürzel ("DE", "AT", "US" etc) des lande.
Weitere Infos zu Geo Location in Matomo: https://matomo.org/docs/geo-locate/

Beipsiel Code: [{if $oViewConf->getCountryByIP() == "DE"}]Kunde aus DE[{/if}]

Software Lizenz

[bla] matomo - Matomo (Piwik) Analytics für OXID eShop
Copyright (C) 2018 bestlife AG
info: oxid@bestlife.ag

This program is free software;
you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/

bestlife/oxid-module-matomo 适用场景与选型建议

bestlife/oxid-module-matomo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.2k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 01 月 22 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 bestlife/oxid-module-matomo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 bestlife/oxid-module-matomo 我们能提供哪些服务?
定制开发 / 二次开发

基于 bestlife/oxid-module-matomo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 2.2k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 9
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 5
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2019-01-22