Title: GA Link Tracker
Author: project107
Published: <strong>9.4.2013</strong>
Last modified: 4.9.2014

---

Hae lisäosia

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/ga-link-tracker.svg)

# GA Link Tracker

 [project107](https://profiles.wordpress.org/project107/)

[Lataa](https://downloads.wordpress.org/plugin/ga-link-tracker.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/ga-link-tracker/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/ga-link-tracker/#reviews)
 *  [Asennus](https://fi.wordpress.org/plugins/ga-link-tracker/#installation)
 * [Kehitys](https://fi.wordpress.org/plugins/ga-link-tracker/#developers)

 [Tuki](https://wordpress.org/support/plugin/ga-link-tracker/)

## Kuvaus

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`

## Asennus

 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!

## UKK

  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.

## Arvostelut

![](https://secure.gravatar.com/avatar/42a0e7bb767c2b9e58f483c7b2836fe193090f295fccbf029d0f8bc824156da2?
s=60&d=retro&r=g)

### 󠀁[label of 'PageID: CURRENT_PAGE_URI' isn't working](https://wordpress.org/support/topic/label-of-pageid-current_page_uri-isnt-working/)󠁿

 [dxlab](https://profiles.wordpress.org/dxlab/) 3.9.2016 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">

 [ Lue kaikki 3 arvostelua. ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/)

## Avustajat & Kehittäjät

“GA Link Tracker” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet
tämän lisäosan kehittämiseen.

Avustajat

 *   [ project107 ](https://profiles.wordpress.org/project107/)

[Käännä “GA Link Tracker” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/ga-link-tracker)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/ga-link-tracker/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/ga-link-tracker/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ga-link-tracker/)
by [RSS](https://plugins.trac.wordpress.org/log/ga-link-tracker/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

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.

## Metatiedot

 *  Version **2.2**
 *  Last updated **12 vuotta sitten**
 *  Active installations **10+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/ga-link-tracker/)
 * Tags
 * [analytics](https://fi.wordpress.org/plugins/tags/analytics/)[events](https://fi.wordpress.org/plugins/tags/events/)
   [google analytics](https://fi.wordpress.org/plugins/tags/google-analytics/)[link tracker](https://fi.wordpress.org/plugins/tags/link-tracker/)
   [links](https://fi.wordpress.org/plugins/tags/links/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/ga-link-tracker/advanced/)

## Arvosanat

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ga-link-tracker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ga-link-tracker/reviews/)

## Avustajat

 *   [ project107 ](https://profiles.wordpress.org/project107/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/ga-link-tracker/)

## Lahjoita

Haluatko tukea tämän lisäosan kehitystä?

 [ Tue tämän lisäosan tekijöitä ](http://www.project107.net)