[Campaign] Is there a tracking timeout after user clicks one link?

Hey everyone ! Thanks for your time reading and helping.

I’m using the Campaign feature of Matomo with MarketingCampaignsReporting plugin.

This is an example link I am using to track my content:

https://mydomain.org/mypage?idpage=190&pk_campaign=13&pk_keyword=453&pk_source=Newsletter&pk_content=4

Where :
pk_campaign is my campaign ID
pk_keyword is my content ID
pk_source is my Source
pk_content is my User ID

I am also using the pixel tracker so I can track the emails openings with the following pixel tracker code:

<img src="https://matomo.mydomain.net/piwik.php?idsite=5&amp;rec=1&bots=1&action_name=Newsletter%20opening&_rcn=13&_rck=opening%20newsletter&uid=4" style="border:0" alt="" />

This may be the wrong way to do what I intend to do but my problem is the following, once I open the newsletter and click all tracked content’s links (8 to 10 links) I only see the opening logs and one or two contents in the Matomo’s dashboard and sometimes they appear like 10-30min afterward.

So I was wondering is there was some kind of timeout, Matomo knowing it’s the same user clicking all those links or if I’m doing this totaly the wrong way.

Any hints would be greatly appreciated, thanks again for your time.

Here is a raw html source of one test newsletter I’m using (ctrl+f ‘pk_campaign’).

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Newsletter Carrière sur Seine</title>
  
  <!--[if !mso]>
  <!-- -->

  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!--<![endif]-->
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
    <style type="text/css">
	  #outlook a { padding:0; }
	  .ReadMsgBody { width:100%; }
	  .ExternalClass { width:100%; }
	  .ExternalClass * { line-height:100%; }
	  body { margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%; }
	 .tr_element_agenda{height:210px!important}
	 p{margin-left:2%;margin-right:2%}
	 .tr_text_agenda{height:160px!important}
	 .tr_vignette_agenda{height:0px!important}
	 .tr_titre_agenda{height:50px!important}
	 .table_elem_chplibre{padding-bottom:50px!important}
	 .p_chplibre{padding-top:0px!important;text-align:left;}
	 .td_chplibre{padding:0px!important;text-align:left;}
	 .td_vignette_agenda{padding:0px!important}
	 .champlibre{min-height:160px;}
	 .logo{width:auto!important;}




	@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');

	body{
	  font-family: 'Open Sans', sans-serif;
	  font-size: 14px;
	  font-weight: 400;
	  width: 100%; margin:0; padding:0; -webkit-font-smoothing: antialiased;
	}


	h1{
	  font-size:  25px;
	  font-weight: 600;
	  margin: 0;
	  
	  color: #ffffff;
	  
	}

	a{
	  text-decoration: none;
	  color: #000;
	}

	.actu{min-height:250px;}

	@media only screen and (max-width: 600px){
	  body,table,td,p,a,li,blockquote{
		-webkit-text-size-adjust:none !important;
	  }
	  .deviceWidth{
		width: 100%!important;
	  }
	  .img-responsive{
		width: 100%!important;
		height:auto!important;
		max-width:320px;
	  }
	}

	@media only screen and (max-width: 600px){
	  body{
		width:100% !important;
		min-width:100% !important;
	  }
	  .img-responsive{
		width: 100%!important;
		height:auto!important;
		max-width:320px;
	  }
	}


	 @media only screen and (max-width: 480px){
        body,table,td,p,a,li,blockquote{
            -webkit-text-size-adjust:none !important;
        }
        .deviceWidth{
            width: 100%!important;
            padding: 0 2%;
        }
        .deviceWidth.zone_2{
            width: 100%!important;
        }




    }




	@media only screen and (max-width: 680px)  {
					body[yahoo] .deviceWidth {width:440px!important; padding:0 10px;}
					body[yahoo] .img-responsive {max-width:440px!important; padding:0;height: auto;}
					body[yahoo] .center {text-align: center!important;}
					img[class="img-responsive"] {width: 100% !important;max-width: 500px;height: auto;padding:10px;}
					img {width: 100% !important;height: auto;}

					img[class="txt-libre"] {width: auto !important;height: auto;}
					img[class="logomydomain"] {width:17px!important;height: 17px!important;}
					.logomydomain{width:17px!important;height: 17px!important;}
					tr[class="tr_placeholder_agenda"]{display:none;height:0px!important;}
					.tr_placeholder_agenda{display:none;height:0px!important;}
					.champlibre{min-height:80px;height:auto;}
			}

	@media only screen and (max-width: 479px) {
					body[yahoo] .deviceWidth {width:310px!important; padding:0 10px;}
					body[yahoo] .img-responsive {max-width:310px!important; padding:0;height: auto;}
					body[yahoo] .center {text-align: center!important;}
					img[class="img-responsive"] {width: 100% !important;max-width: 680px;height: auto;}
					img[class="logomydomain"] {width:17px!important;height: 17px!important;}
					.logomydomain{width:17px!important;height: 17px!important;}
					tr[class="tr_placeholder_agenda"]{display:none;height:0px!important;}
					.tr_placeholder_agenda{display:none;height:0px!important;}
					.actu{min-height:80px;height:auto;}
					.champlibre{min-height:80px;height:auto;}
					img[class="txt-libre"] {width: auto !important;height: auto;}

			}

	
	
	</style>
  <!--[if mso]>
  <xml>
  <o:OfficeDocumentSettings>
  <o:AllowPNG/>
  <o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<!--[if !mso]><!-->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700" rel="stylesheet" type="text/css">
