Skip to content

Commit c77d928

Browse files
committed
fixed bug with Matomo conversion tracking not working correctly
1 parent 73c116a commit c77d928

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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
}

0 commit comments

Comments
 (0)