Set the Piwik custom variable before "trackPageView"