Skip to content

Commit

Permalink
Add getter for clicked, uniqueClicked
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Aug 16, 2023
1 parent e71ba62 commit c4e2d5a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Responses/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,26 @@ public function getNumberBounces()
return $this->getStatistic('NumBounceSoft');
}

/**
* Get the number of clicks on the mailing.
*
* @return int
*/
public function getNumberClicked()
{
return $this->getStatistic('NumGrossClick');
}

/**
* Get the number of clicks from unique individuals on the mailing.
*
* @return int
*/
public function getNumberUniqueClicked()
{
return $this->getStatistic('NumUniqueClick');
}

/**
* Get the number of emails suppressed by the provider.
*
Expand Down

0 comments on commit c4e2d5a

Please sign in to comment.