Skip to content

campaign_ctr ​

php
number campaign_ctr ( number $nr_kampanii )

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

NOTE: Requires an address context: specify the data source.

Example:

php
if (campaign_ctr(7) >= 0.2) {
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 20%.