New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
piwik_campaign does not track my pdfs #5788
Comments
The piwik_campaign parameter will be read only on pages where the piwik tracker is available. On the PDF file piwik won’t be executed. http://your_piwik_url/piwik.php?campaign=EnterpriseCommunicationsEmail&redirect=http://your_file_url/Memo_092608_PamCampbell.pdf If that is something useful, please create a new ticket with as much details as possible. |
Tried the redirect URL: http://stats.hdsupply.net/piwik.php?campaign=EnterpriseCommunicationsEmail&redirect=http://polarpipe.ca/docs/flangefittingdata/weldingflangestopipe.pdf But got this error: Fatal error: Uncaught exception ‘Exception’ with message ‘The ’idsite’ in the request is invalid.’ in C:\xampp\htdocs\currentstats\core\LogStats\Visit.php:45 Stack trace: #0 C:\xampp\htdocs\currentstats\core\LogStats.php(208): Piwik_LogStats_Visit→__construct() #1 C:\xampp\htdocs\currentstats\core\LogStats.php(230): Piwik_LogStats→getNewVisitObject() #2 C:\xampp\htdocs\currentstats\piwik.php(46): Piwik_LogStats→main() #3 {main} thrown in C:\xampp\htdocs\currentstats\core\LogStats\Visit.php on line 45 I saw some post about problems that occur when the site with idsite = 1 has been deleted. So I installed a new instance of the Piwik current development trunk to make sure I have all the latest patches and such. I recreated my sites so I had three with idsite = 1 and 2 and 3. Still no luck. Any ideas? |
Sorry forgot to put the error in code block veiw. Here it is: ``` BTW here are the details: The piwik site is on a Windows 2003 / Apache Web Server and the website being tracked is running on Windows 2003 IIS server. Thanks, |
Anyone able to look into this? I know you core developers all have a life outside of piwik but I have a strong business need for this. I also know piwik is in beta. I’d hate to have to o with Google Analytics :( Besides the IT Security team over here does not want an externally hosted app to track our stuff. Let me know if I need to submit any additional information. Any help would be much appreciated. Thanks, |
Cant you use the download tracking? i’m sure thats what you need… |
from global.ini.php ; Example: ‘/piwik.php?idsite=1&download=http://piwik.org/piwik.zip&name=Piwik last version’ |
I tried the url ``` in the email. I didn’t get any errors and the PDF opened up in my browser but there was no listing in any of the piwik reports for the name ‘EmailCampaign’ Oh well. |
Ok, tried it, the Download is counted but the name is not used. |
Matt, I see in core/Tracker/Action.php (lines 153-154), the name is intentionally not used: ``` Should the code for downloads match that for outlinks? ``` Otherwise, it looks like we can close this ticket. |
Sorry, I should have previewed that comment — the formatting is off. |
Please see goal tracking plug-in (beta) released in Piwik 0.2.28. |
I’m trying to track links in an email newsletter so I thought I would make use of piwik_campaign.
This works fine and shows up in the Referers > Campaigns report as ‘Email’:
http://hdsintranet.hdsupply.net/?piwik_campaign=Email
This does not work:
http://hdsintranet.hdsupply.net/Marketing_CMS/Communications/UploadedFiles/Memo_092608_PamCampbell.pdf?piwik_campaign=EnterpriseCommunicationsEmail
Any ideas?
Thanks,
JJ
The text was updated successfully, but these errors were encountered: