Skip to content

Commit

Permalink
Merge pull request #6 from AgID/fix/matomo4-event-change
Browse files Browse the repository at this point in the history
Add compatibility with Matomo4
  • Loading branch information
pdavide authored Jan 26, 2024
2 parents b10d8af + 65296a8 commit 8c8f02a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TrackerHostname.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TrackerHostname extends Plugin
public function registerEvents()
{
return array(
'Piwik.getJavascriptCode' => array(
'Tracker.getJavascriptCode' => array(
'function' => 'customizeTrackerHostname',
'before' => true,
),
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.1.0",
"theme": false,
"require": {
"piwik": ">=3.13.0-stable,<5.0.0-b1"
"piwik": ">=4.0.0-b1,<5.0.0-b1"
},
"authors": [
{
Expand Down

0 comments on commit 8c8f02a

Please sign in to comment.