In the Ringostat account, navigate to the "Calltracking" section -> "Custom JS Functions":
Select the call moment (e.g., After Call), specify the event name (in our example, it is Ringostat Phone Call), and add the event to the data layer:
(function(data) {fbq('track', 'Contact',{type:'Ringostat Phone call'});});
In the GTM interface, create a trigger of type "Custom Event" and specify the event name (in our example - Ringostat Phone Call) from the data layer.
Go to the Tags section and create a new tag with the following details:
Tag Type - Custom HTML
HTML - JavaScript code for sending an event to Facebook Pixel:
<script>
fbq('track', 'Contact',{type:'Ringostat Phone call'});
</script>