Be a Supporter!

Browse Sections

Newgrounds Wiki: loadCustomLink


import com.newgrounds.API;
  • 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.