Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions PiwikTracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,23 @@ public function getVisitorId()
return $this->randomVisitorId;
}

/**
* Returns the currently set user agent.
* @return string
*/
public function getUserAgent()
{
return $this->userAgent;
}

/**
* Returns the currently set IP address.
* @return string
*/
public function getIp()
{
return $this->ip;
}

/**
* Returns the User ID string, which may have been set via:
Expand Down