@MagicFab opened this issue on July 29th 2015

It would be useful to add information on where a report originated from (full URL / main URL / other) when reports are sent by email, possibly also in PDF properties.

This would help know the origin of reports for troubleshooting and management purposes.

@mattab commented on August 14th 2015

:+1: to add link to Piwik in the email.

It should also be do-able to add the info as a PDF property

maybe some users will want to disable displaying the Piwik URL, but we can wait to see if anyone requests this.

@tsteur commented on August 19th 2015

If I see correct current text is

Hello,
Please find in attached file your weekly report for $reportName.

So we'd add something like This report was sent from $piwikUrl. ?

@MagicFab commented on August 19th 2015

Yes, link to the root URL of the Piwik site generating the report (not to piwik.org!).

@tsteur commented on August 20th 2015

FYI: I tried to set custom properties/metadata in the generated PDF report for quite a while but didn't get it working. There is this method setExtraMP() to set custom metadata but I couldn't find a single example on what to set there: https://github.com/tcpdf-clone/tcpdf/blob/master/tcpdf.php#L9492 . It probably should be some kind of </df:RDF> elements... if it is important I can invest more time

@diosmosis commented on August 20th 2015

If adding as a PDF property, I think it would be better to add the URL to the PDF Producer element. Though this seems like it could be a security risk if the URL to Piwik is meant to be private? The file could be forwarded to someone who shouldn't know of the URL.

@mattab commented on August 20th 2015

Here is how it looks like:

The file could be forwarded to someone who shouldn't know of the URL.

that's good point, maybe we should be careful with hiding the piwik url within document.

@MagicFab i'll close issue as done for now, thx for suggestion

This issue was closed on August 20th 2015
Powered by GitHub Issue Mirror