Tracking number not working on attachments

  • 1
  • Problem
  • Updated 2 years ago
Hi,
I have a page that contains an attachement. I want to count the number of time the attachment has been displayed or downloaded.
In the page tah contains the attachment, the storage format is :

<p><ac:structured-macro ac:macro-id="03621ec6-3da4-44a3-884c-20719993058c" ac:name="toc" ac:schema-version="1" /></p>
<p>&nbsp;</p>
<h2>Pr&eacute;sentation du p&eacute;rim&egrave;tre GAZMAPS</h2>
<p><ac:structured-macro ac:macro-id="c7d5924c-f605-4d69-a47e-104308c87532" ac:name="view-file" ac:schema-version="1"><ac:parameter ac:name="name"><ri:attachment ri:filename="P&eacute;rim&egrave;tre Gazmaps.pptx" /></ac:parameter><ac:parameter ac:name="height">250</ac:parameter></ac:structured-macro></p><ac:structured-macro ac:macro-id="86bf9844-1bb1-4589-a232-f8fa519270f9" ac:name="info" ac:schema-version="1"><ac:rich-text-body>
<p>Cette page a &eacute;t&eacute; vue <ac:structured-macro ac:macro-id="9b02f8f8-6c1d-4b00-b3ac-f5f1ab62e5fd" ac:name="tracking-info" ac:schema-version="1"><ac:parameter ac:name="value">view count</ac:parameter></ac:structured-macro> fois.</p></ac:rich-text-body></ac:structured-macro>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

In the page that contains the table, the storage format is :

<ac:structured-macro ac:macro-id="41515d31-0acc-4af9-b9e3-eb3a738babdf" ac:name="tracking-table" ac:schema-version="1"><ac:parameter ac:name="spaces">Gazmaps</ac:parameter><ac:rich-text-body>
<p><ac:structured-macro ac:macro-id="9d5977f2-b8f4-4194-904c-e5297bb22697" ac:name="tracking-column" ac:schema-version="1"><ac:parameter ac:name="value">title</ac:parameter></ac:structured-macro></p>
<p><ac:structured-macro ac:macro-id="b0119e75-387e-427c-9482-282afd58509b" ac:name="tracking-column" ac:schema-version="1"><ac:parameter ac:name="value">view count</ac:parameter></ac:structured-macro></p>
<p><ac:structured-macro ac:macro-id="7e7b3665-8f90-4420-b816-793c7861d79c" ac:name="tracking-column" ac:schema-version="1"><ac:parameter ac:name="value">last view date</ac:parameter></ac:structured-macro></p>
<p><ac:structured-macro ac:macro-id="362a0df5-02d9-4dda-a4fd-cf65fb6fe3ec" ac:name="tracking-column" ac:schema-version="1"><ac:parameter ac:name="value">views per day</ac:parameter></ac:structured-macro></p></ac:rich-text-body></ac:structured-macro>

In the tracking-table macro, the counter for the page (Périmètre Gazmaps) is OK, but the counter for the attachment is still 0.



Thanks for your help

Stéphane
Photo of Stéphane Génin

Stéphane Génin

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Suresh Mathusuthanan

Suresh Mathusuthanan, Alum

  • 117 Posts
  • 9 Reply Likes
Hi Stephane,

I would like to reconfirm, from my understanding I can see that you want to track the number of times the attachments has been viewed and downloaded.

For your information, our Tracking plugin supports view count. You can track the number of times the attachments has been downloaded by configuring the tracking-info.

For example :
  • Set the Target as : page name^attachment.ext 
  • Set the Value to : view count


It would be great if you can provide me the following details :
  • version of your Confluence
  • version of your Tracking plugin 
  • a screenshot of affected page. 

Thanks.

Regards,
Suresh
(Edited)