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

Posted by cypherinfo 

Advanced
August 03, 2010 10:23AM
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.
August 05, 2010 04:23AM


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.

August 10, 2010 04:40PM
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.

hello,

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

Thank you.


cypherinfo
September 01, 2010 03:36PM
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.
dikoro [ # ]
January 31, 2011 12:09PM
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.


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 </body> 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.
satish.lx [ # ]
May 29, 2012 03:43PM
Please explain how???
satish.lx [ # ]
May 29, 2012 04:03PM
Hey i have give it a try and it works!! just EDIT HTML and add code inside <head></head> and it works for me..
Sorry, only registered users may post in this forum.

Click here to login

Free Forum support is provided by the Piwik Community. If you require any urgent or professional help, contact Piwik Professional Services team!