Where I should set my piwik Tracking code?!


#1

Hi

I have Piwik Tracking code
I read document and it say that I should set above body tag !
My Question is where is above body tag? In the head tag?! or not?!

Regards


#2

From the docs:

so best in the footer before the closing body tag.


#3

All of my pages are static and html
I don’t know where i should set , Give me an example please :

Where?!


#4

<html> 
<head> 
</head> 
<body> 
<p>Your content here</p>



//Piwik Code here
</body>


#5

Does not work


#6

There could be numerous things wrong, you’ll have to be more specific.


#7

How I can test my Piwik?!
I mean how i can open a link of my piwik in url and see change in my piwik admin?!


#8

My table piwik_log_visit has any row and empety


#9

When i go to piwik.php?idsite=1 i have any record