<!--<![endif]-->
</head>
<!-- Matomo Image Tracker-->
<img src="https://matomo.mydomain.net/piwik.php?idsite=5&amp;rec=1&bots=1&action_name=Newsletter%20ouverte&_rcn=13&_rck=ouverture%20newsletter&uid=4" style="border:0" alt="" />
<!-- End Matomo -->
<body>
  <!-- Wrapper -->
  <center>
    <table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" class="deviceWidth templateContainer">
      <tr>
        <td width="100%" align="center" valign="top" >
          <!-- Start Header-->
          <table border="0" cellpadding="10" cellspacing="0" width="640" bgcolor="#ffffff" class="deviceWidth">
            <tr>
                    <td class="top_mentions" align="center" style="font-size: 9px; color: #808080; padding:10px 20px">
                      Si vous ne parvenez pas à lire cet e-mail, <strong><a style="color: #000000" target="_blank" href="https://mydomain.org/mydomain/carrieres/upload/newsletters/rd/newsletter_78124_1528382667.html">cliquez-ici</a></strong>
                    </td>
            </tr>
          </table><!-- End Header -->
          <table width="640"  class="deviceWidth" border="0" cellpadding="10" cellspacing="0" align="center" bgcolor="#ffffff">
            <td class="nl_titre" valign="center" align="right" style="color:#000;">
              <strong>Newsletter Carrière sur Seine</strong>
            </td>
          </table>
                    <!-- Start Logo -->
<table width="640" class="" border="0" cellpadding="10" cellspacing="0" align="center" bgcolor="#ffffff">
    <tr>
        <td valign="center" bgcolor="#ffffff">
            <table width="100%"  height="100" border="0" cellpadding="0" cellspacing="0" align="right">
                <tr>
                    <td align="center">
                        <a style="color:#000;" href="https://mydomain.org/mydomain/carrieres/" target="_blank">
                            <img  src="https://mydomain.org/mydomain/carrieres/upload/newsletters/styles/620_236/image/Logo/logo_carrieres-sur-seine.png" alt="" border="0" align="center" class="img-responsive" />
                        </a>
                    </td>
                </tr>
            </table>

        </td>
    </tr>
