Answer the question
In order to leave comments, you need to log in
How to set target in i.metric in handler?
There is a php file that my payment system calls to update the payment status on the site.
I want to somehow track when the payment status from "Waiting" goes to "Paid" Site on
wordpress
+ woocommerce + RFI bank
The page won't load and the script won't work.
if ($order->status == 'completed'){
echo "<script type='text/javascript'>
window.onload = function() {
yaCounter44879842.reachGoal('paysucces');
}
</script>";
exit;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question