diff --git a/view/frontend/templates/piwik.phtml b/view/frontend/templates/piwik.phtml index 278ed86..6177b12 100644 --- a/view/frontend/templates/piwik.phtml +++ b/view/frontend/templates/piwik.phtml @@ -34,7 +34,10 @@ // event which breaks the link tracking feature. ?> diff --git a/view/frontend/web/js/tracker.js b/view/frontend/web/js/tracker.js index 91ee4e2..fd13593 100644 --- a/view/frontend/web/js/tracker.js +++ b/view/frontend/web/js/tracker.js @@ -78,19 +78,14 @@ define([ * Append Piwik tracker script URL to head * * @param {String} scriptUrl - * @return bool Wheter the script was injected */ function injectScript(scriptUrl) { - if (piwik === null) { - $('
diff --git a/view/frontend/web/js/tracker.js b/view/frontend/web/js/tracker.js index 91ee4e2..fd13593 100644 --- a/view/frontend/web/js/tracker.js +++ b/view/frontend/web/js/tracker.js @@ -78,19 +78,14 @@ define([ * Append Piwik tracker script URL to head * * @param {String} scriptUrl - * @return bool Wheter the script was injected */ function injectScript(scriptUrl) { - if (piwik === null) { - $('