</table> <!-- End Logo -->                              <!-- Début Texte libre -->
     <table border="0" cellpadding="0" cellspacing="0" width="640" class="deviceWidth" bgcolor="#377eb9">
        <tr >
           <td style="padding: 10px 0 10px 10px"><h1 style="font-family:'Open Sans',sans-serif;font-size:25px;font-weight:600;margin:0;color:#ffffff;">Edito de Carrière sur Seine</h1></td>
        </tr>
     </table>
     <table width="640"  class="deviceWidth" border="0" cellpadding="10" cellspacing="0"  bgcolor="#ffffff">
        <tr>
           <td valign="top" style="color:#000;">
              <p style="font-size:14px;color:#000;"><p>Le <strong>Lorem Ipsum</strong> est simplement du faux texte employ&eacute; dans la composition et la mise en page avant impression. Le Lorem Ipsum est le faux texte standard de l&#39;imprimerie depuis les ann&eacute;es 1500, quand un peintre anonyme assembla ensemble des morceaux de texte pour r&eacute;aliser un livre sp&eacute;cimen de polices de texte. Il n&#39;a pas fait que survivre cinq si&egrave;cles, mais s&#39;est aussi adapt&eacute; &agrave; la bureautique informatique, sans que son contenu n&#39;en soit modifi&eacute;. Il a &eacute;t&eacute; popularis&eacute; dans les ann&eacute;es 1960 gr&acirc;ce &agrave; la vente de feuilles Letraset contenant des passages du Lorem Ipsum, et, plus r&eacute;cemment, par son inclusion dans des applications de mise en page de texte, comme Aldus PageMaker.</p>

<p>Le <strong>Lorem Ipsum</strong> est simplement du faux texte employ&eacute; dans la composition et la mise en page avant impression. Le Lorem Ipsum est le faux texte standard de l&#39;imprimerie depuis les ann&eacute;es 1500, quand un peintre anonyme assembla ensemble des morceaux de texte pour r&eacute;aliser un livre sp&eacute;cimen de polices de texte. Il n&#39;a pas fait que survivre cinq si&egrave;cles, mais s&#39;est aussi adapt&eacute; &agrave; la bureautique informatique, sans que son contenu n&#39;en soit modifi&eacute;. Il a &eacute;t&eacute; popularis&eacute; dans les ann&eacute;es 1960 gr&acirc;ce &agrave; la vente de feuilles Letraset contenant des passages du Lorem Ipsum, et, plus r&eacute;cemment, par son inclusion dans des applications de mise en page de texte, comme Aldus PageMaker.</p>
</p>
           </td>
        </tr>
     </table>
     <!-- Fin Texte libre -->                    <table class="deviceWidth templateContainer" align="center"  cellpadding="15" width="640" border="0" bgcolor="#ffffff">
            <tr>
              <td ></td>
            </tr>
          </table><!-- spacer -->
                    <!-- Début A la une -->
     <table border="0" cellpadding="0" cellspacing="0" width="640" class="deviceWidth" bgcolor="#377eb9">
        <tr >
           <td style="padding: 10px 0 10px 10px"><h1 style="font-family:'Open Sans',sans-serif;font-size:25px;font-weight:600;margin:0;color:#ffffff;">A la une cette Semaine</h1></td>
        </tr>
     </table>
     <table width="640"  class="deviceWidth" border="0" cellpadding="10" cellspacing="0"  bgcolor="#ffffff">
        <tr>
           <td>
                       </td>
        </tr>
        <tr>
           <td valign="top">
               <a style="color:#000;text-decoration:none;" class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Budget?idpage=69&idmetacontenu=574&pk_campaign=13&pk_keyword=574&pk_source=Newsletter&pk_content=4">
               <h2 style="color:#000;">Emprunts toxiques : une décision de justice</h2>
               </a>
               <p style="font-size:14px;color:#000;">Le dernier Carri&egrave;res Magazine avait fait le point sur le dossier des emprunts toxiques, et &eacute;voqu&eacute; l&rsquo;action engag&eacute;e afin d&rsquo;&eacute;radiquer les pr&ecirc;ts concern&eacute;s, trouv&eacute;s en h&eacute;ritage dans les finances communales. Une d&eacute;cision de justice vient d&rsquo;&ecirc;tre rendue dans cette affaire&hellip; Et elle m&eacute;rite appel.</p>
           </td>
        </tr>
     </table>
     <!-- Fin A la une -->          <table class="deviceWidth" align="center"  cellpadding="15" width="640" border="0" bgcolor="#ffffff">
            <tr>
              <td ></td>
            </tr>
          </table><!-- spacer -->
                    <!-- Début Actualités -->
                    <table border="0" cellpadding="0" cellspacing="0" width="640" class="deviceWidth templateContainer" bgcolor="#377eb9">
            <tr >
              <td style="padding: 10px 0 10px 10px"><h1 style="font-family:'Open Sans',sans-serif;font-size:25px;font-weight:600;margin:0;color:#ffffff;">Les actualités de la semaine</h1></td>
            </tr>
          </table>
            <table class="deviceWidth" cellpadding="0" cellspacing="0" width="640" align="center" border="0" bgcolor="#ffffff">
              <tbody>
                <tr>
                  <td style="text-align:center;vertical-align:top;direction:ltr;">
                    







          <!--FOREACH-->

    <table align="left" valign="middle" width="300" cellpadding="0" cellspacing="0" class="deviceWidth actu" style="margin: 10px 5px; color:#000;">
      <tbody>
        <tr class="tr_titre_agenda" style="height:70px;">
          <td style="text-align:left;">
            <div>
              <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Actualit%26eacute%3Bs?idpage=244&idmetacontenu=4151&pk_campaign=13&pk_keyword=4151&pk_source=Newsletter&pk_content=4"><span style="font-size: 18px; font-weight: bold">Incendie résidence Les Écrivains</span></a>
            </div>
          </td>
        </tr>
                <tr>
          <td valign="top" style="padding: 10px;text-align-left;" height="100px;">				
                 <div style="text-align:left;color:#000;">Dans la nuit du 14 au 15 janvier 2018, un incendie s'est d&eacute;clar&eacute; dans la r&eacute;sidence Les &Eacute;crivains, rue Jean Anouilh.<!--[if !mso]> &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp; <![endif]--></div>            
          </td>
        </tr>
              </tbody>
    </table>
  




          <!--FOREACH-->

    <table align="left" valign="middle" width="300" cellpadding="0" cellspacing="0" class="deviceWidth actu" style="margin: 10px 5px; color:#000;">
      <tbody>
        <tr class="tr_titre_agenda" style="height:70px;">
          <td style="text-align:left;">
            <div>
              <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Vos+%26eacute%3Blus?idpage=19&idmetacontenu=582&pk_campaign=13&pk_keyword=582&pk_source=Newsletter&pk_content=4"><span style="font-size: 18px; font-weight: bold">LES CONSEILLERS MUNICIPAUX</span></a>
            </div>
          </td>
        </tr>
                <tr>
          <td valign="top" style="padding: 10px;text-align-left;" height="100px;">				
                 <div style="text-align:left;color:#000;">Fran&ccedil;oise GAULTIER  Charg&eacute;e de mission &agrave; la conservation du patrimoine Elisabeth DUMONT B&eacute;rang&Atilde;?re BERTON  Christophe BIGRE Catherine SANCHES MATEUS...</div>            
          </td>
        </tr>
        																																					
				
						
							<tr class="tr_placeholder_agenda col2  prec0 suiv placetrue" style="height:130px;">
					<td>&nbsp;&nbsp;</td>
				</tr>
			              </tbody>
    </table>
  




          <!--FOREACH-->

    <table align="left" valign="middle" width="300" cellpadding="0" cellspacing="0" class="deviceWidth actu" style="margin: 10px 5px; color:#000;">
      <tbody>
        <tr class="tr_titre_agenda" style="height:70px;">
          <td style="text-align:left;">
            <div>
              <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Vos+%26eacute%3Blus?idpage=19&idmetacontenu=585&pk_campaign=13&pk_keyword=585&pk_source=Newsletter&pk_content=4"><span style="font-size: 18px; font-weight: bold">LISTE TOUS ENSEMBLE POUR CARRIÈRES </span></a>
            </div>
          </td>
        </tr>
                <tr>
          <td valign="top" style="padding: 10px;text-align-left;" height="100px;">				
                 <div style="text-align:left;color:#000;">Bertrand RABANY Rougui NDIAYE Didier PERRIERE  <!--[if !mso]> &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp; <![endif]--></div>            
          </td>
        </tr>
        																																					
						
							<tr class="tr_placeholder_agenda col1  prec suiv3 placetrue" style="height:130px;">
					<td>&nbsp;&nbsp;</td>
				</tr>
			              </tbody>
    </table>
  




          <!--FOREACH-->

    <table align="left" valign="middle" width="300" cellpadding="0" cellspacing="0" class="deviceWidth actu" style="margin: 10px 5px; color:#000;">
      <tbody>
        <tr class="tr_titre_agenda" style="height:70px;">
          <td style="text-align:left;">
            <div>
              <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Actualit%26eacute%3Bs?idpage=244&idmetacontenu=453&pk_campaign=13&pk_keyword=453&pk_source=Newsletter&pk_content=4"><span style="font-size: 18px; font-weight: bold">Calendrier des collectes 2018</span></a>
            </div>
          </td>
        </tr>
                <tr>
          <td valign="top" style="padding: 10px;text-align-left;" height="100px;">				
                 <div style="text-align:left;color:#000;">T&eacute;l&eacute;chargez en ligne votre calendrier et secteurs des collectes 2018.<!--[if !mso]> &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp; <![endif]--></div>            
          </td>
        </tr>
              </tbody>
    </table>
                    </td>
                </tr>
              </tbody>
            </table>
      <table width="640"  class="deviceWidth templateContainer" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#ffffff">
        <tr align="middle">
          <td style="background: #f3f3f3; display:inline-block; padding:10px;">
            <a href="https://mydomain.org/mydomain/carrieres/index.php/Actualites?idpage=244" target="_blank"><span style="color:#000;font-weight: bold;font-family: 'Open Sans', sans-serif;text-decoration:none;">TOUTES LES ACTUALITÉS</span></a>
          </td>
        </tr>
      </table>
  <!-- Fin Actualités -->
  <table class="deviceWidth" align="center"  cellpadding="15" width="640" border="0" bgcolor="#ffffff">
    <tr>
      <td ></td>
    </tr>
  </table><!-- spacer -->
    <!-- Début Agenda -->
    <table width="640" border="0" cellpadding="0" cellspacing="0" class="deviceWidth templateContainer" bgcolor="#377eb9">
    <tr >
      <td style="padding: 10px 0 10px 10px"><h1 style="font-family:'Open Sans',sans-serif;font-size:25px;font-weight:600;margin:0;color:#ffffff;">L'agenda</h1></td>
    </tr>
  </table>

    <table width="640"  class="deviceWidth" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#ffffff">
      <tbody>
        <tr>
          <td style="text-align:center;vertical-align:top;direction:ltr;">
            
