Hi all,
im using the API to extract campaign data from the piwik server. Since the update to 1.2.1 the xml exports are missing the goals/revenue tag and data.
Hi matt,
thanks for your reply. Actually I got all conversion data visible within the piwik ui. But when I try to access them via the API call ‘Referers.getCampaigns’ it is not transmitted (anymore) with the campaign data.
Cheers,
After upgrading to piwik 1.3. the problem appears again, with a different flavour.
Strangely for all but one campaign, conversions went down from f.e. 39 conversions during the week before the upgrade to piwik 1.3 to zero during the week after the upgrade while the number of overall conversions did not change significantly.
The following contains conversions one day before the update to 1.3 (those contain odd values too…):
[attachment 181 piwik_before_update.gif]
The second one shows conversions after the update:
[attachment 182 piwik_after_update.gif]
As you can see, there are some Google Adwords Campaign conversions in the first screenshot and none in the second one. The only campaigns that are counted are those that are not coming from Google Adwords. The campaign “na” is a newsletter campaign.
One idea I got is, that the Google adwords campaigns links might be considered as search engines links. In the second screen there are more referer_type=2 entries than in the first one…
I went to the google website and search for our organisation including a spelling error (just because our campaign keywords often match search terms and I wanted to be sure). The search results showed as expected an ad by our organistation. I clicked on that and then did a conversion on our website.
During the whole process the Live Visitor widget showed me as a campaign visitor. It also showed the conversion when it happened.
In the log_conversion table I was counted as a search engine vistor including the spelling error i made in the search term as the referer_keyword.
So the cookie contains the info, that i was coming from a search engine even though the url contains the pc and pk parameter which are used for campaign tracking. Here is the Live Visitor screenshot of that transaction:
[attachment 185 piwik_goal.gif]
Our piwik js code is unchanged. What we are using on most goals is manual goal tracking, so we added the trackgoal function call to those pages.
I think that maybe the problem, is that you didn’t call the JS functions to customize the campaign name?
Note, that these are new in 1.4 - before, that you just had to change the values in the config file, now you have to change 2 things as explained in the FAQ: How to - Analytics Platform - Matomo
[quote=matt]
I think that maybe the problem, is that you didn’t call the JS functions to customize the campaign name?
Note, that these are new in 1.4 - before, that you just had to change the values in the config file, now you have to change 2 things as explained in the FAQ: How to - Analytics Platform - Matomo
But I got the error with 1.3. already. Is the customization of the campaign name via javascript in version prior to 1.4. necessary as well?
I updated to 1.4. now and added the javascript customization. I’ll let you know if that fixed it.