How To Add PIWIK To My www.cyphersnap.blogspot.com?


(cypherinfo) #1

Hello,

I’m a newbye and I own a blog on google; I like very much your PIWIK and I would like to add it in my www.cyphersnap.blogspot.com; how to embed it please?

thank you.

Cypherinfo.


#2

What i’ve done on a blogspot/blogger blog is that i went to the admin in the part where you can alter the look of the blog.
There’s a way to edit the blog HTML directly.
Going there, you can add the Piwik tracker code to the page.


(cypherinfo) #3

[quote=TulipVorlax @ Aug 5 2010, 02:23 AM]What i’ve done on a blogspot/blogger blog is that i went to the admin in the part where you can alter the look of the blog.
There’s a way to edit the blog HTML directly.
Going there, you can add the Piwik tracker code to the page.[/quote]

hello,

may you tell me, step by step, how to get the code to embed in blogspot please?

Thank you.

cypherinfo


(cypherinfo) #4

Hello,

this is the code I have added to my blog:

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.cyphersnap.blogspot.com" : "http://www.cyphersnap.blogspot.com");
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>
<!-- End Piwik Tag -->

The is site has been setup by me.

That code has been copied from the FAQ.

Thank you.

Cypherinfo.


#5

[quote=cypherinfo]
Hello,

this is the code I have added to my blog:

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.cyphersnap.blogspot.com" : "http://www.cyphersnap.blogspot.com");
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>
<!-- End Piwik Tag -->

The is site has been setup by me.

That code has been copied from the FAQ.

Thank you.

Cypherinfo.[/quote]

What he meant to ask was how to? Not showing your code!

I also have problem with adding code to blogspot. I did what they suggest which is go to EDIT HTML on the Design menu and then find the and before that just add the piwik code. However, that didi do it. And i think it is because it’s a java and java need to be converted first (like adsense code) to make it work by this method.

I will try to create a new HTML gadget on the sidebar and add the code again and see if this work.


#6

Please explain how???


#7

Hey i have give it a try and it works!! just EDIT HTML and add code inside and it works for me…