{"id":7531,"date":"2026-04-10T02:34:49","date_gmt":"2026-04-10T00:34:49","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=7531"},"modified":"2026-04-10T02:34:50","modified_gmt":"2026-04-10T00:34:50","slug":"tracking-api-traffic-on-your-wordpress-site","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/","title":{"rendered":"Tracking API Traffic on Your WordPress Site"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/#Tracking_API_Traffic_on_Your_WordPress_Site\" >Tracking API Traffic on Your WordPress Site<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/#What_is_the_Traffic_Plugin\" >What is the Traffic Plugin?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/#How_the_Plugin_Monitors_API_Traffic\" >How the Plugin Monitors API Traffic<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/#Installation_and_Requirements\" >Installation and Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/#Benefits_of_API_Monitoring\" >Benefits of API Monitoring<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/#Best_Practices_for_mybox_Users\" >Best Practices for mybox Users<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/tracking-api-traffic-on-your-wordpress-site\/#Summary\" >Summary<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Tracking_API_Traffic_on_Your_WordPress_Site\"><\/span>Tracking API Traffic on Your WordPress Site<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"p-rc_864e5f60b85a612e-67\">While most analytics tools focus on how many humans visit your site, the <strong>Traffic<\/strong> plugin focuses on the technical &#8220;conversations&#8221; happening behind the scenes.<sup><\/sup> In today\u2019s interconnected web, your WordPress site constantly talks to external services\u2014payment gateways, social media feeds, or shipping calculators\u2014via <strong>API calls<\/strong>.<sup><\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Monitoring this &#8220;invisible&#8221; traffic is essential for maintaining a fast and secure site on the <strong>mybox<\/strong> infrastructure.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_the_Traffic_Plugin\"><\/span>What is the Traffic Plugin?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-893112412\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\" id=\"p-rc_864e5f60b85a612e-68\">The Traffic plugin is a technical reporting tool that logs every incoming and outgoing API request.<sup><\/sup> Unlike Google Analytics, which tracks mouse clicks and page views, Traffic tracks <strong>data exchanges<\/strong>. It identifies exactly which plugins or themes are reaching out to external servers and how long those connections take.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Technical Focus:<\/strong> Logs API calls, database queries, and third-party integrations.<\/li>\n\n\n\n<li><strong>Performance Insight:<\/strong> Identifies &#8220;slow&#8221; connections that might be causing the &#8220;White Screen of Death&#8221; or slow loading times.<\/li>\n\n\n\n<li><strong>Lightweight Design:<\/strong> Built to run efficiently without adding significant overhead to your <strong>mybox<\/strong> server.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_the_Plugin_Monitors_API_Traffic\"><\/span>How the Plugin Monitors API Traffic<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin acts as a &#8220;silent observer&#8221; within your WordPress installation. It captures details for every request:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Call Duration:<\/strong> How many milliseconds the external service took to respond.<\/li>\n\n\n\n<li><strong>Source\/Destination:<\/strong> Which specific plugin initiated the call and where it was sent.<\/li>\n\n\n\n<li><strong>Frequency:<\/strong> How often your site is &#8220;talking&#8221; to a particular service (e.g., checking for updates or syncing inventory).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"p-rc_864e5f60b85a612e-70\">You can view these reports directly in your WordPress dashboard, filter them by date or type, and even export the logs to a <strong>CSV file<\/strong> for deeper analysis or to share with a developer.<sup><\/sup><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Installation_and_Requirements\"><\/span>Installation and Requirements<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To run the Traffic plugin efficiently, your <strong>mybox<\/strong> environment must meet modern standards:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PHP Version:<\/strong> 8.1 or higher (Recommended: 8.5 for best performance).<\/li>\n\n\n\n<li><strong>WordPress Version:<\/strong> 6.2 or higher.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps to install:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to your WordPress dashboard.<\/li>\n\n\n\n<li>Go to <strong>Plugins > Add New<\/strong>.<\/li>\n\n\n\n<li>Search for <strong>&#8220;Traffic&#8221;<\/strong> and look for the API monitoring tool.<\/li>\n\n\n\n<li>Click <strong>Install<\/strong> and <strong>Activate<\/strong>.<\/li>\n\n\n\n<li>A new <strong>Traffic<\/strong> menu will appear in your sidebar, and data collection begins immediately.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Benefits_of_API_Monitoring\"><\/span>Benefits of API Monitoring<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Performance Optimization<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your site feels sluggish, it might not be your images or your hosting. Often, a single plugin making too many &#8220;heavy&#8221; API calls to a slow external server is the culprit. Traffic helps you find and disable the offender.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Enhanced Security<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By monitoring outgoing traffic, you can spot unusual connections. If a plugin starts sending data to a suspicious or unknown domain, the Traffic logs will show you exactly when and what was sent, helping you prevent data leaks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Faster Troubleshooting<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a feature breaks (like a shipping calculator or a payment link), you can check the Traffic logs to see if the API call failed. This tells you instantly if the problem is with your site or the external provider&#8217;s service.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Best_Practices_for_mybox_Users\"><\/span>Best Practices for mybox Users<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Data Retention:<\/strong> Logging every API call can grow your database quickly. Set the plugin to only keep logs for 7\u201314 days to keep your <strong>mybox<\/strong> database lean and fast.<\/li>\n\n\n\n<li><strong>Regular Audits:<\/strong> Check the Traffic dashboard once a month. Look for any &#8220;Red&#8221; or &#8220;Long&#8221; requests that might indicate a plugin is struggling.<\/li>\n\n\n\n<li><strong>Conflict Testing:<\/strong> If you use multiple security or analytics plugins, monitor your site&#8217;s speed after activating Traffic to ensure they aren&#8217;t competing for server resources.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Traffic plugin provides the technical transparency needed to run a professional WordPress site. By monitoring your API connections, you ensure that your external integrations are helping your business, not slowing down your <strong>mybox<\/strong> hosting.<\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[25,58,60],"manual_kb_tag":[6577,8076,8460,9993,9994,9995,9996,293,419,1046],"class_list":["post-7531","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-hosting","manualknowledgebasecat-web-applications-cms","manualknowledgebasecat-wordpress-plugins","manual_kb_tag-site-speed","manual_kb_tag-performance-monitoring","manual_kb_tag-site-performance","manual_kb_tag-request-logging","manual_kb_tag-external-requests","manual_kb_tag-outgoing-connections","manual_kb_tag-third-party-integrations","manual_kb_tag-performance-optimization","manual_kb_tag-wordpress-plugin","manual_kb_tag-traffic-monitoring"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/7531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/7531\/revisions"}],"predecessor-version":[{"id":7532,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/7531\/revisions\/7532"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=7531"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=7531"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=7531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}