Piwik ist not recording any data

Dear Community and administrators,

Unfortunately I have not found a solution to my problem here in the forum. So I’ve written a new topic. My problem is this:

I’m using for my site Joomla 1.7 and the Piwik analysis tool. I’ve been embedded the tracking code in 4 different ways:

  1. and 2. In the Template.php , then .
  2. In the footer module
  3. In the corresponding field of the form templates that I am using (yoo_quantum).
    The tracking code will appear in all four versions in the source code. Just no data is collected. Do you have any idea why this

might be?

Thanks in advance…:slight_smile:

See all possible reasons and help in the FAQ: Troubleshooting - Analytics Platform - Matomo

I’ve done thoroughly and completed all items before I have written here (I thought so). Nevertheless, I went through the FAQ again.
Here I noticed that the table = piwik_log_visit "in the database is empty. With Webalizer I get gain access to the statistics of my website.
Then I continued to research and read, that some servers are using mod_security enabled.
I inserted the corresponding code string in the tracking code and now PIWIK works fine.

Thanks for the response, which has led me to read again the FAQ.

PROBLEM SOLVED!!!:slight_smile:

End of transmission:)-D

[quote=alarian]
I’ve done thoroughly and completed all items before I have written here (I thought so). Nevertheless, I went through the FAQ again.
Here I noticed that the table = piwik_log_visit "in the database is empty. With Webalizer I get gain access to the statistics of my website.
Then I continued to research and read, that some servers are using mod_security enabled.
I inserted the corresponding code string in the tracking code and now PIWIK works fine.

Thanks for the response, which has led me to read again the FAQ.

PROBLEM SOLVED!!!:slight_smile:

End of transmission:)-D[/quote]

I have joomla 1.5 and i have the issue you had. Can you explain me this part: “I inserted the corresponding code”? What code? Can you give me an example?

In the eight line you can see the additional code string (marked bold) I’ve inserted into the tracking code:


<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.my-website.org/piwik/" : "http://www.my-website.org/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
[b]piwikTracker.setRequestMethod('POST');[/b]
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://www.my-website.org/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->

Maybe the other lines are also important, that’s why I wrote the hole code.

that’s all :wink:

P.S. Please let me know (and thus the Forum), if this is the solution of your problem. thx

Hi Alarian,

I have joomla 2.5.6 with the latest piwik. I’ve installed piwik without any problem on the server which database is on localhost.

I can access piwik but i can see that it’s not recording any data.

Threw the joomla plugin i changed the code according to what you wrote but still getting no data.

Any idea ?

Thanks
Peter

Hi Peter,

yes, I have many ideas ;). First of all: can you see the trackin code when you are looking into the source code of your website? (right click in the browser an then view source code). If you don’t find the tracking code, piwik cannot collect data.

Fell free to tell me your result.

Nevertheless, read the FAQ carefully, that solved my issue.

greets
alarian

Thanks for the help Alarian!

I checked the FAQ and i realized i tested only one browser (firefox) in which i have LOTS of extras and plugins installed. Tested with IE and Chrome and the stats are there so it was some firefox extra/plugin to block it!

Regards,
Peter