Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2018-11-27 08:18:07 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-11-27 08:18:07 +0300
commit4faceb92c96ef770a6e3bf21f41c4b256e51522f (patch)
treec883182312bbcc1c74a7407a89c9cbb1063477bb /plugins/Morpheus
parentaa977ef9b0f29eec69eaff024cac73f6d0d6ed7e (diff)
Update JavaScript code to use window._paq instead of _paq (#13674)
* update tracking code to get _paq from window * fix some tests * update screenshots
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r--plugins/Morpheus/templates/javascriptCode.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Morpheus/templates/javascriptCode.twig b/plugins/Morpheus/templates/javascriptCode.twig
index 722fc28069..53a379d8ee 100644
--- a/plugins/Morpheus/templates/javascriptCode.twig
+++ b/plugins/Morpheus/templates/javascriptCode.twig
@@ -1,6 +1,6 @@
<!-- Matomo -->
<script type="text/javascript">
- var _paq = _paq || [];
+ var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
{$options} _paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);