{"id":8089,"date":"2026-05-10T15:10:48","date_gmt":"2026-05-10T13:10:48","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=8089"},"modified":"2026-05-10T15:11:37","modified_gmt":"2026-05-10T13:11:37","slug":"cum-sa-activati-analiza-site-ului-web","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-activate-website-analytics\/","title":{"rendered":"Cum s\u0103 activa\u021bi analiza site-ului web"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">Website analytics is a mechanical necessity for any site owner who wants to understand their audience, track conversion rates, and improve the overall performance of their <strong>mybox-hosted<\/strong> projects. Analytics tools work by collecting data on visitor behavior\u2014such as which pages they visit, how long they stay, and what devices they use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\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-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-activate-website-analytics\/#1_Choosing_an_Analytics_Platform\" >1. Choosing an Analytics Platform<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-activate-website-analytics\/#2_How_the_Tracking_Mechanism_Works\" >2. How the Tracking Mechanism Works<\/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\/ro\/knowledgebase\/how-to-activate-website-analytics\/#3_Activating_Analytics_on_WordPress_mybox-hosted\" >3. Activating Analytics on WordPress (mybox-hosted)<\/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\/ro\/knowledgebase\/how-to-activate-website-analytics\/#4_Verification_and_Testing\" >4. Verification and Testing<\/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\/ro\/knowledgebase\/how-to-activate-website-analytics\/#5_Privacy_and_Legal_Compliance_GDPRRODO\" >5. Privacy and Legal Compliance (GDPR\/RODO)<\/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\/ro\/knowledgebase\/how-to-activate-website-analytics\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Choosing_an_Analytics_Platform\"><\/span>1. Choosing an Analytics Platform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">While many platforms exist, the setup process generally follows a similar logic. The most common choices include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Google Analytics 4 (GA4):<\/strong> The industry standard, offering deep integration with search and advertising data.<\/li>\n\n\n\n<li><strong>Matomo:<\/strong> A privacy-focused, open-source alternative that you can host directly on your <strong>mybox<\/strong> server to keep 100% ownership of your data.<\/li>\n\n\n\n<li><strong>Plausible \/ Fathom:<\/strong> Lightweight, &#8220;cookie-less&#8221; analytics that prioritize speed and GDPR compliance.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_How_the_Tracking_Mechanism_Works\"><\/span>2. How the Tracking Mechanism Works<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-3846326316\" 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\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/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\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">To gather data, these platforms use a small snippet of JavaScript code. When a visitor loads your site, this script executes and sends a &#8220;hit&#8221; or &#8220;event&#8221; back to the analytics server.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>The Tag:<\/strong> You generate a unique tracking ID or code snippet from your analytics provider.<\/li>\n\n\n\n<li><strong>The Placement:<\/strong> You insert this code into the <code>&lt;head><\/code> section of your website\u2019s HTML.<\/li>\n\n\n\n<li><strong>The Data Flow:<\/strong> Every time a page loads, the code captures data (IP address, browser type, page URL) and sends it to your dashboard.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Activating_Analytics_on_WordPress_mybox-hosted\"><\/span>3. Activating Analytics on WordPress (mybox-hosted)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are three main ways to implement tracking on a WordPress site:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Method A: Using a Dedicated Plugin (Recommended for Beginners)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Plugins like <strong>MonsterInsights<\/strong> or <strong>Site Kit by Google<\/strong> allow you to connect your account without touching any code.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Simply install the plugin, log in to your analytics account, and it will handle the code injection for you.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Method B: Using a Header\/Footer Plugin<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to keep your site lean, use a plugin like <strong>WPCode<\/strong>.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Go to <strong>Code Snippets > Header &amp; Footer<\/strong>.<\/li>\n\n\n\n<li>Paste your tracking script into the <strong>Header<\/strong> box.<\/li>\n\n\n\n<li><strong>Save Changes.<\/strong><\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Method C: Manual Integration (Advanced)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you are using a child theme, you can paste the code directly into the <code>header.php<\/code> file of your theme via <strong>FTP<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4_Verification_and_Testing\"><\/span>4. Verification and Testing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After activation, you must verify that the data is flowing correctly:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Real-Time Reports:<\/strong> Open your website in a new Incognito window.<\/li>\n\n\n\n<li><strong>Check Dashboard:<\/strong> Check the &#8220;Real-Time&#8221; section of your analytics dashboard. You should see at least one active user (you).<\/li>\n\n\n\n<li><strong>Tag Assistant:<\/strong> You can use browser extensions like &#8220;Google Tag Assistant&#8221; to confirm the script is firing without errors.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Privacy_and_Legal_Compliance_GDPRRODO\"><\/span>5. Privacy and Legal Compliance (GDPR\/RODO)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In 2026, privacy is a mechanical necessity for any professional website. Before you start tracking:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Privacy Policy:<\/strong> Update your policy to disclose what data you collect and why.<\/li>\n\n\n\n<li><strong>Cookie Banner:<\/strong> If your analytics platform uses non-essential cookies (like GA4), you must implement a consent banner that allows users to opt-in before the tracking script fires.<\/li>\n\n\n\n<li><strong>Anonymize IPs:<\/strong> Ensure your settings are configured to anonymize visitor IP addresses to protect their identity.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\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\">Activating analytics is the first step toward data-driven growth. By placing a simple tracking tag on your <strong>mybox-hosted<\/strong> site, you gain the insights needed to refine your content and marketing strategies. Whether you choose the deep insights of Google or the privacy of a self-hosted Matomo setup, knowing your visitors is key to online success.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[28,60],"manual_kb_tag":[7117,7661,8487,8488,8489,8490,8491,8492,644,645],"class_list":["post-8089","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-others","manualknowledgebasecat-wordpress-plugins","manual_kb_tag-google-analytics","manual_kb_tag-google-analytics-4","manual_kb_tag-analytics-platform","manual_kb_tag-analytics-setup","manual_kb_tag-matomo","manual_kb_tag-plausible","manual_kb_tag-fathom","manual_kb_tag-self-hosted-analytics","manual_kb_tag-website-analytics","manual_kb_tag-web-analytics"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8089\/revisions"}],"predecessor-version":[{"id":8090,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8089\/revisions\/8090"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=8089"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=8089"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=8089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}