Documentation

Complete guides and references for MetricPoints

Error Tracking Setup

WordPress Plugin Installation

The easiest way to get started with error tracking on WordPress is using our dedicated plugin.

Quick Setup Steps:

  1. Download the MetricPoints Error Tracker plugin
  2. Upload and activate it in your WordPress admin
  3. Go to Settings β†’ MetricPoints Error Tracker
  4. Enter your API key
  5. Enable error tracking
  6. Test the configuration

JavaScript Integration

For non-WordPress sites, you can integrate our JavaScript tracking code directly.

<script>
  (function() {
    var script = document.createElement('script');
    script.src = 'https://metricpoints.com/js/metric-points-error-tracker.min.js';
    script.async = true;
    script.onload = function() {
        window.MetricPointsErrorTracker.init(new MetricPointsErrorTrackerConfig({
            apiKey: 'YOUR_API_KEY',
            autoStart: true,
            autoStartDelay: 1000,
        }));
    };
    document.head.appendChild(script);
  })();
</script>

Configuration Options

Error Tracking

Monitor JavaScript errors with detailed stack traces

Performance Tracking

Track Core Web Vitals and performance metrics

User Tracking

Monitor user sessions and behavior patterns

Custom Events

Track custom events and user interactions