Campaigns won't be tracked anymore


(heinetz) #1

Hi,

in my project campaigns won’t be tracked anymore and I can’t find out why.

I tested as follows:

the request:
http://example.org/Gute_Reise/Gut_versichert_im_Ausland/kostenlose_Auslandsreise-KV/?piwik_campaign=%2FpublicNewsletter%2FAllgemein%2FJuni_2011&piwik_kwd=%2FGute_Reise%2FGut_versichert_im_Ausland%2Fkostenlose_Auslandsreise-KV%2F

the tracker-code


!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.daimler-betriebskrankenkasse.com/_piwik/" : "http://www.daimler-betriebskrankenkasse.com/_piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {

var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.setCustomUrl("example.org/Gute Reise/Gut versichert im Ausland/kostenlose Auslandsreise-KV/Startseite?piwik_campaign%3D%252FpublicNewsletter%252FAllgemein%252FJuni_2011%26piwik_kwd%3D%252FGute_Reise%252FGut_versichert_im_Ausland%252Fkostenlose_Auslandsreise-KV%252F");

piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="example.org/_piwik/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->

directly after requesting the url the site is counted under actions/sites but NOT under referrers/campaigns. some times ago i made some changes at the site but can’t find differences to the old version in my piwik-code. the paramters
piwik_campaign and piwik_kwd are defined as campaign_var_name/campaign_keyword_var_name in piwiks global.inc.php.

i have no idea.

could s.o. help?

best,
heinetz


(Matthieu Aubry) #2

FAQ Troubleshooting - Analytics Platform - Matomo