Plugin hau ez da probatu WordPressen azken 3 bertsio garrantzitsuenekin. Baliteke, jada, mantentze edo euskarririk ez izatea, eta, WordPressen bertsio berriagoekin erabiltzen denean, bateragarritasun arazoak izan ditzake.

GA Link Tracker

Deskripzioa

A tiny WordPress plugin to track events of link clicks in the main content area of the site. Install it and forget about it.

Links will show up under Events in the Analytics site, and will have a category of ‘Links’, a label of ‘PageID: CURRENT_PAGE_URI’, and the value of the href of the link being tracked.

Example of code added to properly formed URLs in main post content:

<a onclick="ga('send', 'event', 'Links', 'click', 'http://twitter.com/chris_dickow');" href="http://twitter.com/chris_dickow">@chris_dickow</a>

The above example assumes the href of the link is: http://www.myurl.com/my_blog/my_link.html

Instalazioa

  1. Upload GA-Link-Tracker.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. All done!

MEG

How do I configure this?

Short answer: You don’t. There are no configurable options to this script, as it simply appends event tracker behavior to your links.

What other data does it collect?

None.

What else does it do?

Nothing.

Berrikuspenak

2016(e)ko irailaren 3(a) 1 reply
So disappointed. In our installation the 'PageID: CURRENT_PAGE_URI' isn't working. Instead of using the current uri it uses the first one used on the page and applies this to every link on the page. e.g. on all-of-my-pages.html it applied the following to each link. <a onclick="ga('send', 'event', 'Links', 'click', 'http://first-link-used-in-page.html');" href="current-page.html" target="_blank">
Irakurri 3 berrikuspenak

Laguntzaileak eta Garatzaileak

“GA Link Tracker” software librea da. Ondoko pertsonek egin dizkiote ekarpenak plugin honi.

Laguntzaileak

Itzul zaitez GA Link Tracker zure hizkuntzara.

Garapena interesatzen zaizu?

Araka kodea, begiratu SVN biltegia edo harpidetu garapen erregistrora RSS bidez.

Aldaketen loga

v2.2 – Fixed conflict with abbr tag

v2.1 – Minor bugfix

v2.0 – Updated to use Google’s newer analyitcs.js file

v1.0 – Initial release.