• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Installing Piwik on Rackspace Cloud Sites

By Abhishek Ghosh July 21, 2012 10:51 pm Updated on July 21, 2012

Installing Piwik on Rackspace Cloud Sites

Advertisement

Installing Piwik on Rackspace Cloud Sites is very easy and needs few steps. Piwik is an Open Source Server Installable Real Time Web Analytics Software. Piwik is less known Free Server Installable Real Time Web Analytics Software than commercial solutions. However, Piwik is most powerful among the Server Installable Real Time Web Analytics Software we tested, including paid Google Urchin which The Rackspace Cloud provided free of cost in managed configurations before Urchin died. Installing Piwik on Rackspace Cloud Sites is as easy as installing WordPress on Rackspace Cloud Sites.

Prerequisites for Installing Piwik on Rackspace Cloud Sites

 

Before you start Installing Piwik on Rackspace Cloud Sites, apart from a Rackspace Cloud Sites account, you will need the following tools, we have linked appropiately :

 

  • If you are using Windows OS, you can download WinSCP for accessing SFTP.
  • We are assuming that you are using WordPress for the later parts, however, this point will not matter for the actual steps needed for Installing Piwik on Rackspace Cloud Sites.
  • Google Chrome or Opera Browser will be better for Windows OS,  Google Chrome or Safari will be better for Mac OS X. We do not recommend Firefox anymore, its unnecessarily heavier for our purpose.
  • Download the latest version of from Piwik’s official website.
  • For Windows, a good text editor like gedit will be helpful, but not mandatory.
  • Increase your PHP Memory Limit from htaccess to 512MB or 1024 MB. It is not mandatory but I recommend it to take the advantage.

 

Actual Steps for Installing Piwik on Rackspace Cloud Sites

 

We will install Piwik on a subdirectory for this guide for Installing Piwik on Rackspace Cloud Sites. It is possible to install Piwik on subdomain or other domain.

Advertisement

---

 

Creating a separate MySQL database for Installing Piwik on Rackspace Cloud Sites

 

Your website must run on LAMP setup. If it is WordPress 90% chance is you are using LAMP already. Login to your Rackspace account, go to Cloud Sites and click to open the website under question.  Now click the features tab :

 

adding-databases-to-Rackspace-Cloud-Sites

 

Click Add under Databases. (Note : if you scroll down this page, you will see the Cron Jobs)

Now open any Text Editor. Give the database a name, click continue and write the database name in your Text Editor. In the next page, you will have to add a Database Username and password, use anything and write down it in your text editor.? Click Finish.

The database will be created and it generally takes 2-5 minutes for proper functioning. You will see the hyperlinked database name under Databases. Simply clicking it will open the Database Information page :

 

example

 

 

Copy and paste the ˜Hostname™ , password, database name, database user name in your text editor.  Steps for creating a separate MySQL database for Installing Piwik on Rackspace Cloud Sites is complete.

 

The core part for Installing Piwik on Rackspace Cloud Sites

 

Now, unzip Piwik on your desktop. Open WinSCP and go to :

 

Vim
1
root/www.yourdomain.com/web/content/

 

Create a subdirectory, we created piwik for our website. Drag and Drop the files in WinSCP :

 

Installing Piwik on Rackspace Cloud Sites

 

It will take a bit time to get transferred. After it is complete, from your browser, point to :

 

Vim
1
http:// www.yourdomain.com/piwik-directory-name/

 

Like, in our case, during Installing Piwik on Rackspace Cloud Sites, it was :

 

Installing Piwik Analytics on Rackspace Cloud

 

System check would show all green. Then the third and most important point for Installing Piwik on Rackspace Cloud Sites will arrive, its the database details :

 

piwik database

 

Please scroll above to see the Psi sign in red color like this – ?

Yes, the database server is not local host or the IP of local host, please look the second (counting from the beginning) screenshot carefully. Just follow the screen instructions. At number 8 step, you will get the Javascript for tracking :

 

piwik code

 

Copy paste it in Notepad. This is the thing you will need to insert like you do for Google Analytics. Complete the steps and you will end with fun. http:// www.yourdomain.com/piwik-directory-name/ will now point to your Piwik login screen, just like ours : https://thecustomizewindows.com/piwik/

 

Post installation process after Installing Piwik on Rackspace Cloud Sites

 

I recommend to perform these as a part of Installing Piwik on Rackspace Cloud Sites, taking that you are using WordPress, for other CMS, it will need a bit modification.

 

  • Create a robots.txt file in the root of the piwik installation subdirectory and add

 

Vim
1
2
User-agent: *
Disallow: /

 

Save it and CHMOD it to 0444. Otherwise Piwik change it ! You will not love to donate outgoing link juice or get indexed.

  •  In the same way, on your root robots.txt file, add :

 

Vim
1
Disallow: /piwik/

 

Where piwik is the name of  of the piwik installation subdirectory.

 

  • Create a .htaccess file in the root of the piwik installation subdirectory and allocate the folder the php memory like we said before starting Installing Piwik on Rackspace Cloud Sites. The basic methods for optimizing WordPress for speed through .htaccess and security will work here too. Root’s .htaccess rules will also work here, so by default you can not access https://thecustomizewindows.com/piwik/config/config.ini.sample.php by virtue of WordPress. PHP Flush works here too, but do not use it.
  • In my opinion, using Header and Footer Plugin or something like that is the best way to insert the tracking code in WordPress. Avoid those WP-Piwik like junks. They are basically useless and increases the burden and sucks compute cycles.
  • Optimization of code : The noscript part is not needed. You can safely delete the whole noscript part. You will notice the document.write(unescape(“%3Cscript src=’ part, simply upload piwik.js to Cloud Files, copy its url and replace it. So, in my case the adjacent part is becoming :

 

Vim
1
2
3
4
5
document.write(unescape("%3Cscript src='http://myuniquenumber.cf6.rackcdn.com/piwik.js'
type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);

 

So this long story is not actually only for Installing Piwik on Rackspace Cloud Sites but for optimizing it too.

 

Signature

 

This Article Has Been Shared 338 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Installing Piwik on Rackspace Cloud Sites

  • Installing ownCloud on Rackspace Cloud Sites

    Installing ownCloud on Rackspace Cloud Sites step by step guide. ownCloud is a server software that provides device independent storage of pictures, documents.

  • Installing vBulletin Forum Software on Rackspace Cloud Sites

    Installing vBulletin Forum Software on Rackspace Cloud Sites needs extra works and the difficulty level is a bit higher than WordPress though not very tough.

  • Tools for Cloud Computing

    Tools for Cloud Computing are part of the effective usage the cloud solutions. We are presenting some tools for cloud, which take care of backup, security etc.

  • Big Data in the Cloud

    Big Data in the Cloud explain what is the relationship between these two new information technologies which is necessary to approach to the extensive network.

  • Eight Tips for Secure Cloud

    Eight Tips for Secure Cloud are for are using the extremely useful services whose security are still regarded as uncertain. What users can do in this situation?

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Installing Piwik on Rackspace Cloud Sites," in The Customize Windows, July 21, 2012, January 29, 2023, https://thecustomizewindows.com/2012/07/installing-piwik-on-rackspace-cloud-sites/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT