diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-11-21 03:08:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 03:08:31 +0300 |
commit | 5f9466435ee04b70845a4734adfd77bc60f8c152 (patch) | |
tree | 58e1ca7d7de659bac33db5e9f9d9fd77fa16ff0d /plugins/Contents | |
parent | d8a4d6dde7b459b6084d6a00af081f5a7e706e99 (diff) |
fix content actions are not tracked on search pages (#13652)
Diffstat (limited to 'plugins/Contents')
12 files changed, 250 insertions, 66 deletions
diff --git a/plugins/Contents/tests/Fixtures/TwoVisitsWithContents.php b/plugins/Contents/tests/Fixtures/TwoVisitsWithContents.php index 92a6e5e319..9b6d831630 100644 --- a/plugins/Contents/tests/Fixtures/TwoVisitsWithContents.php +++ b/plugins/Contents/tests/Fixtures/TwoVisitsWithContents.php @@ -85,6 +85,10 @@ class TwoVisitsWithContents extends Fixture $this->moveTimeForward($vis, 4.5); self::checkResponse($vis->doTrackContentImpression('Video Ad', 'movie.mov')); + + $vis->setUrl('http://www.example.com/de/suche?q=foo'); + $this->moveTimeForward($vis, 4.5); + self::checkResponse($vis->doTrackContentImpression('Video Ad', 'movie.mov')); } public function tearDown() diff --git a/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentNames_lastN__API.getProcessedReport_day.xml b/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentNames_lastN__API.getProcessedReport_day.xml index a7442f27b2..4af125d6bb 100644 --- a/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentNames_lastN__API.getProcessedReport_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentNames_lastN__API.getProcessedReport_day.xml @@ -48,7 +48,7 @@ </row> <row> <label>Video Ad</label> - <nb_impressions>2</nb_impressions> + <nb_impressions>4</nb_impressions> <nb_interactions>0</nb_interactions> <interaction_rate>0%</interaction_rate> </row> diff --git a/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentPieces_lastN__API.getProcessedReport_day.xml b/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentPieces_lastN__API.getProcessedReport_day.xml index 0ed4eb891e..3372acc13f 100644 --- a/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentPieces_lastN__API.getProcessedReport_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents_Contents.getContentPieces_lastN__API.getProcessedReport_day.xml @@ -66,7 +66,7 @@ </row> <row> <label>movie.mov</label> - <nb_impressions>2</nb_impressions> + <nb_impressions>4</nb_impressions> <nb_interactions>0</nb_interactions> <interaction_rate>0%</interaction_rate> </row> diff --git a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_day.xml b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_day.xml index e81ffde69d..aab05b8c9c 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_day.xml @@ -24,7 +24,7 @@ <label>Video Ad</label> <nb_uniq_visitors>2</nb_uniq_visitors> <nb_visits>2</nb_visits> - <nb_impressions>2</nb_impressions> + <nb_impressions>4</nb_impressions> <nb_interactions>0</nb_interactions> <interaction_rate>0%</interaction_rate> <contentTarget /> diff --git a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_month.xml b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_month.xml index 069388968b..4523ce37fc 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_month.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentNames_month.xml @@ -23,7 +23,7 @@ <row> <label>Video Ad</label> <nb_visits>2</nb_visits> - <nb_impressions>2</nb_impressions> + <nb_impressions>4</nb_impressions> <nb_interactions>0</nb_interactions> <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> <interaction_rate>0%</interaction_rate> diff --git a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_day.xml b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_day.xml index fb7e0486ad..ccdd21b1d9 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_day.xml @@ -53,7 +53,7 @@ <label>movie.mov</label> <nb_uniq_visitors>2</nb_uniq_visitors> <nb_visits>2</nb_visits> - <nb_impressions>2</nb_impressions> + <nb_impressions>4</nb_impressions> <nb_interactions>0</nb_interactions> <interaction_rate>0%</interaction_rate> <contentTarget /> diff --git a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_month.xml b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_month.xml index 512fcdb391..64b79d5d08 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_month.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Contents.getContentPieces_month.xml @@ -52,7 +52,7 @@ <row> <label>movie.mov</label> <nb_visits>2</nb_visits> - <nb_impressions>2</nb_impressions> + <nb_impressions>4</nb_impressions> <nb_interactions>0</nb_interactions> <sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors> <interaction_rate>0%</interaction_rate> diff --git a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml index 2a1ac84130..ac964b5413 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_day.xml @@ -222,6 +222,24 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>13</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> </actionDetails> <goalConversions>0</goalConversions> <siteCurrency>USD</siteCurrency> @@ -333,7 +351,7 @@ <pageIdAction>2</pageIdAction> - <pageId>13</pageId> + <pageId>14</pageId> <bandwidth /> <timeSpent>271</timeSpent> <timeSpentPretty>4 min 31s</timeSpentPretty> @@ -352,7 +370,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>14</pageId> + <pageId>15</pageId> <contentName>ImageAd</contentName> <contentPiece>Unknown</contentPiece> <contentTarget /> @@ -370,7 +388,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>15</pageId> + <pageId>16</pageId> <contentName>ImageAd</contentName> <contentPiece /> <contentTarget /> @@ -388,7 +406,7 @@ <timeSpentRef>120</timeSpentRef> - <pageId>16</pageId> + <pageId>17</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -406,7 +424,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>17</pageId> + <pageId>18</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad2.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -424,7 +442,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>18</pageId> + <pageId>19</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -442,7 +460,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>19</pageId> + <pageId>20</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -460,7 +478,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>20</pageId> + <pageId>21</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/</contentTarget> @@ -478,7 +496,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>21</pageId> + <pageId>22</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -496,7 +514,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>22</pageId> + <pageId>23</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -514,7 +532,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>23</pageId> + <pageId>24</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget /> @@ -532,7 +550,25 @@ <timeSpentRef>30</timeSpentRef> - <pageId>24</pageId> + <pageId>25</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>26</pageId> <contentName>Video Ad</contentName> <contentPiece>movie.mov</contentPiece> <contentTarget /> diff --git a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml index 2a1ac84130..ac964b5413 100644 --- a/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml +++ b/plugins/Contents/tests/System/expected/test_Contents__Live.getLastVisitsDetails_month.xml @@ -222,6 +222,24 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>13</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> </actionDetails> <goalConversions>0</goalConversions> <siteCurrency>USD</siteCurrency> @@ -333,7 +351,7 @@ <pageIdAction>2</pageIdAction> - <pageId>13</pageId> + <pageId>14</pageId> <bandwidth /> <timeSpent>271</timeSpent> <timeSpentPretty>4 min 31s</timeSpentPretty> @@ -352,7 +370,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>14</pageId> + <pageId>15</pageId> <contentName>ImageAd</contentName> <contentPiece>Unknown</contentPiece> <contentTarget /> @@ -370,7 +388,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>15</pageId> + <pageId>16</pageId> <contentName>ImageAd</contentName> <contentPiece /> <contentTarget /> @@ -388,7 +406,7 @@ <timeSpentRef>120</timeSpentRef> - <pageId>16</pageId> + <pageId>17</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -406,7 +424,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>17</pageId> + <pageId>18</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad2.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -424,7 +442,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>18</pageId> + <pageId>19</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -442,7 +460,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>19</pageId> + <pageId>20</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -460,7 +478,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>20</pageId> + <pageId>21</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/</contentTarget> @@ -478,7 +496,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>21</pageId> + <pageId>22</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -496,7 +514,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>22</pageId> + <pageId>23</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -514,7 +532,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>23</pageId> + <pageId>24</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget /> @@ -532,7 +550,25 @@ <timeSpentRef>30</timeSpentRef> - <pageId>24</pageId> + <pageId>25</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>26</pageId> <contentName>Video Ad</contentName> <contentPiece>movie.mov</contentPiece> <contentTarget /> diff --git a/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml index 2a1ac84130..ac964b5413 100644 --- a/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml @@ -222,6 +222,24 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>13</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> </actionDetails> <goalConversions>0</goalConversions> <siteCurrency>USD</siteCurrency> @@ -333,7 +351,7 @@ <pageIdAction>2</pageIdAction> - <pageId>13</pageId> + <pageId>14</pageId> <bandwidth /> <timeSpent>271</timeSpent> <timeSpentPretty>4 min 31s</timeSpentPretty> @@ -352,7 +370,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>14</pageId> + <pageId>15</pageId> <contentName>ImageAd</contentName> <contentPiece>Unknown</contentPiece> <contentTarget /> @@ -370,7 +388,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>15</pageId> + <pageId>16</pageId> <contentName>ImageAd</contentName> <contentPiece /> <contentTarget /> @@ -388,7 +406,7 @@ <timeSpentRef>120</timeSpentRef> - <pageId>16</pageId> + <pageId>17</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -406,7 +424,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>17</pageId> + <pageId>18</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad2.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -424,7 +442,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>18</pageId> + <pageId>19</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -442,7 +460,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>19</pageId> + <pageId>20</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -460,7 +478,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>20</pageId> + <pageId>21</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/</contentTarget> @@ -478,7 +496,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>21</pageId> + <pageId>22</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -496,7 +514,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>22</pageId> + <pageId>23</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -514,7 +532,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>23</pageId> + <pageId>24</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget /> @@ -532,7 +550,25 @@ <timeSpentRef>30</timeSpentRef> - <pageId>24</pageId> + <pageId>25</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>26</pageId> <contentName>Video Ad</contentName> <contentPiece>movie.mov</contentPiece> <contentTarget /> diff --git a/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml index 2a1ac84130..ac964b5413 100644 --- a/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml @@ -222,6 +222,24 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>13</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> </actionDetails> <goalConversions>0</goalConversions> <siteCurrency>USD</siteCurrency> @@ -333,7 +351,7 @@ <pageIdAction>2</pageIdAction> - <pageId>13</pageId> + <pageId>14</pageId> <bandwidth /> <timeSpent>271</timeSpent> <timeSpentPretty>4 min 31s</timeSpentPretty> @@ -352,7 +370,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>14</pageId> + <pageId>15</pageId> <contentName>ImageAd</contentName> <contentPiece>Unknown</contentPiece> <contentTarget /> @@ -370,7 +388,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>15</pageId> + <pageId>16</pageId> <contentName>ImageAd</contentName> <contentPiece /> <contentTarget /> @@ -388,7 +406,7 @@ <timeSpentRef>120</timeSpentRef> - <pageId>16</pageId> + <pageId>17</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -406,7 +424,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>17</pageId> + <pageId>18</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad2.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -424,7 +442,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>18</pageId> + <pageId>19</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -442,7 +460,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>19</pageId> + <pageId>20</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -460,7 +478,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>20</pageId> + <pageId>21</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/</contentTarget> @@ -478,7 +496,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>21</pageId> + <pageId>22</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -496,7 +514,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>22</pageId> + <pageId>23</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -514,7 +532,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>23</pageId> + <pageId>24</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget /> @@ -532,7 +550,25 @@ <timeSpentRef>30</timeSpentRef> - <pageId>24</pageId> + <pageId>25</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>26</pageId> <contentName>Video Ad</contentName> <contentPiece>movie.mov</contentPiece> <contentTarget /> diff --git a/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml index 2a1ac84130..ac964b5413 100644 --- a/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml +++ b/plugins/Contents/tests/System/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml @@ -222,6 +222,24 @@ <bandwidth_pretty>0 M</bandwidth_pretty> </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>13</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> </actionDetails> <goalConversions>0</goalConversions> <siteCurrency>USD</siteCurrency> @@ -333,7 +351,7 @@ <pageIdAction>2</pageIdAction> - <pageId>13</pageId> + <pageId>14</pageId> <bandwidth /> <timeSpent>271</timeSpent> <timeSpentPretty>4 min 31s</timeSpentPretty> @@ -352,7 +370,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>14</pageId> + <pageId>15</pageId> <contentName>ImageAd</contentName> <contentPiece>Unknown</contentPiece> <contentTarget /> @@ -370,7 +388,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>15</pageId> + <pageId>16</pageId> <contentName>ImageAd</contentName> <contentPiece /> <contentTarget /> @@ -388,7 +406,7 @@ <timeSpentRef>120</timeSpentRef> - <pageId>16</pageId> + <pageId>17</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -406,7 +424,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>17</pageId> + <pageId>18</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad2.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -424,7 +442,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>18</pageId> + <pageId>19</pageId> <contentName>ImageAd</contentName> <contentPiece>/path/ad.jpg</contentPiece> <contentTarget>http://www.example.com</contentTarget> @@ -442,7 +460,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>19</pageId> + <pageId>20</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -460,7 +478,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>20</pageId> + <pageId>21</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/</contentTarget> @@ -478,7 +496,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>21</pageId> + <pageId>22</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -496,7 +514,7 @@ <timeSpentRef>0</timeSpentRef> - <pageId>22</pageId> + <pageId>23</pageId> <contentName>Text Ad</contentName> <contentPiece>Click NOW</contentPiece> <contentTarget>http://piwik.org/download</contentTarget> @@ -514,7 +532,7 @@ <timeSpentRef>60</timeSpentRef> - <pageId>23</pageId> + <pageId>24</pageId> <contentName>Text Ad</contentName> <contentPiece>Click to download Piwik now</contentPiece> <contentTarget /> @@ -532,7 +550,25 @@ <timeSpentRef>30</timeSpentRef> - <pageId>24</pageId> + <pageId>25</pageId> + <contentName>Video Ad</contentName> + <contentPiece>movie.mov</contentPiece> + <contentTarget /> + <contentInteraction /> + <bandwidth /> + <interactionPosition>1</interactionPosition> + + <bandwidth_pretty>0 M</bandwidth_pretty> + </row> + <row> + <type>13</type> + <url>http://www.example.com/de/suche?q=foo</url> + <pageTitle /> + <pageIdAction>18</pageIdAction> + + + <timeSpentRef>0</timeSpentRef> + <pageId>26</pageId> <contentName>Video Ad</contentName> <contentPiece>movie.mov</contentPiece> <contentTarget /> |