Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

JS error when calling MTM container

$
0
0

Hi,

Probably since a wordpress update, I’ve got an error when calling my MTM container:

Uncaught SyntaxError: Identifier 's' has already been declared (at data:text/javascript;base64,.......................)
    at data:text/javascript;base64,......................................

Browser console also gives me:

var _mtm = window._mtm = window._mtm || [];
_mtm.push({
    'mtm.startTime': (new Date().getTime()),
    'event': 'mtm.Start'
});
var d = document
  , g = d.createElement('script')
  , s = d.getElementsByTagName('script')[0];
g.async = !0;
g.src = 'https://MY-MATOMO-SERVER.org/js/container_WC3rwORo.js';
s.parentNode.insertBefore(g, s)

Does anyone have any ideas for solving this sudden problem ?

Thanks a lot !
Best regards

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles