WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
Feature: Track Internal Links as External (3 posts)

  1. TheDudeAbides
    Member
    Posted 2 years ago #

    Hi there,

    I'm really enjoying using this plugin and being able to ditch Google Analytics. However there's one feature I make heavy use of with GA + Yoast's plugin for it, and that was being able to track internal links as external.

    It lets you specify what links to apply a manual onclick="" tracking parameter to, whether it's an individual link ie mysite.com/specialoffer or all links that being with /recommends/, /go/, etc.

    Piwik offers something similar with "trackLink" which looks like:

    onClick="javascript:piwikTracker.trackLink(url, linkType);"

    So if I entered mysite.com/specialoffer then all places it was found(including in widgets) it would apply:

    onClick="javascript:piwikTracker.trackLink('/specialoffer', 'link');"

    And I could further set a piwik goal for an external link that contains "specialoffer" and it would work(I've tested it to be sure).

    I'd be really interested in seeing this feature added as it's pretty vital to what I'm doing, and am prepared to chip in whatever way I can.

    http://wordpress.org/extend/plugins/wp-piwik/

  2. braekling
    Member
    Plugin Author

    Posted 2 years ago #

    Sounds interesting. I think I'll give it a try in 0.9.0.

  3. braekling
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry, won't be part of 0.9.0. But I'll keep this in mind.

    Postponed is not abandoned. ;-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags