[wordpress插件] Carolyn Google AnalyticsCarolyn Google Analytics

wordpress 插件 文章 2020-03-17 02:00 0 280 全屏看文
评分
100
描述

This is a (very) simple plugin for embedding a Google Analytics (GA) tracking code in your site.

这是一个(非常简单的)插件,用于在您的网站中嵌入Google Analytics(分析)跟踪代码。

It has two features:

它具有两个功能:

    • It stores the GA code as a site setting.

    • 它将GA代码存储为网站设置。

      This means no modifying theme files, which is especially useful in a Multisite context;

    • 这意味着无需修改主题文件,这在多站点环境中尤其有用;

    • The GA code is NOT inserted for logged-in users, meaning you won’t run up your visitor counts as you administer your site;
    • 未为登录用户插入GA代码,这意味着您在管理网站时不会增加访问者的数量;

    And that’s it!

    就是这样!

    It works with Google’s “Asynchronous” tracking code, which goes in the page’s head.

    它可以与Google的“异步”跟踪代码一起使用,该代码位于页面顶部。

安装步骤

    1. Install and activate the plugin, in the normal way;
    2. 以常规方式安装并激活插件;

    3. Go to Google Analytics and follow the various steps to generate your tracking code.

    4. 转到Google Analytics(分析),并按照各个步骤生成跟踪代码。

      Copy the entire tracking code to your clipboard;

    5. 将整个跟踪代码复制到剪贴板;

    6. From your site’s Dashboard, navigate to Settings -> Google Analytics;
    7. 从您网站的信息中心,导航至设置-> Google Analytics(分析);

    8. Paste your tracking code into the large box and click “Save Changes”;
    9. 将跟踪代码粘贴到大框中,然后点击“保存更改”;

    That’s it!

    就这样!

下载地址
https://downloads.wordpress.org/plugin/carolyn-google-analytics.zip
-EOF-