mcmanone Posted April 21, 2011 Posted April 21, 2011 Hi need help trying to get stats to work on my web page it would be nice. Quote
Wizard Posted April 21, 2011 Posted April 21, 2011 That's a pretty unhelpful post. You haven't told us anything other than the fact that you need help with web stats. Why don't you go read the Support FAQ. Quote
jje Posted April 22, 2011 Posted April 22, 2011 You could install Piwik via Softaculous in your cPanel. Quote
mcmanone Posted April 22, 2011 Author Posted April 22, 2011 Hi tryed that but still not working is there no awstats working? Thanks. You could install Piwik via Softaculous in your cPanel. Quote
jje Posted April 22, 2011 Posted April 22, 2011 Awstats have been disabled as it causes high server load. Piwik should be your ideal solution. What problem are you getting? Have you... http://piwik.org/docs/javascript-tracking/ Quote
mcmanone Posted April 22, 2011 Author Posted April 22, 2011 Thanks will look at it. Awstats have been disabled as it causes high server load. Piwik should be your ideal solution. What problem are you getting? Have you... http://piwik.org/docs/javascript-tracking/ Quote
mcmanone Posted April 23, 2011 Author Posted April 23, 2011 Hi add the code but where I add it it's coming up on the page as the code is this not a hidden thing? I use front Page. Awstats have been disabled as it causes high server load. Piwik should be your ideal solution. What problem are you getting? Have you... http://piwik.org/docs/javascript-tracking/ Quote
Guest Geoff Posted April 23, 2011 Posted April 23, 2011 Don't quote other people when they haven't said anything. Also, you haven't posted any helpful information. Quote
mcmanone Posted April 23, 2011 Author Posted April 23, 2011 I have I added the java code and it's comes up in few view when you look at the page the code is <!-- Piwik --> <script type="text/javascript"> var pkBaseURL = (("https:" == document.location.protocol) ? "https://brandonautosales.com/piwik/" : "http://brandonautosales.com/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); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script><noscript><p><img src="http://brandonautosales.com/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript> <!-- End Piwik Tracking Code --> And shows up as that Thanks. Quote
Guest Geoff Posted April 23, 2011 Posted April 23, 2011 You need to add that code to your HTML pages. Quote
mcmanone Posted April 23, 2011 Author Posted April 23, 2011 Lol I am but it's coming on the page? as text. Quote
Guest Geoff Posted April 23, 2011 Posted April 23, 2011 I don't see that tracking code in http://brandonautosales.com/. You need to add the code before you can track clicks. Quote
jje Posted April 23, 2011 Posted April 23, 2011 Right click on the file you want to monitor in your cPanel (eg. index.html) and click on 'Code Edit'. Paste in the code after <body>. Don't use the WYSIWYG editor. Quote
mcmanone Posted April 23, 2011 Author Posted April 23, 2011 Ok will try that thanks:) Hi and did that but still have a bit of the code showing up on the page if you have time after too look at it and tell me what I am doing wrong that would be greet thanks. Quote
Guest Geoff Posted April 23, 2011 Posted April 23, 2011 It appears that you have posted the tracking code and that it is working. The problem is you forgot the first "<": !-- Piwik --> <script type="text/javascript"> var pkBaseURL = (("https:" == document.location.protocol) ? "https://brandonautosales.com/piwik/" : "http://brandonautosales.com/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); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script><noscript><p><img src="http://brandonautosales.com/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript> <!-- End Piwik Tracking Code --> Should be: <!-- Piwik --> <script type="text/javascript"> var pkBaseURL = (("https:" == document.location.protocol) ? "https://brandonautosales.com/piwik/" : "http://brandonautosales.com/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); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script><noscript><p><img src="http://brandonautosales.com/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript> <!-- End Piwik Tracking Code --> You also should copy the code to your other pages. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.