Title: GA Link Tracker
Author: project107
Published: <strong>9 d'abril de 2013</strong>
Last modified: 4 de setembre de 2014

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# GA Link Tracker

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

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

 * [Detalls](https://ca.wordpress.org/plugins/ga-link-tracker/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/ga-link-tracker/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/ga-link-tracker/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/ga-link-tracker/#developers)

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

## Descripció

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`

## Instal·lació

 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!

## PMF

  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.

## Ressenyes

![](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 de setembre de 2016 1 resposta

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">

 [ Llegiu totes les 3 ressenyes ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/)

## Col·laboradors i desenvolupadors

«GA Link Tracker» és programari de codi obert. La següent gent ha col·laborat en
aquesta extensió.

Col·laboradors

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

[Traduïu «GA Link Tracker» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/ga-link-tracker)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/ga-link-tracker/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/ga-link-tracker/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/ga-link-tracker/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/ga-link-tracker/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

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.

## Meta

 *  Versió **2.2**
 *  Darrera actualització **fa 12 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 3.3 o posterior **
 *  Provada fins a **4.0.38**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/ga-link-tracker/)
 * Etiquetes
 * [analytics](https://ca.wordpress.org/plugins/tags/analytics/)[events](https://ca.wordpress.org/plugins/tags/events/)
   [google analytics](https://ca.wordpress.org/plugins/tags/google-analytics/)[link tracker](https://ca.wordpress.org/plugins/tags/link-tracker/)
   [links](https://ca.wordpress.org/plugins/tags/links/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/ga-link-tracker/advanced/)

## Valoracions

 3.7 sobre 5 estrelles.

 *  [  2 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=2)
 *  [  1 valoració de 1 estrelles     ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/?filter=1)

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/ga-link-tracker/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/ga-link-tracker/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](http://www.project107.net)