WordPress.org

Plugin Directory

Analytics CORE Tag – アクセス解析タグをテーマ編集なしで設置

Analytics CORE Tag – アクセス解析タグをテーマ編集なしで設置

Description

アクセス解析サービス「Analytics CORE」の計測タグを、テーマを編集せずにサイトへ設置するプラグインです。テーマ更新でタグが消えることがなく、LiteSpeed Cache・Autoptimize・WP Fastest Cache・Breeze などの高速化プラグインが JavaScript を結合・書き換えてもタグが壊れない形で出力します。サイトID未設定の状態では何も出力せず、外部への通信も発生しません。

Analytics CORE is a website analytics service (an external, hosted service — see “External services” below). This plugin adds its measurement tag to your site so you do not have to edit your theme.

Why a plugin instead of pasting the tag into your theme?

  • Theme updates cannot delete it. A tag pasted into header.php disappears the next time the theme updates.
  • Page-speed plugins cannot break it. Plugins that combine or minify JavaScript can pull an external tag into a bundled file and rewrite its URL. When that happens the tag can stop reporting — silently, with no error anywhere. This plugin outputs the attributes that LiteSpeed Cache, Autoptimize, WP Fastest Cache, Breeze and Cloudflare Rocket Loader look for, so the tag is left alone.
  • It only blocks combining, not deferring. Your page speed is not affected: the tag is async and can still be deferred by your cache plugin.
  • You can check it. One click fetches your own home page and confirms the tag is really there, and that its URL has not been rewritten.

Nothing is sent until you say so. Until you enter your Site ID and save, the plugin outputs nothing and contacts nothing.

You need an Analytics CORE account to use this plugin. A free plan is available.

External services

This plugin loads the measurement tag from, and sends measurement data to, Analytics CORE (https://analyticscore.jp), a service operated by Pifto Works.

When data is sent: only after you enter a Site ID and save the settings, and only for visits to the public part of your site.

What is sent: the page URL, the referring URL, screen size, device type, language, and the interactions the service measures (page views, clicks, scroll depth, custom events you define in the service). Your visitors’ IP addresses are not stored by the service; they are used transiently to derive a coarse region.

What is not sent: no data about you as the site owner — no administrator e-mail address, no user accounts, no post content.

  • Terms of service: https://analyticscore.jp/terms
  • Privacy policy: https://analyticscore.jp/privacy

Screenshots

Installation

  1. Install and activate the plugin.
  2. Go to Settings Analytics CORE.
  3. Paste the Site ID from your Analytics CORE dashboard and save.
  4. Click Check now to confirm the tag is live on your site.

FAQ

Do I need an account?

Yes. The plugin sends measurement data to the Analytics CORE service, which is where you view your reports. A free plan is available.

Does it work without this plugin?

Yes. The plugin is only a convenience: it outputs the same one-line snippet you can paste yourself. Every feature of the service works without it.

Will it slow down my site?

The tag is loaded asynchronously and the plugin adds no front-end CSS or JavaScript of its own. The plugin asks page-speed plugins not to combine the tag into a bundle, but it does not stop them from deferring it.

The check says the tag was bundled into another file. What do I do?

Add the tag to the “exclude from JS combine” list of your page-speed plugin, then clear both the page cache and the combined CSS/JS cache. Clearing only one of the two is the usual reason it appears not to work.

Does it track logged-in editors?

Not by default. Visits by users who can edit posts are excluded so your own browsing does not distort the numbers. You can turn this off.

Does it store anything on the visitor’s device?

Not by default. Telling new and returning visitors apart is off unless you turn it on.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Analytics CORE Tag – アクセス解析タグをテーマ編集なしで設置” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.4

  • Translations are now handled entirely by translate.wordpress.org: the bundled translation file and the load_plugin_textdomain() call were removed.

1.0.3

  • Code review fixes.

1.0.2

  • Links to your Analytics CORE dashboard from the settings screen.

1.0.1

  • Japanese translation bundled.
  • Do not let a page cache store the tagless HTML that logged-in editors see.

1.0.0

  • First release.