Skip to content

Commit 93cdecb

Browse files
committed
Merge branch 'release/1.1.0'
2 parents 73c116a + 66b85af commit 93cdecb

File tree

17 files changed

+747
-24
lines changed

17 files changed

+747
-24
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea
2+
vendor/

LICENSE.txt

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 40 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,40 @@
1-
# Matomo.
2-
3-
Matomo Module based on adrianspeyer/Piwik-for-Magento
4-
5-
## Installation
6-
7-
### Modgit: [https://github.com/jreinke/modgit](https://github.com/jreinke/modgit)
8-
9-
$ cd /path/to/magento
10-
$ modgit init
11-
$ modgit add installments https://github.com/contardi/installments.git
12-
13-
### Manual:
14-
15-
- Download [latest version](https://github.com/contardi/matomo-magento/archive/master.zip) .
16-
- Unzip copy and paste the files.
17-
- Clear all caches.
18-
1+
Matomo Extension for Magento 1
2+
==============================
3+
4+
Facts
5+
-----
6+
- extension key: `Matomo_Analytics`
7+
8+
Description
9+
-----------
10+
This extension for Magento 1 adds the Matomo analytics tracking to your shop.
11+
It is based on the original implementation by `adrianspeyer/Piwik-for-Magento`.
12+
13+
Requirements
14+
------------
15+
- PHP >= 7.4.x
16+
17+
Installation Instructions
18+
-------------------------
19+
```
20+
composer require vianetz/matomo-magento1
21+
```
22+
23+
Support
24+
-------
25+
If you have any issues or suggestions with this extension, please create a new Github issue.
26+
27+
Credits
28+
-------
29+
- https://github.com/contardi/matomo-magento
30+
- https://github.com/adrianspeyer/Piwik-for-Magento
31+
32+
Contribution
33+
------------
34+
Please feel free to contribute.
35+
36+
License
37+
-------
38+
[GNU GENERAL PUBLIC LICENSE](http://www.gnu.org/licenses/gpl-3.0.txt)
39+
40+
This Magento Extension uses Semantic Versioning - please find more information at http://semver.org.

composer.json

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,32 @@
11
{
2-
"name": "contardi/matomo-magento",
2+
"name": "vianetz/matomo-magento1",
33
"type": "magento-module",
4-
"license": "GPL-3.0",
5-
"description": "This is a GPL released Extension that allows you to get your Magento Ecommerce Transaction data in your Matomo install, based on Adrian Spencer Module",
4+
"license": "GPL-3.0-or-later",
5+
"description": "A Magento 1 extension that allows you to get ecommerce transaction data into Matomo analytics.",
6+
"require-dev": {
7+
"roave/security-advisories": "dev-master",
8+
"magento/marketplace-eqp": ">=4.0"
9+
},
610
"authors": [
11+
{
12+
"name": "Adrian Speyer",
13+
"email": "[email protected]"
14+
},
715
{
816
"name": "Thiago Contardi",
917
"email": "[email protected]"
18+
},
19+
{
20+
"name": "Christoph Massmann",
21+
"email": "[email protected]",
22+
"homepage": "https://www.vianetz.com",
23+
"role": "Developer"
24+
}
25+
],
26+
"repositories": [
27+
{
28+
"type": "composer",
29+
"url": "https://repo.magento.com/"
1030
}
1131
]
1232
}

modman

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
app/code/community/Matomo/Analytics app/code/community/Matomo/Analytics
2+
app/etc/modules/Matomo_Analytics.xml app/etc/modules/Matomo_Analytics.xml
3+
app/design/frontend/base/default/template/matomoanalytics app/design/frontend/base/default/template/matomoanalytics
4+
app/design/frontend/base/default/layout/matomoanalytics.xml app/design/frontend/base/default/layout/matomoanalytics.xml
5+
app/locale/en_US/Matomo_Analytics.csv app/locale/en_US/Matomo_Analytics.csv
6+
app/locale/pt_BR/Matomo_Analytics.csv app/locale/pt_BR/Matomo_Analytics.csv
File renamed without changes.
File renamed without changes.

app/code/community/Matomo/Analytics/Model/Observer.php renamed to src/app/code/community/Matomo/Analytics/Model/Observer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*
1111
*/
1212

13-
1413
class Matomo_Analytics_Model_Observer
1514
{
1615
/**
@@ -27,7 +26,7 @@ public function setMatomoAnalyticsOnOrderSuccessPageView(Varien_Event_Observer $
2726
return;
2827
}
2928

30-
$block = Mage::app()->getFrontController()->getAction()->getLayout()->getBlock('matomo.scripts');
29+
$block = Mage::app()->getFrontController()->getAction()->getLayout()->getBlock('matomo_script');
3130
if ($block) {
3231
$block->setOrderIds($orderIds);
3332
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)