mailing_clicked
php
mixed mailing_clicked(number $nr_wysylki , [number $nr_wysylki_max])Checks whether a click was recorded for the current address in mailing $nr_wysyłki. Returns true if a click was recorded, or false otherwise. If the second parameter $nr_wysyłki_max is provided, checks the range from $nr_wysyłki to $nr_wysyłki_max. In this case, returns the number of mailings in that range in which a click was recorded.
Warning
Requires an address context.
Only non-archived mailings are searched.
Example:
php
if (mailing_clicked(14)) {
ok();
} else {
system_skipmessage();
}Result:
In this example, the mailing skips recipients who did not click a link in mailing 14.