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!

Newgrounds Wiki: Event

Description Handles logging of custom events.

Event.logEvent

Logs a custom event to your API stats.

Parameters:

event_name - string
The name of your custom event as defined in your Referrals & Events settings.

host - string
The domain hosting your app. Example: "newgrounds.com", "localHost"

Returns:

event_name - string