Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One single campaign appearing twice in campaigns report #2795

Closed
anonymous-matomo-user opened this issue Nov 23, 2011 · 5 comments
Closed

One single campaign appearing twice in campaigns report #2795

anonymous-matomo-user opened this issue Nov 23, 2011 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

I have a campaign running. On a website there a - basically - four different links to my site, all using the same campaign-parameters, but different keyword-parameters.

The problem is that all links, that direct to the landing-page as

index.php?utm_campaign=campaign&utm_term=keyword

are counted as one single campagin. And all deep-links to my shop, where the landing page-url is something like

index.php?option=com_virtuemart&category_id=1234&page=
shop.browse&utm_campaign=campaign&utm_term=keyword

are counted as a different campaign that has the same name as the first one. See the screenshot.

API output to these campaigns is:

- <result date="2011-11-19">
- <row>
  <label>Zubehrshop Homepage Link-Building</label> 
  <nb_uniq_visitors>49</nb_uniq_visitors> 
  <nb_visits>49</nb_visits> 
  <nb_actions>297</nb_actions> 
  <max_actions>32</max_actions> 
  <sum_visit_length>11597</sum_visit_length> 
  <bounce_count>14</bounce_count> 
  <nb_visits_converted>0</nb_visits_converted> 
  <idsubdatatable>131</idsubdatatable> 
  </row>
- <row>
  <label>Zubehrshop Homepage Link-Building</label> 
  <nb_uniq_visitors>7</nb_uniq_visitors> 
  <nb_visits>7</nb_visits> 
  <nb_actions>42</nb_actions> 
  <max_actions>18</max_actions> 
  <sum_visit_length>782</sum_visit_length> 
  <bounce_count>2</bounce_count> 
  <nb_visits_converted>0</nb_visits_converted> 
  <idsubdatatable>132</idsubdatatable> 
  </row>
  &lt;/result>```
@anonymous-matomo-user
Copy link
Author

Attachment: a single campaign appears twice
piwik_campaign-tracking_bug.png

@mattab
Copy link
Member

mattab commented Nov 28, 2011

Thanks for the report. Have you experienced this bug in several days?

Could you send me the full DB dump (or the table piwik_log_visit for these days)?
matt att piwik.org

Thanks!

@mattab
Copy link
Member

mattab commented Dec 1, 2011

(In [5498]) Fixes #2795 The campaign name and keywords were not URL decoded and trimmed, before recorded in the log table (as opposed to search engine keywords which were correctly decoded and trimmed)
This caused the same keyword to be recorded as Hello%20World and Hello+World
This fix will only fix reports for new data AFTER applying the patch

@mattab
Copy link
Member

mattab commented Dec 1, 2011

(In [5499]) Ensuring consistent output (on my box plugins load in different orders causing Xml comparison to fail) + adding test refs #2795

@anonymous-matomo-user
Copy link
Author

To report back: the fix seems to work.

@anonymous-matomo-user anonymous-matomo-user added this to the 1.7 Piwik 1.7 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants