<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Insert Piwik Tracking Code into FA]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2446&amp;type=atom" />
	<updated>2011-10-12T06:55:01Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=2446</id>
		<entry>
			<title type="html"><![CDATA[Re: Insert Piwik Tracking Code into FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10450#p10450" />
			<content type="html"><![CDATA[<p>Hello Mr Lim,</p><p>Please don&#039;t feel sorry about this.&nbsp; I really appreciate your help from the bottom of my heart. Thank you very much again.</p>]]></content>
			<author>
				<name><![CDATA[Apple]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=8430</uri>
			</author>
			<updated>2011-10-12T06:55:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10450#p10450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Insert Piwik Tracking Code into FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10447#p10447" />
			<content type="html"><![CDATA[<p>Hello Apple,</p><p>&nbsp; I do not used Piwik in my code. I visit the site at piwik and copy the sample code just to show you how to render the JavaScript in FA. It must be used within the </p><p>&nbsp; &nbsp;echo &#039; ...........javascript here ...........&#039;;</p><p>&nbsp; You should copy your tracking code and put into the FA. But not using the sample code that I provide above. That was just to show you how to render the JavaScript. Sorry about that if I provide any misleading information in this topic. </p><p>&nbsp; Anyone who use the Piwik please help Apple to resolved the problem. Thanks You.</p><p> Cheers,</p><p>&nbsp; tclim</p>]]></content>
			<author>
				<name><![CDATA[tclim]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4821</uri>
			</author>
			<updated>2011-10-12T06:40:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10447#p10447</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Insert Piwik Tracking Code into FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10443#p10443" />
			<content type="html"><![CDATA[<p>Hi Mr Lim,</p><p>Thank you very much for your valuable advice. The footer is visible but Piwik shown not sign of visitor. <br />Do you have any ideas why this happen eventhough I did the necessary replacement on URL_1 and site ID based on your sample code.<br />Wish you can lend a helping again.</p><p>Thank you very much.</p>]]></content>
			<author>
				<name><![CDATA[Apple]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=8430</uri>
			</author>
			<updated>2011-10-12T05:03:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10443#p10443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Insert Piwik Tracking Code into FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10440#p10440" />
			<content type="html"><![CDATA[<p>Hi Apple,</p><p>&nbsp; You are rights, the place you inserted just before the line </p><p>&nbsp; echo &quot;&lt;/body&gt;&lt;/html&gt;\n&quot;;</p><p>&nbsp; I assume that your tracking code as below:</p><p>&lt;script type=&quot;text/javascript&quot;&gt;<br />try {<br />&nbsp; &nbsp; var piwikTracker = Piwik.getTracker(&quot;http://URL_1/piwik.php&quot;, 1);<br />&nbsp; &nbsp; piwikTracker.trackPageView();<br />&nbsp; &nbsp; var piwik2 = Piwik.getTracker(&quot;http://URL_2/piwik.php&quot;, 4);<br />&nbsp; &nbsp; piwik2.trackPageView();<br />} catch( err ) {}<br />&lt;/script&gt;</p><p> But you cannot copy and paste into the footer.inc directly, it should be something like below:</p><p> <span style="color: red"><strong> echo &#039;</strong></span>&lt;script type=&quot;text/javascript&quot;&gt;<br />&nbsp; &nbsp; try {<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;var piwikTracker = Piwik.getTracker(&quot;http://URL_1/piwik.php&quot;, 1);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;piwikTracker.trackPageView();<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;var piwik2 = Piwik.getTracker(&quot;http://URL_2/piwik.php&quot;, 4);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;piwik2.trackPageView();<br />&nbsp; &nbsp; } catch( err ) {}<br />&nbsp; &nbsp; &lt;/script&gt; <span style="color: red"><strong>&#039;;</strong></span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; echo &quot;&lt;/body&gt;&lt;/html&gt;\n&quot;;</p><p>&nbsp; Note:</p><p>&nbsp; &nbsp; You must place the <strong>echo &#039;&nbsp; &nbsp;javascript here and end with &#039;;</strong> Please try it.</p><p>&nbsp; Cheers,</p><p>&nbsp; tclim</p>]]></content>
			<author>
				<name><![CDATA[tclim]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4821</uri>
			</author>
			<updated>2011-10-11T10:03:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10440#p10440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Insert Piwik Tracking Code into FA]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10439#p10439" />
			<content type="html"><![CDATA[<p>I copy and paste the Piwik tracking code into \includes\page\footer.inc. </p><p>The code was inserted just before line 41</p><p>echo &quot;&lt;/body&gt;&lt;/html&gt;\n&quot;; </p><p>However the footer is missing when I login into FA.</p><p>Can someone please give a helping hand.</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[Apple]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=8430</uri>
			</author>
			<updated>2011-10-11T08:50:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10439#p10439</id>
		</entry>
</feed>
