Skip to Content
Menu

ga_log_fatal_errors()

Sends fatal PHP errors to Google Analytics as fatal exceptions.

PHP March 24, 2018

Usage

This function runs automatically, so it is not called manually. Is this incorrect?

Additional Notes

Google Analytics does not have a default exception report. You’ll need to make one or find one in the Gallery. I recommend Ron Whitman’s Exception Report.

This function can’t catch all errors, but it offers a glimpse into many that will prevent visitors from using the website.

JavaScript errors are also logged in the same report.

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

    This function was not found in /libs/Utilities/Analytics.php. Please report this error.

    No Hooks

    This function does not have any filters or actions available. Request one?

    Override

    This function can not be short-circuited with an override filter. Request one?