<!-- agenda -->


 
 <!-- fin agenda -->          </td>
        </tr>
      </tbody>
    </table>

  <table width="640"  class="deviceWidth templateContainer" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#ffffff">
    <tr align="middle" height="40">
      <td style="background: #f3f3f3;display:inline-block;padding:10px;margin-top:2%;">
        <a href="https://mydomain.org/mydomain/carrieres/index.php/Agenda?idpage=258" target="_blank"><span style="color:#000;font-weight: bold;font-family: 'Open Sans', sans-serif;text-decoration:none;">TOUS LES ÉVÉNEMENTS</span></a>
      </td>
    </tr>
  </table>
  <!-- Fin Agenda -->

  <table class="deviceWidth" align="center"  cellpadding="15" width="640" border="0" bgcolor="#ffffff">
    <tr>
      <td ></td>
    </tr>
  </table><!-- spacer <--></-->
    <!-- Début Articles aux choix -->
    <table border="0" cellpadding="0" cellspacing="0" width="640" class="deviceWidth" bgcolor="#377eb9">
    <tr >
      <td style="padding: 10px 0 10px 10px"><h1 style="font-family:'Open Sans',sans-serif;font-size:25px;font-weight:600;margin:0;color:#ffffff;">Mon choix #1</h1></td>
    </tr>
  </table>
    <table class="deviceWidth" role="presentation" cellpadding="0" cellspacing="0" width="640" align="center" border="0" bgcolor="#ffffff">
      <tbody>
        <tr>
          <td style="text-align:center;vertical-align:top;direction:ltr;padding:20px 0">
        <!-- champ libre 1-->








