No Campaign Data collected in 0.2.34


(make-piw) #1

Hi there
During testing we noticed there is no Campaign Data collected in our 0.2.34.
In Actions->Pages we get the URLs logged:

/index.php?piwik_campaign=newsletter&piwik_kwd=lin2655
/index.php?piwik_campaign=newsletter&piwik_kwd=lin22
/index.php?piwik_campaign=newsletter&piwik_kwd=lin22
/index.php?piwik_campaign=newsletter&piwik_kwd=lin22
/index.php?piwik_campaign=newsletter&piwik_kwd=lin22555
/index.php?piwik_campaign=newsletter-april&piwik_kwd=link_footer
/index.php?piwik_campaign=newsletter-april&piwik_kwd=link_footer
/index.php?piwik_campaign=newsletter-april&piwik_kwd=link_footer

But the the Referers->Campaigns section does not pickup on any of them…

Thanks for any help!


(tino) #2

Hi.

Same issue here. Any ideas?


(vipsoft) #3

Worksforme. Do you have your piwik tracking code on the campaign landing page?


(make-piw) #4

Just to be sure… you mean this code

<!-- Piwik -->
<a href="http://piwik.org" title="Analytics software" onclick="window.open(this.href);return(false);">
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.domain.net/piwik/" : "http://www.domain.net/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
piwik_action_name = '';
piwik_idsite = 1;
piwik_url = pkBaseURL + "piwik.php";
piwik_log(piwik_action_name, piwik_idsite, piwik_url);
</script>
<object><noscript><p>Analytics software <img src="http://www.domain.net/piwik/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript></object></a>
<!-- End Piwik Tag -->

right? There is no extra code to be used for a Campaign, right?

So yes, it’s in place and Piwik does collect the data/pages in Actions->Pages, no problem there.

Now, what we have done by now is:

[General]
campaign_var_name = "dp_news"
campaign_keyword_var_name = "dp_news_kwd"
default_day = "today"

which we did a few days after the install, when the campaign part didn’t work for us and we figured it be easier using “dp_news” anyway, as this appears in our NL tool automaticly.

Now the wierd thing… after a few days these URLs

/index.php?piwik_campaign=newsletter&piwik_kwd=lin22

using “piwik_campaign” and “piwik_kwd” where showing up in Referers->Campaigns — but no showing of any Keywords!!

We have waited 3 more days, but nothing using “dp_news” or “dp_news_kwd” has been showing up.

So, to me it looks like some cache thing and I was wondering if there is:

  • Any cache to be disabled?
  • How can we manualy trigger the compiling of all our reports?
  • Is there any way to have all our reports compiled from scratch again?
This would maybe lift the fog, as all data is stored in the DB-Table “piwik_log_action” just fine!

@tino
Anything similar in your case?

Thanks for any help


(vipsoft) #5

A lag in reporting could be due to a misconfigured timezone in php.ini.


(make-piw) #6

[quote=vipsoft @ May 6 2009, 09:37 PM]A lag in reporting could be due to a misconfigured timezone in php.ini.[/quote]Could you elaborate on this a bit more?
From looking at my phpinfo() my timezone is set properly.

Thanks


(vipsoft) #7

For example, in php.ini, if date.timezone isn’t configured, it defaults to New York (i.e., Eastern). But, if as you say, this is right, then…

You indicate that you have changed campaign_var_name and campaign_keyword_var_name. Have you done the same for all your campaign links? The change will then apply to new links.


(make-piw) #8

[quote=vipsoft @ May 7 2009, 04:04 AM]You indicate that you have changed campaign_var_name and campaign_keyword_var_name. Have you done the same for all your campaign links? The change will then apply to new links.[/quote]Yes, we made a change to something which appears in our newsletters anyway “dp_news” and the landingpage is being logged, just not a campaign… do you thing we should stick to the default?

Any info regarding this:
* How can we manualy trigger the compiling of all our reports?
* Is there any way to have all our reports compiled from scratch again?

Thanks a lot


(Matthieu Aubry) #9

[quote=make-piw @ May 7 2009, 11:37 PM]Yes, we made a change to something which appears in our newsletters anyway “dp_news” and the landingpage is being logged, just not a campaign… do you thing we should stick to the default?

Any info regarding this:
* How can we manualy trigger the compiling of all our reports?
* Is there any way to have all our reports compiled from scratch again?

Thanks a lot[/quote]

check out How to force piwik to re-process the reports?


(Matthieu Aubry) #10

Tracking Campaigns (newsletter, paid ads, display ads, affiliates, etc.) is now available!