Exemple #1
0
 /**
  * Keep a record of a tracked CTA and queue it for replacement
  *
  * @param CTA $cta
  */
 public function addTrackedCTA(CTA $cta)
 {
     $this->trackedCTAs[] = $cta;
     $this->queueForReplacement($cta->getOriginalUrl(), $cta->getExpandedUrl(), $cta->getTrackingUrl(), $cta->getShortenedTrackingUrl());
 }