<!--FOREACH-->
  <table align="left" valign="middle" width="600" cellpadding="0" cellspacing="0" class="deviceWidth champlibre" style="margin: 10px 5px; color:#000;">
    
    
      
      <tbody>
        <tr>
          <td valign="top" class="td_chplibre" height="25px;">
            <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Plan+de+la+ville?idpage=238&idmetacontenu=348348&pk_campaign=13&pk_keyword=348&pk_source=Newsletter&pk_content=4">
            <span style="font-size: 18px; font-weight: bold; ">Centre de Secours Chatou/Carrières-sur-Seine</span>
            </a>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p class="p_chplibre" style="padding-top: 15px; font-size:14px;color:#000;"></p>
          </td>
        </tr>
      </tbody>
    </table>

          </td>
        </tr>
      </tbody>
    </table>
  <!-- Fin Articles aux choix -->

  <table class="deviceWidth" align="center"  cellpadding="15" width="640" border="0" bgcolor="#ffffff">
    <tr>
      <td ></td>
    </tr>
  </table><!-- spacer -->
    <!-- Début Articles aux choix -->
    <table border="0" cellpadding="0" cellspacing="0" width="640" class="deviceWidth" bgcolor="#377eb9">
    <tr >
      <td style="padding: 10px 0 10px 10px"><h1 style="font-family:'Open Sans',sans-serif;font-size:25px;font-weight:600;margin:0;color:#ffffff;">Mon choix #2</h1></td>
    </tr>
  </table>

    <table class="deviceWidth" role="presentation" cellpadding="0" cellspacing="0" width="640" align="center" border="0" bgcolor="#ffffff">
      <tbody>
        <tr>
          <td style="text-align:center;vertical-align:top;direction:ltr;">
            <!-- champ libre 1-->








<!--FOREACH-->
  <table align="left" valign="middle" width="600" cellpadding="0" cellspacing="0" class="deviceWidth champlibre" style="margin: 10px 5px; color:#000;">
    
    
      
      <tbody>
        <tr>
          <td valign="top" class="td_chplibre" height="25px;">
            <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Annuaire+des+entreprises?idpage=190&idmetacontenu=34543454&pk_campaign=13&pk_keyword=3454&pk_source=Newsletter&pk_content=4">
            <span style="font-size: 18px; font-weight: bold; ">BNP PARIBAS</span>
            </a>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p class="p_chplibre" style="padding-top: 15px; font-size:14px;color:#000;"></p>
          </td>
        </tr>
      </tbody>
    </table>







<!--FOREACH-->
    <table align="left" valign="middle" width="300" cellpadding="0" cellspacing="0" class="deviceWidth champlibre" style="margin: 10px 5px;  color:#000;">
      
      <tbody>
        <tr height="155px" >
                    <td valign="top" style="width:600px;">
            <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Intercommunalit%26eacute%3B%09%09%09+%09%09%09?idpage=13&idmetacontenu=11&pk_campaign=13&pk_keyword=1&pk_source=Newsletter&pk_content=4">
            <img src="https://mydomain.org/mydomain/carrieres/upload/newsletters/styles/300_155/image/VOTREVILLE/intercommunalite/carte_casgbs_vign.jpg" style="border:none;border-radius:0;display:block;font-size:13px;outline:0;text-decoration:none;width:100%;height:auto">
            </a>
          </td>
                  </tr>
      </tbody>
    </table>
	<table align="left" valign="middle" width="300" cellpadding="0" cellspacing="0" class="deviceWidth champlibre" style="margin: 10px 5px; color:#000;">
    
    
      
      <tbody>
        <tr>
          <td valign="top" class="td_chplibre" height="25px;">
            <a class="link" target="_blank" href="https://mydomain.org/mydomain/carrieres//index.php/Intercommunalit%26eacute%3B%09%09%09+%09%09%09?idpage=13&idmetacontenu=11&pk_campaign=13&pk_keyword=1&pk_source=Newsletter&pk_content=4">
            <span style="font-size: 18px; font-weight: bold; ">Saint Germain Boucles de Seine</span>
            </a>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <p class="p_chplibre" style="padding-top: 15px; font-size:14px;color:#000;">1er janvier 2016 : naissance de la CASGBS Le 1 er janvier 2016, dans le cadre du SRCI (Sch&eacute;ma R&eacute;gional de Coop&eacute;ration Intercommunale), la Ville de Carri&egrave;res-sur-Seine a...</p>
          </td>
        </tr>
      </tbody>
    </table>

          </td>
        </tr>
      </tbody>
    </table>
  <!-- Fin Articles aux choix -->
  <table class="deviceWidth" align="center"  cellpadding="15" width="640" border="0" bgcolor="#ffffff">
    <tr>
      <td ></td>
    </tr>
  </table><!-- spacer -->
      <!-- Début Texte libre -->
     <table border="0" cellpadding="0" cellspacing="0" width="640" class="deviceWidth" bgcolor="#377eb9">
        <tr >
           <td style="padding: 10px 0 10px 10px"><h1 style="font-family:'Open Sans',sans-serif;font-size:25px;font-weight:600;margin:0;color:#ffffff;">Pour conclure</h1></td>
        </tr>
     </table>
     <table width="640"  class="deviceWidth" border="0" cellpadding="10" cellspacing="0"  bgcolor="#ffffff">
        <tr>
           <td valign="top" style="color:#000;">
			              <p style="font-size:14px;"><p>Le <strong>Lorem Ipsum</strong> est simplement du faux texte employ&eacute; dans la composition et la mise en page avant impression. Le Lorem Ipsum est le faux texte standard de l&#39;imprimerie depuis les ann&eacute;es 1500, quand un peintre anonyme assembla ensemble des morceaux de texte pour r&eacute;aliser un livre sp&eacute;cimen de polices de texte. Il n&#39;a pas fait que survivre cinq si&egrave;cles, mais s&#39;est aussi adapt&eacute; &agrave; la bureautique informatique, sans que son contenu n&#39;en soit modifi&eacute;. Il a &eacute;t&eacute; popularis&eacute; dans les ann&eacute;es 1960 gr&acirc;ce &agrave; la vente de feuilles Letraset contenant des passages du Lorem Ipsum, et, plus r&eacute;cemment, par son inclusion dans des applications de mise en page de texte, comme Aldus PageMaker.</p>

