Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleDetails

The macro creates a JavaScript tag in HTML. The following shows the result of rendering the sample body shown in Piwik Set Multiple Custom Variables Macro Body.

Code Block
languagexml
titleGenerated JavaScript Tag
<script type='text/javascript'>
  var _paq = _paq || [];
  _paq.push(['setCustomVariable', '1','Category','blog','page']);
  _paq.push(['setCustomVariable', '2','Tag','release-note','page']);
  _paq.push(['setCustomVariable', '3','department','development','page']);
</script>

...