Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commit

Permalink
added the expectd parameter to the campaign method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
alebianco committed Feb 13, 2014
1 parent 92a0aa4 commit a5833ed
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,16 @@ internal class Tracker implements ITracker {
return getReferrer() != null;
}
public function getCampaignData():String {
return handleResultFromExtension(context.call("getCampaignData"), String) as String;
return handleResultFromExtension(context.call("getCampaignData", id), String) as String;
}
public function getReferrer():String {
return handleResultFromExtension(context.call("getReferrer"), String) as String;
return handleResultFromExtension(context.call("getReferrer", id), String) as String;
}
public function setCampaignData(data:String):void {
handleResultFromExtension(context.call("setCampaignData"));
handleResultFromExtension(context.call("setCampaignData", id, data));
}
public function setReferrer(uri:String):void {
handleResultFromExtension(context.call("setReferrer"));
handleResultFromExtension(context.call("setReferrer", id, uri));
}

public function send(data:Hit):void {
Expand Down

0 comments on commit a5833ed

Please sign in to comment.