Dual Wan PCC with remote host check Failover

Dears ,
I have 2 WAN links with gateways 192.168.1.1 , and 192.168.2.1 ,
I need to setup PCC for my LAN using the 2 gateways , but I want to integrate the Failover check with a remote host

the PCC installation
https://wiki.mikrotik.com/wiki/Manual:PCC

remote host fail-over check
https://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting

how can I integrate between the two setup ?

Thanks

any idea appreciated
Thanks