Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Analytics Event Tracking for GTAG

Описание

This plugin makes it easy to add Google Analytics Events GTAG Events for inbound or outbound links from your website. Especially useful for click tracking or analyzing landing page interactions.

You can also choose via the settings page to use the analytics.js or Universal Analytics event tracking code.

This plugin will add a simple to use WP Editor Button for entry of link, link text, and the Analytics event information.

Within the WP Editor, the track-able links will be colored red instead of blue.

Also adds a lightweight frontend Javascript file to enable the tracking.

1.2

Fix error using universal.

1.1

Add options page to include universal analytics events

1.0

Initial Build

Скриншоты

  • WP TinyMCE Editor window with link builder.
  • Page with regular links and tracking links enabled.

Установка

  1. Upload gtag-event-tracking to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Часто задаваемые вопросы

Do I have to use the TinyMCE button to add event tracking?

No, you can simply add data-track=»event» to trigger the event, and use data-category, data-label, and data-action to include those elements in the event.

Does this track all click events?

If you use the simple editor button, or add the data-event = «true» to any <a> tag, then it will track the event in Google Analytics.

Does this only work with GTAG?

There are options in the settings page of the plugin to choose Universal Analytics analytics.js

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Analytics Event Tracking for GTAG» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Analytics Event Tracking for GTAG» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.