I'm setting up piwik to track web analytics (for the first time) and I'm inserting the following initial tracking code provided by PIWIK:
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
(function(){ var u=(("https:" == document.location.protocol) ? "https://url/" : "http://url/");
_paq.push(['setSiteId', 2]);
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.defer=true; g.async=true; g.src=u+'piwik.js';
s.parentNode.insertBefore(g,s); })();
</script>
<!-- End Piwik Code -->
my question here is do I need to include after _paq.push(['enableLinkTracking']);
all of the methods I will be using like:
_paq.push(['setCustomVariable'])
_paq.push(['trackEvent'])
and so on? or can I leave the script as it is provided by PIWIK and all the other methods will work?