Check if Google Conversion Tracker is working

Hi!
how to check if Google Conversion Tracker is working specifically if this script exists in Page

<script>
function gtag_report_conversion(url) {
  var callback = function () {
    if (typeof(url) != 'undefined') {
      window.location = url;
    }
  };
  gtag('event', 'conversion', {
      'send_to': 'AW-xxxxxxxxxxx/yyyyyyyyyy',
      'event_callback': callback
  });
  return false;
}
</script>

Here are some details:

Thanks but that is not what I mean . I mean php code to check whether in the current page exists conversion tracker or not

Okay, I’ll move this over to the PHP channel so that you can get decent help with that.

Thread continues here: Check if string exists in webpage