开发者 |
sharethis
scottstorebloom scottmweaver |
---|---|
更新时间 | 2024年4月30日 02:44 |
PHP版本: | 5.5 及以上 |
WordPress版本: | 6.5.2 |
Google Analytics is a powerful tool for monitoring website performance. With Google Analytics, you’ll gain insights such as what geographic areas your visitors are coming from, what channels led them to your website (paid search, social, organic, etc.), what devices they use to browse your site, and what other websites are sending visitors to your site. But Google Analytics does much more than simply show you how visitors are finding your website. Once visitors land on your site, Google Analytics can show you what pages they visit, how much time they spend on each page, what links they click, what files they download, what pages are converting visitors to subscribers or buyers, and much more. Armed with this data, you can create valuable content perfectly targeted to your visitors’ needs. When you know what topics your visitors search for and spend the most time on when they reach your website, you can create content expanding on or covering related topics to keep them coming back for more.
Using Google Analytics on your WordPress website is a must for monitoring your website’s traffic and gaining valuable visitor insights. There are two ways to use Google Analytics on WordPress:
Google Analytics tracking code is a block of JavaScript code that executes Google Analytics tracking when a visitor loads a page on your website. The script that triggers these events must be loaded on every page in order for Google Analytics tracking to work. That doesn't mean you need to become an expert in JavaScript code or spend hours manually inserting Google Analytics tracking code on every page of your WordPress website. You can insert the tracking code in your header.php file so that it automatically loads on every page, or you can install the Google Analytics Dashboard for WordPress plugin and follow a few simple steps to get Google Analytics tracking setup in minutes by authenticating with Google. Even if you prefer the traditional manual option of adding the UA tracking code to every page, the Google Analytics Dashboard for WordPress plugin makes that process easier, too. Simply click “Manually enter Tracking ID” and paste your Google Tracking code into the box that appears. Then, just click “Save Changes,” and your code will instantly be live on all your pages. Click here for more details on this process. However, keep in mind that using this option means your dashboards won’t appear, so to get the most from the Google Analytics Dashboard for WordPress plugin, we recommend using the authenticate with Google setup option from our latest update.
There are many ways to leverage Google Analytics to improve your WordPress website’s SEO. SEO, or search engine optimization, is the practice of tracking and analyzing website data to improve organic traffic. But tracking traffic and other website metrics alone doesn’t magically improve your SEO. Here are a few ways to leverage all the valuable Google Analytics data to improve your WordPress website’s SEO, start improving your search engine rankings, and growing your website traffic organically:
When the General Data Protection Regulation (GDPR) was first introduced, website publishers everywhere were fraught with anxiety about what it would mean for their businesses and overwhelmed with the steps they needed to take to ensure compliance. If you’re running third-party tools on your website, such as share buttons and follow buttons or Google Analytics, these tools are likely collecting information about your website visitors – and that means you’re on the hook for GDPR compliance, especially if you get visitors from the EU. Fortunately, a number of useful compliance tools emerged to make compliance easier for publishers and businesses of all sizes. Consent Management Platforms (CMPs) are tools designed to inform visitors about the data a website or third-party tool is collecting about them and how that data will be used, provide an opt-in option for users to grant consent to have their data collected (as well as an opt-out option to decline), and communicate the consent status of users and cookies to other vendors operating within the IAB Framework. CMPs also offer transparency to users, providing granular information on the companies their data will be shared with and allowing them to monitor and control who receives their data. Finally, CMPs provide a centralized database for users to review the most up-to-date privacy policies and information related to their data collection. If you’re using Google Analytics on your WordPress website or a plugin like the Google Analytics Dashboard for WordPress, you must comply with GDPR. A CMP is the best way to manage the consent process for GDPR compliance. With ShareThis’ GDPR Compliance Tool built right in to the Google Analytics Dashboard for WordPress plugin, you can easily stay on top of getting consent to collect your visitors’ data and provide visitors with clear and valuable information. Our GDPR Compliance Tool is compliant with the IAB’s Transparency & Consent Framework v2.0, meaning it meets the latest standards for transparency in data collection and consent management. Check out our GDPR checklist for publishers & website owners to make sure you’re meeting the requirements or download our GDPR Compliance Guide for detailed information on GDPR compliance with ShareThis’ tools.
Universal Analytics is Google’s legacy Google Analytics. The code line will normally look like so: UA-XXXXXXX. This is the product that we have been using on your behalf to collect data for your Google Analytics.
Google Analytics 4 (GA4) is the latest update from Google Analytic’s platform. GA4's biggest update is allowing you to track both websites and apps under one account. There are also many new reporting features and it provides deeper insights into how users interact with your content. On the back end, the way data is maintained is a little bit different, which will ultimately provide all of us new ways to track, measure and eventually analyze traffic.
In theory, you don’t have to set up GA4 if you do not want to. Our ShareThis Google Analytics plugin will continue working with UA and support it as long as possible. However, like all new products that are brought to market, Google will only release new features that support GA4 moving forward. We highly suggest setting up a GA4 property even if you do not plan on using it for the moment. That way, when you do decide to make the cross over, you’ll have access to historical data as soon as possible. Our plugin will collect data at the same time for UA and GA4. Setting up a GA4 property is very easy and we provide the ability to connect through your Wordpress admin section.
Nothing will happen to your existing data! Your UA property will be kept as is. If you do decide to start using GA4, a new property will be created in Google Analytics. As with all new properties, it means there won’t be any data (you start from scratch). Luckily we’ve allowed you to use both UA and GA4 properties and view both analytics on the same dashboard.
Google has already switched to supporting Google Analytics 4. However, you can still use your UA code and it will continue to collect data.