Tracking custom variables - barely works

I don’t know why, because when I check the loaded scripts in the browser, the custom tracking script is loaded.

I’m passing variables through JavaScript that get attributes of the page, ie,


jQuery(document).ready(function($){
	piwikTracker.setCustomVariable (1, 'Content Taxonomy', av_track_vars.terms, 'page');
	piwikTracker.setCustomVariable (2, 'Page Title', av_track_vars.title, 'page');
	piwikTracker.setCustomVariable (3, 'Page ID', av_track_vars.ID, 'page');
});

Yet, I get maybe a tenth of the data reported.

Are there error logs I can check? Shame because I spent a good deal of time getting this work…

Make sure you add the setCustomVariable calls just before the trackPageView() call