Problems countings visitors


(stef68600) #1

Hello,
I try to make fonctinner piwik, but the visitors are not taken into account.
Only the first visitor is seen apres the contruction of the base of datum.
I made tries(essays) several times, even resultat.
The waiter(server) is in intranet under easyphp.

You could explain me what does not go.
Cordially.

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://127.0.0.1/piwik/" : "http://127.0.0.1/piwik/");
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><noscript><p><img src="http://127.0.0.1/piwik/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->

(vipsoft) #2

Replace 127.0.0.1 with the external domain name of your Piwik site.


(stef68600) #3

Hello,

As I am in intranet local area network, me are not of name of domain.
The visitors reach the site by: http:xxx.xxx.xxx.xxx/index.htm

Do I have to address IP on the place(square) of the name of domain?

Greetings


(vipsoft) #4

If your intranet doesn’t resolve machine names by dns, then use the IP address of the server. This would most likely not be the 127.0.0.1 loopback address.


(stef68600) #5

Effectively the address for accèder in the site is not 127.0.0.1

I am thus going to try the IP address of the waiter(server) by whom the visitor reaches.

Nevertheless why the proposed code is the IP easyPHP address and not the IP address of the network card(map)?

Thank you for your help(assistant).

PS: a forum France would be welcome, because I use a translator to make these comments.