Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#2795 closed Bug (fixed)

One single campaign appearing twice in campaigns report

Reported by: rob_st Owned by:
Priority: normal Milestone: 1.7 Piwik 1.7
Component: Core Keywords:
Cc: Sensitive: no


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


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


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>Zubehörshop Homepage Link-Building</label> 
- <row>
  <label>Zubehörshop Homepage Link-Building</label> 

Attachments (1)

piwik_campaign-tracking_bug.png (19.7 KB) - added by rob_st 2 years ago.
a single campaign appears twice

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by rob_st

a single campaign appears twice

comment:1 Changed 2 years ago by matt (mattab)

  • Milestone set to 1.7 Piwik 1.7

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


comment:2 Changed 2 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(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

comment:3 Changed 2 years ago by matt (mattab)

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

comment:4 Changed 2 years ago by rob_st

To report back: the fix seems to work.

Note: See TracTickets for help on using tickets.