Title: DanP Google Analytics Pageview Sync
Author: Dan Poulton
Published: <strong>2022 年 1 月 13 日</strong>
Last modified: 2022 年 1 月 26 日

---

搜索插件

![](https://ps.w.org/danp-google-analytics-pageview-sync/assets/banner-772x250.png?
rev=2657268)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/danp-google-analytics-pageview-sync/assets/icon-256x256.png?
rev=2657268)

# DanP Google Analytics Pageview Sync

 作者：[Dan Poulton](https://profiles.wordpress.org/danpoulton/)

[下载](https://downloads.wordpress.org/plugin/danp-google-analytics-pageview-sync.zip)

 * [详情](https://cn.wordpress.org/plugins/danp-google-analytics-pageview-sync/#description)
 * [评价](https://cn.wordpress.org/plugins/danp-google-analytics-pageview-sync/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/danp-google-analytics-pageview-sync/#developers)

 [支持](https://wordpress.org/support/plugin/danp-google-analytics-pageview-sync/)

## 描述

Export the Google Analytics pageviews for all your pages and posts, and copy the
data into your WordPress database.

See your pageviews in the WordPress Admin screen next to your pages and posts!

You can then order your pages and posts by pageviews, using the “danp-dot-net-ga-
page-views” meta key.

Plus, you can output the number of pageviews to your visitors, by using the shortcode
like this:

 * Automatically detect the ID of the page you’re using the shortcode on: [danp-
   ga-pageviews]
 * Set the page/post ID and output that anywhere you like [danp-ga-pageviews id=
   999]

[Getting Started Guide](https://dan-p.net/wordpress-plugins/danp-google-analytics-pageview-sync)

## 屏幕截图

[⌊This is where you can add your Bitly API token and generate short URLs for all
posts and pages. Location: Dashboard > Settings > Reading.⌉⌊This is where you can
add your Bitly API token and generate short URLs for all posts and pages. Location:
Dashboard > Settings > Reading.⌉[

This is where you can add your Bitly API token and generate short URLs for all posts
and pages. Location: Dashboard > Settings > Reading.

## 常见问题

### How do I get a Google Analytics account?

You can easily set up a Google Analytics account with any Google Account. See this
[support article](https://support.google.com/analytics/answer/1008015?hl=en) from
Google.

### How do I get a Google API token?

You will need a JSON API Token from [Google Cloud Platform](https://console.cloud.google.com/apis/).
See the [quick start guide](https://dan-p.net/wordpress-plugins/danp-google-analytics-pageview-sync).

### How do I grant access to my Google Analytics profile?

You need to grant your Google Cloud Platform Service Account with permissions in
Google Analytics. See the [quick start guide](https://dan-p.net/wordpress-plugins/danp-google-analytics-pageview-sync).

### How do I get a Google Analytics “Profile ID”?

Login to Google Analytics and click Admin. See the [quick start guide](https://dan-p.net/wordpress-plugins/danp-google-analytics-pageview-sync)
for more information.

### Where do I enter my API token?

A new page is created in the WordPress Dashboard called ‘Google Analytics Pageview
Sync’.

### How do I change plugin settings?

A new page is created in the WordPress Dashboard called ‘Google Analytics Pageview
Sync’. You can enter your Profile ID and upload your JSON API Key there.

### How do I start syncing data?

A new page is created in the WordPress Dashboard called ‘Google Analytics Pageview
Sync’. You can start a bulk update there and update the settings to automatically
sync pageviews either daily or weekly.

## 评价

此插件暂无评价。

## 贡献者及开发者

「DanP Google Analytics Pageview Sync」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Dan Poulton ](https://profiles.wordpress.org/danpoulton/)

[帮助将「DanP Google Analytics Pageview Sync」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/danp-google-analytics-pageview-sync)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/danp-google-analytics-pageview-sync/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/danp-google-analytics-pageview-sync/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/danp-google-analytics-pageview-sync/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/danp-google-analytics-pageview-sync/)。

## 更新日志

#### 1.0

 * This is the first version!

#### 1.0.1

 * The Google API PHP Client is now bundled as a ZIP folder to prevent issues. The
   plugin requires file permissions to unzip it.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**4 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  PHP 版本 ** 8.0.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/danp-google-analytics-pageview-sync/)
 * 标签
 * [google analytics](https://cn.wordpress.org/plugins/tags/google-analytics/)[page views](https://cn.wordpress.org/plugins/tags/page-views/)
   [pageviews](https://cn.wordpress.org/plugins/tags/pageviews/)
 *  [高级视图](https://cn.wordpress.org/plugins/danp-google-analytics-pageview-sync/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/danp-google-analytics-pageview-sync/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/danp-google-analytics-pageview-sync/reviews/)

## 贡献者

 *   [ Dan Poulton ](https://profiles.wordpress.org/danpoulton/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/danp-google-analytics-pageview-sync/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://dan-p.net/donate)