Support » Plugin: WP-Piwik » [Plugin: WP-Piwik] Feature: Track Internal Links as External

  • TheDudeAbides


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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author braekling


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

    Plugin Author braekling


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

    Postponed is not abandoned. 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-Piwik] Feature: Track Internal Links as External’ is closed to new replies.