<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>analytics Archives | Clever Cloud</title>
	<atom:link href="https://www.clever.cloud/blog/tag/analytics/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.clever.cloud/blog/tag/analytics/</link>
	<description>From Code to Product</description>
	<lastBuildDate>Wed, 09 Nov 2016 17:55:00 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://cdn.clever-cloud.com/uploads/2023/03/cropped-cropped-favicon-32x32.png</url>
	<title>analytics Archives | Clever Cloud</title>
	<link>https://www.clever.cloud/blog/tag/analytics/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Deploying a Piwik Server on Clever Cloud</title>
		<link>https://www.clever.cloud/blog/features/2016/11/09/deploy-piwik-with-clever-cloud/</link>
		
		<dc:creator><![CDATA[Corentin Cailleaud]]></dc:creator>
		<pubDate>Wed, 09 Nov 2016 17:55:00 +0000</pubDate>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://www2.cleverapps.io/wp/blog/technology/2016/11/09/deploy-piwik-with-clever-cloud/</guid>

					<description><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="piwik server 1" decoding="async" fetchpriority="high" srcset="https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p><p>Those days, gathering data is a pretty important thing to improve your application. It can, indeed, help you <strong>optimize your website</strong> by knowing where your visitors are clicking. All those informations are collected thanks to analytics platforms such as <strong>Piwik</strong>.</p>
<span id="more-2876"></span>

<h3 id="what-is-piwik-">What is Piwik ?</h3>
<p><a href="https://piwik.org/">Piwik</a> is the <strong>leading open-source analytics platform</strong> that gives you, on top of good analytics, 100% data ownership and user privacy protection. You can know how many people visited a specific page and even set goals. For example, if you redirect your visitor to a thank you page if they buy your 10$ product, you can set a goal that says &quot;If the visitor comes on this page, I will earn 10$&quot;. Therefore, you can have an entiere overview of your profits. You can use <a href="http://demo.piwik.org/">this link</a> to access the Piwik demo and discover the graphical interface.</p>
<h3 id="how-can-i-run-my-piwik-server-">How can I run my Piwik server ?</h3>
<p>So you want to deploy a Piwik server using Clever Cloud. The Piwik server is a <strong>PHP application</strong>, therefore there are two ways to install it. The easiest one is explained down below, using SFTP but you can also install the server locally and push it with git. If you want to set it up fastly and easily, just follow those few steps and you will be able to get analytics from your application in a few minutes !</p>
<h3 id="three-simple-steps">Three simple steps</h3>
<p>First things first, create a <strong>PHP SFTP application</strong> in the Clever Cloud console and link it with a <strong>MySQL addon</strong>.</p>
<p>Then, unzip the Piwik file available <a href="https://piwik.org/download/">here</a> and upload the content of the directory <code>piwik</code> at the root of your FSBucket. You can use for example, <a href="https://filezilla-project.org/">FileZilla</a> to upload those files. Don&#39;t forget to add a <code>.user.ini</code> file with the line <code>always_populate_raw_post_data=-1</code> in order to install Piwik.</p>
<p>The final step is to deploy your application and start the installation by clicking on your application link. If you have any issue, you can check the <a href="https://piwik.org/docs/installation/#the-5-minut-piwik-installation">installation guide</a>. When you have to setup your MySQL database, click on your MySQL addon in the Clever Cloud console and fill the form with (left: field name in Piwik/right: field name in MySQL):</p>
<ul>
<li>Database server : <code>Host</code></li>
<li>Login : <code>User</code></li>
<li>Password : <code>Password</code></li>
<li>Database name : <code>Database</code></li>
</ul>
<p>And that&#39;s it ! Your Piwik server is now ready to give you informations about your traffic. Don&#39;t forget to add the JavaScript code on each page. You can start setting up your own goals as mentioned above. If you have a big amount of traffic, don&#39;t hesitate to check <a href="http://piwik.org/docs/optimize-how-to/">this page</a> that explains how you can optimize your Piwik server.</p>
<p>If you have not created your Clever Cloud account yet, you can sign up <a href="https://api.clever-cloud.com/v2/session/signup">here</a> and start creating your application.</p>
]]></description>
										<content:encoded><![CDATA[<p><img width="1400" height="540" src="https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="piwik server 1" decoding="async" srcset="https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1.png 1400w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-300x116.png 300w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-1024x395.png 1024w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-768x296.png 768w, https://cdn.clever-cloud.com/uploads/2021/08/piwik-server-1-1368x528.png 1368w" sizes="(max-width: 1400px) 100vw, 1400px" /></p><p>Those days, gathering data is a pretty important thing to improve your application. It can, indeed, help you <strong>optimize your website</strong> by knowing where your visitors are clicking. All those informations are collected thanks to analytics platforms such as <strong>Piwik</strong>.</p>
<span id="more-2876"></span>

<h3 id="what-is-piwik-">What is Piwik ?</h3>
<p><a href="https://piwik.org/">Piwik</a> is the <strong>leading open-source analytics platform</strong> that gives you, on top of good analytics, 100% data ownership and user privacy protection. You can know how many people visited a specific page and even set goals. For example, if you redirect your visitor to a thank you page if they buy your 10$ product, you can set a goal that says &quot;If the visitor comes on this page, I will earn 10$&quot;. Therefore, you can have an entiere overview of your profits. You can use <a href="http://demo.piwik.org/">this link</a> to access the Piwik demo and discover the graphical interface.</p>
<h3 id="how-can-i-run-my-piwik-server-">How can I run my Piwik server ?</h3>
<p>So you want to deploy a Piwik server using Clever Cloud. The Piwik server is a <strong>PHP application</strong>, therefore there are two ways to install it. The easiest one is explained down below, using SFTP but you can also install the server locally and push it with git. If you want to set it up fastly and easily, just follow those few steps and you will be able to get analytics from your application in a few minutes !</p>
<h3 id="three-simple-steps">Three simple steps</h3>
<p>First things first, create a <strong>PHP SFTP application</strong> in the Clever Cloud console and link it with a <strong>MySQL addon</strong>.</p>
<p>Then, unzip the Piwik file available <a href="https://piwik.org/download/">here</a> and upload the content of the directory <code>piwik</code> at the root of your FSBucket. You can use for example, <a href="https://filezilla-project.org/">FileZilla</a> to upload those files. Don&#39;t forget to add a <code>.user.ini</code> file with the line <code>always_populate_raw_post_data=-1</code> in order to install Piwik.</p>
<p>The final step is to deploy your application and start the installation by clicking on your application link. If you have any issue, you can check the <a href="https://piwik.org/docs/installation/#the-5-minut-piwik-installation">installation guide</a>. When you have to setup your MySQL database, click on your MySQL addon in the Clever Cloud console and fill the form with (left: field name in Piwik/right: field name in MySQL):</p>
<ul>
<li>Database server : <code>Host</code></li>
<li>Login : <code>User</code></li>
<li>Password : <code>Password</code></li>
<li>Database name : <code>Database</code></li>
</ul>
<p>And that&#39;s it ! Your Piwik server is now ready to give you informations about your traffic. Don&#39;t forget to add the JavaScript code on each page. You can start setting up your own goals as mentioned above. If you have a big amount of traffic, don&#39;t hesitate to check <a href="http://piwik.org/docs/optimize-how-to/">this page</a> that explains how you can optimize your Piwik server.</p>
<p>If you have not created your Clever Cloud account yet, you can sign up <a href="https://api.clever-cloud.com/v2/session/signup">here</a> and start creating your application.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
