Title: GA Link Tracker
Author: project107
Published: <strong>9. april, 2013</strong>
Last modified: 4. september, 2014

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# GA Link Tracker

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

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

 * [Detaljer](https://da.wordpress.org/plugins/ga-link-tracker/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/ga-link-tracker/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/ga-link-tracker/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/ga-link-tracker/#developers)

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

## Beskrivelse

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`

## Installation

 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!

## FAQ

  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.

## Anmeldelser

![](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. september, 2016 1 svar

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

 [ Læs alle 3 anmeldelser ](https://wordpress.org/support/plugin/ga-link-tracker/reviews/)

## Bidragsydere & udviklere

“GA Link Tracker” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “GA Link Tracker” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/ga-link-tracker)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/ga-link-tracker/), tjek
[SVN repository](https://plugins.svn.wordpress.org/ga-link-tracker/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/ga-link-tracker/) via
[RSS](https://plugins.trac.wordpress.org/log/ga-link-tracker/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

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

 *  Version **2.2**
 *  Senest opdateret **12 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.3 eller højere **
 *  Testet op til **4.0.38**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/ga-link-tracker/)
 * Tags
 * [analytics](https://da.wordpress.org/plugins/tags/analytics/)[events](https://da.wordpress.org/plugins/tags/events/)
   [google analytics](https://da.wordpress.org/plugins/tags/google-analytics/)[link tracker](https://da.wordpress.org/plugins/tags/link-tracker/)
   [links](https://da.wordpress.org/plugins/tags/links/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/ga-link-tracker/advanced/)

## Bedømmelser

 3.7 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/ga-link-tracker/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://www.project107.net)