Generate source-maps from babel and uglifyjs
This commit is contained in:
parent
a56017f0ec
commit
3940e77612
21 changed files with 105 additions and 44 deletions
8
resources/assets/es6/piwik.js
Normal file
8
resources/assets/es6/piwik.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
// Piwik in its own js file to allow usage with a CSP policy
|
||||
|
||||
var _paq = _paq || [];
|
||||
// tracker methods like "setCustomDimension" should be called before "trackPageView"
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
_paq.push(['setTrackerUrl', 'https://analytics.jmb.lv/piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
Loading…
Add table
Add a link
Reference in a new issue