📘 BACKCLICK Doku
Anmelden
Hinweisbox:

Description

Use this feature to analyze the reactions (Backclicks) using transaction channels. An overview about the transaction mails sent and the corresponding reactions will be presented. The evaluation can be done using a single channel or multiple channels. In case campaign IDs were used while sending, they can be used to limit statistics while evaluating. Evaluation of sending transactions is based on a period of time to be evaluated.

Available starting from Backclick-Version: 5.8.4

In order to evaluate transaction reactions you have to provide the following information:

  • Mandator ID
  • Channel IDs
  • Period of time
  • Campaign IDs

Example

$client = new SoapClient($wsdlUrl);
date_default_timezone_set('Europe/Berlin');
$statistic = new StdClass();
$statistic->mandatorId = 0;
$statistic->channelIds = array();
array_push($statistic->channelIds, 1);
$statistic->timePeriod = new StdClass();
$statistic->timePeriod->startTime = mktime(11, 38, 0, 1, 1, 2012);
$statistic->timePeriod->endTime = mktime(12, 0, 0, 4, 31, 2013);

try {
  $result = $client->transactionMailSendStatistic($statistic);
  var_dump($result);
} catch (Exception $e) {
  echo "Fehler aufgetreten: " . $e->getMessage() . "\r\n";
}
object(stdClass)#4 (1) {
  ["statistic"]=>
  object(stdClass)#5 (1) {
    ["item"]=>
    object(stdClass)#6 (9) {
      ["channel"]=>
      object(stdClass)#7 (3) {
        ["channelId"]=>
        int(1)
        ["channelName"]=>
        string(9) "Channel 1"
        ["channelDescription"]=>
        string(16) "Testbeschreibung"
      }
      ["campaignId"]=>
      string(0) ""
      ["numRecipients"]=>
      int(23)
      ["numDelivered"]=>
      int(23)
      ["numOpened"]=>
      int(13)
      ["numUniqueOpened"]=>
      int(8)
      ["numClicked"]=>
      int(12)
      ["numUniqueClicked"]=>
      int(4)
      ["numComplaints"]=>
      int(0)
    }
  }
}

Source code

In order to test a working example you can download the source code.

Example for the evaluation of reactions to transaction mails

Abbrechen