Be a Supporter!

Browse Sections


Newgrounds Wiki: loadCustomLink

Usage

import com.newgrounds.API;
API.loadCustomLink(link_name:String);
  • link_name - The name of the link you want to open as defined in the "Referrals and Events" page of your API Settings.

This call opens a custom link in a new browser window and tracks the referral in your API Stats. You can use this to track referrals to co-author's sites, sponsor's sites, etc.