🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

How to Add Google Analytics Code to a Foreign Trade Independent Website Built with the Free Version of Astra

Previously, I shared with everyonethe method to add Google Analytics code in the Astra Pro version. So, if you are using the free versionAstra Theme, how do you add the Google Analytics code? The method is also very simple. The specific steps are as follows: 1. Log in to the WordPress Admin Dashboard, select Theme - Astra Settings - Footer Settings. As shown in the image below:astra添加统计代码2. In the blank space of the Copyright field, click and select HTML from the pop-up options.astra添加统计代码3. Add the Google Analytics code there (other tracking codes can also be added this way).astra添加统计代码If you don't have a Google Analytics code yet, then followthis articleto apply for one, and then come back to add the code. After adding, you can go to the website Frontend, right-click, view the page source, and search for part of the data from the code you just added, such as 'Global site tag', to see if the code is successfully loaded.astra添加统计代码After adding the tracking code, you can see the statistics very soon, but the data usually becomes accurate only the next day. So, you can see the website's traffic data the following day. Additionally, Google officially recommends adding it within the code. In that case, you can choose Astra's Header Builder. To avoid issues with users loading the webpage, we habitually add it to the footer. Besides the method above, you can also use a Plugin to add the code. Refer to:

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow