Callback Integration (CallbackHunter) on Website
CallbackHunter is a callback service: visitor enters phone number, system automatically connects them with manager. Additionally provides analytics and lead capture tools.
Widget Installation
CallbackHunter is installed via script insertion:
<script type="text/javascript">
(function(h,u,n,t,e,r,s){h[t]=h[t]||function(){
(h[t].q=h[t].q||[]).push(arguments)},h[t].c=e,r=u.createElement(n),
s=u.getElementsByTagName(n)[0],r.async=1,r.src='//widget.callbackhunter.com/assets/widget/widget.js',
s.parentNode.insertBefore(r,s)})(window,document,'script','cbh','WIDGET_ID');
cbh('init');
</script>
JavaScript API
// Pass user data
cbh('data', {
email: user.email,
name: user.name,
order: orderId
});
// Open form programmatically (e.g., on "Call me back" button click)
cbh('show');
Webhook on Request
CallbackHunter sends POST request to specified URL on each new callback request. On server:
Route::post('/webhooks/callbackhunter', function (Request $request) {
Lead::create([
'phone' => $request->phone,
'source' => 'callbackhunter',
'name' => $request->name ?? null,
'meta' => $request->all()
]);
// Notify manager in Telegram
});
Call Schedule Configuration
Widget displays only during business hours — configured in CallbackHunter dashboard. For custom logic, can hide/show widget via JS depending on time.
Setup timeframe: a few hours.







