00:00
00:00

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

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.