Skip to content
Extraits de code Groupes Projets
Valider d28dc62d rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

Doc feedback html validation

git-svn-id: http://dev.piwik.org/svn/trunk@6707 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 7c96a34c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -2,13 +2,12 @@
This page loads a Simple Tracker request to Piwik website id=1
<img src='http://localhost/trunk/piwik.php?idsite=1&amp;rec=1'>
<?php
// -- Piwik Tracking API init --
require_once "../libs/PiwikTracker/PiwikTracker.php";
PiwikTracker::$URL = 'http://example.org/piwik/';
// Example 1: Tracks a pageview for Website id = {$IDSITE}
echo '<img src="'. str_replace("&","&amp;", Piwik_getUrlTrackPageView( $idSite = 1, $customTitle = 'This title will appear in the report Actions > Page titles')) . '" alt="" />';
$trackingURL = Piwik_getUrlTrackPageView( $idSite = 1, $customTitle = 'This title will appear in the report Actions > Page titles');
echo '<img src="'. htmlentities($trackingURL) . '" alt="" />';
?>
</body></html>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter