Facebook fan page tracking (app)

I've been struggling for 2 days, trying to make this work.... have tried many options/ways to get it done... nothing is working :frowning:

1) have fan page app, which is really a wordpress page be tracked. (this works-- shows up in reports)
2) have a link (image, text, whatever type of link), that is tracked as a goal when clicked. (this is NOT working)

ways I have tried to get the click to track as a goal

a) class="piwik_link" (on the link)
b) onclick="_paq.push(['trackGoal', 1]);" (force manually on the click) -- i have this working on other pages, but does not on iframe fan page
c) used a php tracking / redirect page: tried 2 ways:

require_once "PiwikTracker.php";
$t = new PiwikTracker( $idSite = 1, ‘https://site.com/piwik/’);
$t->doTrackPageView('CLICK TRACK PAGE');

$gotoURL = "newpage";
header('Location: '.$gotoURL, true, 301);



NOTE: C2 above will track the page, IF I DO NOT redirect.

NOTE: C2, i did try a php redirect AND set the timer to 2000, but still did not work.

what am I doing wrong?
surely piwik can do this?