Add PostMetric to your WordPress site in minutes.Documentation Index
Fetch the complete documentation index at: https://docs.postmetric.io/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Method 1: Using a plugin (Recommended)
- Install a “Insert Headers and Footers” plugin
- Go to Settings → Insert Headers and Footers
- Add the tracking script to the Header section:
YOUR_TRACKING_CODE with your tracking code from the dashboard.
Method 2: Edit theme files
- Go to Appearance → Theme Editor
- Select
header.php - Add the tracking script before the closing
</head>tag:
Track custom goals
Track custom goals in your WordPress posts/pages:WooCommerce integration
Track purchases in WooCommerce:Next steps
Track custom goals
Learn how to track custom user actions