<p>Le <strong>Lorem Ipsum</strong> est simplement du faux texte employ&eacute; dans la composition et la mise en page avant impression. Le Lorem Ipsum est le faux texte standard de l&#39;imprimerie depuis les ann&eacute;es 1500, quand un peintre anonyme assembla ensemble des morceaux de texte pour r&eacute;aliser un livre sp&eacute;cimen de polices de texte. Il n&#39;a pas fait que survivre cinq si&egrave;cles, mais s&#39;est aussi adapt&eacute; &agrave; la bureautique informatique, sans que son contenu n&#39;en soit modifi&eacute;. Il a &eacute;t&eacute; popularis&eacute; dans les ann&eacute;es 1960 gr&acirc;ce &agrave; la vente de feuilles Letraset contenant des passages du Lorem Ipsum, et, plus r&eacute;cemment, par son inclusion dans des applications de mise en page de texte, comme Aldus PageMaker.</p>

<p>Le <strong>Lorem Ipsum</strong> est simplement du faux texte employ&eacute; dans la composition et la mise en page avant impression. Le Lorem Ipsum est le faux texte standard de l&#39;imprimerie depuis les ann&eacute;es 1500, quand un peintre anonyme assembla ensemble des morceaux de texte pour r&eacute;aliser un livre sp&eacute;cimen de polices de texte. Il n&#39;a pas fait que survivre cinq si&egrave;cles, mais s&#39;est aussi adapt&eacute; &agrave; la bureautique informatique, sans que son contenu n&#39;en soit modifi&eacute;. Il a &eacute;t&eacute; popularis&eacute; dans les ann&eacute;es 1960 gr&acirc;ce &agrave; la vente de feuilles Letraset contenant des passages du Lorem Ipsum, et, plus r&eacute;cemment, par son inclusion dans des applications de mise en page de texte, comme Aldus PageMaker.</p>
</p>
           </td>
        </tr>
     </table>
     <!-- Fin Texte libre -->  <table class="deviceWidth" align="center"  cellpadding="15" width="640" border="0" bgcolor="#ffffff">
    <tr>
      <td ></td>
    </tr>
  </table><!-- spacer -->
    <!-- Début footer -->
<table width="640"  class="deviceWidth" border="0" cellpadding="10" cellspacing="0" align="center" bgcolor="#ffffff">
     <tr>
          <td>
               <table width="620"  class="deviceWidth" border="0" cellpadding="10" cellspacing="0" align="center" bgcolor="#f3f3f3">
                    <tr >
                         <td>
                              <span>
                                   <a href="https://mydomain.org/mydomain/carrieres/" style="color:#000;" target="_blank"><img class="logo" src="https://mydomain.org/mydomain/carrieres/upload/newsletters/styles/70_50/image/Logo/carrieres_logo.png" /></a>
                              </span>
                         </td>
                                             </tr>
               </table>
          </td>
