When creating a custom campaign, rule, or goal, you can call these predefined functions where applicable.
Detect the payment confirmation page
The following function detects if the current page is the payment confirmation page.
| Function Call | Returns |
|---|---|
| Insider.systemRules.call('isOnAfterPaymentPage') | Boolean |
Insider.systemRules.call('isOnAfterPaymentPage')For example, the response below returns false since the current page is not a payment confirmation page. Otherwise, it returns true.