Linux 软件免费装

Plugin Name

开发者 pavelk27
更新时间 2017年2月25日 00:01
捐献地址: 去捐款
PHP版本: 4.0.1 及以上
WordPress版本: 4.7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

google analytics link tracking

下载

1.0 1.0.1

详情介绍:

The simple plugin for adding Google Analytics Event tracking links via default WordPress WYSIWYG editor - TinyMCE. Please note, that you must have Google Analytics API (analytics.js) installed on your website in order for these links to work correctly. The plugin adds a shortcode button into the page editor and processes it when the page loads.

安装:

  1. Upload the plugin files to the /wp-content/plugins/ga-link-tracking-for-wysiwyg directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Use the WYSIWYG editor for adding shortcodes to posts/pages via the new button with Google Analytics logo.

屏幕截图:

  • A new button which the plugin adds
  • A pop-up window with link options
  • A shortcode added into content area
  • Processed shortcode in page content
  • Google Analytics screenshot with Real-Time events data

升级注意事项:

No upgrades so far!

常见问题:

I'm getting 'ga is not defined' error in console

Please check if there's analytics.js: https://developers.google.com/analytics/devguides/collection/analyticsjs/ installed on your website.

It's still not working!

Try to install a browser extension for GA tags testing, as "Google Analytics Debugger" for example, to see if there are any errors with your codes. Also, keep in mind that you'll need to wait at least 24 hours, before events data will appear in reports. Though you can check Real-Time data in Real-Time\Events section of your GA panel.

更新日志:

1.0.1 Code clean-up and sanitization. 1.0 First version with basic functionality