Skip to content

Commit

Permalink
Add page url & refr setters to Subject
Browse files Browse the repository at this point in the history
  • Loading branch information
Grigoriy Glushko committed May 26, 2015
1 parent cff73c3 commit 2d57396
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Subject.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,24 @@ public function setDomainUserId($domainUserId) {
$this->tracker_settings["duid"] = $domainUserId;
}

/**
* Sets the referer
*
* @param string $refr
*/
public function setRefr($refr) {
$this->tracker_settings["refr"] = $refr;
}

/**
* Sets the page URL
*
* @param string $pageUrl
*/
public function setPageUrl($pageUrl) {
$this->tracker_settings["url"] = $pageUrl;
}

// Subject Return Functions

public function returnTrackerSettings() {
Expand Down

0 comments on commit 2d57396

Please sign in to comment.