Jump to content

Recommended Posts

Posted

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.

Guest Geoff
Posted

Don't quote other people when they haven't said anything.

 

Also, you haven't posted any helpful information.

Posted

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.

Guest Geoff
Posted

You need to add that code to your HTML pages.

Posted

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. ;)

Posted

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.

Guest Geoff
Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...