Skip to content

campaign_total_ctr ​

php
number campaign_total_ctr(number $nr_kampanii)

Returns the ratio of clicked messages to sent messages during campaign $nr_kampanii, as a decimal number from 0 to 1.

Example:

php
if (campagain_ctr(7) >= campagain_total_ctr(7)) {
ok();
} else {
system_skipmessage();
}

Result:

In this example, the mailing skips recipients
whose ratio of clicked messages to messages sent to
the current address during campaign 7 was below the campaign average.