target="_blank">Se désabonner</a>
               </p>

          </td>
     </tr>
</table>



<!-- Fin footer --></td>
</tr>
</table>
</center>
</body>
</html>

Nothing code related I suppose. When Archiving the stats, Matomo has a certain timeout to process the next data. You can set this at Settings -> General -> Archive reports at most every X seconds.
For this kind of tests, you should use the visitor log which always operates on live data.

Thanks Peter, I understood the Archive post mechanic and tested tweaking it but this timeout is only the time in which Matomo keep a report “alive” before archiving it right ?. I’ve been investigating some more and I can now be more explicit about my problem.

I’ve been building user specific links using one campaign keyword by article so if my newsletter had 10 articles I had 10 corresponding keywords.

After testing with other people and setups here are my conclusions :

  • On one setup (browser + ip adress + … ) after I click a link a visit will be log for this keyword but I won’t be able to log a second one with the same setup, If I click another link with another keyword it isn’t log (I don’t know if it’s time dependant but I feel like I have to wait 30min-4hours to log another one)

  • If I click on link with “A” keyword and I tell a friend to click on a link with “B” keyword both are logged fine, but none of us can log another visit on another one after this.

So what I undestand is that I shouldn’t be using Campaign to do what I intend to do ? (Is that what you said to me with visitor log ?)
Maybe I shouldn’t use pk_keyword as a variable for my content ID but pk_content instead ?

Thanks again ! :slight_smile:

I had no more sucess with “Archive reports at most every X seconds” set to 10 seconds and with a single pk_keyword for all my links using only pk_content as a variable.

How could I get those links clicked in short interval from those emails logged correctly ?

I’m investigating to see if I can get the data with this kind of api call:
https://matomo.mydomain.net/?module=API&method=Live.getLastVisitsDetails&idSite=5&period=range&date=2018-06-08,2018-06-08&format=JSON&segment=campaignName==13&token_auth=XXXXXXXXXXXXXXXXXXXX

No - the timeout is the (maximum) interval it can take, until new tracked data is available in the reports (apart from the visitor log which is always live). The archiving processes Raw data to reporting data. Raw data is not yet visible in most reports, just processed reporting data is.

What you are experiencing is a central concept of campaigns. If a user first visited the page via a campaign link, this campaign is attributing this visit. If this user visits the page again (within 30 minutes (visit timeout)), the new campaign does not overwrite the old attribution. Only if the user is inactive for 30 minutes and then visits again via another campaign link, the visit is attributed to this (new) campaign. If you want to create a new visit with new campaign attribution whenever the user visits the page via another campaign, set the config parameter “create_new_visit_when_campaign_changes” to “1”.

Thanks a lot ! It’s not working yet and our “create_new_visit_when_campaign_changes” is already set to “1” but this give us new clues, I gonna experiment with matomo cookies and try to see if I can reduce the visit timeout :slight_smile:

You shouldn’t if you don’t have a real special usecase overall. This affects global tracking and reporting of the software. The concept of campaigns generally makes sense (not in 100% of cases of course), but you shouldn’t have to mess around with the core metrics. Consider using another dimension (e.g. customDimensions) before changing the internals.

Thanks for all those infos ! Custom Dimensions indeed seems the way to go for us.

Just so you know “create_new_visit_when_campaign_changes” doesn’t seem to works, it’s set to one but It doesn’t create new visits when my pk_keyword or pk_content changes (maybe it’s only when pk_campaign changes).

I found people having the same problem :

But it doesn’t matter Custom Dimension seems to be the perfect way to do the job, big thanks ! :slight_smile:

UPDATE

Indeed create_new_visit_when_campaign_changes only react to pk_campaign changes

Sounds reasonable!

Yes, that’s strange - this seems to be a bug and is reproducible on my instance.

It is working sorry ! As the name suggest “create_new_visit_when_campaign_changes” only react to changes for &pk_campaign, I’ve tested it and it works fine, I first thought it would also create new visit when &pk_keyword or &pk_content changes but it doesn’t but this may be normal and working as intended.

So I guess a “create_new_visit_when_campaign_keyword_changes” would be a sweet addition for use cases like ours :slight_smile: