src/BBGS/Credits.php
public function getTrackerUrl ($action)
	{
		$data = array
		(
			'tracker' => $action
		);

		if (isset ($this->email))
		{
			$data['email'] = $this->email;
		}

		if (count($this->openid_hashed) > 0)
		{
			$data['openidhash'] = $this->openid_hashed[0];
			$data['openid'] = $this->openids[0];
		}

		$url = $this->getSignedURL (self::TRACKER_GATEWAY_URL.'track/', $data);

		return $url;
	}
public function getTrackerUrl ($action)
	{
		$data = array
		(
			'tracker' => $action
		);

		if (isset ($this->email))
		{
			$data['email'] = $this->email;
		}

		if (count($this->openid_hashed) > 0)
		{
			$data['openidhash'] = $this->openid_hashed[0];
			$data['openid'] = $this->openids[0];
		}

		$url = $this->getSignedURL (self::TRACKER_GATEWAY_URL.'track/', $data);

		return $url;
	}
/*
@param $action: login / register

Load this URL in an iframe in order to get the right trackers