Same IP

I dont know if this is corect or not, but I get the same IP all the time.

I’m using the php class like this:

$token_auth = ‘4d100f354044bfb7e1f0114ae099c147’;
require_once path(‘vendors’) . ‘piwik’ . DS . ‘piwik_tracker.php’;
$remote_url = ‘Piwik › Sign in’;
PiwikTracker::$URL = $remote_url;
$piwikTracker = new PiwikTracker( 1, $remote_url );

$piwikTracker->setUrl( “http://” . $_SERVER[‘SERVER_NAME’] . $_SERVER[‘REQUEST_URI’] );
$piwikTracker->doTrackPageView( $_SERVER[‘REQUEST_URI’] );

Please give me a hint how to fix this.

Thank you!

It looks like it should work. Make sure the token has at least admin access and that the IP you set is correct