Be a Supporter!

Browse Sections

Newgrounds Wiki: Event

Description Handles logging of custom events.

Event.logEvent

Return to Top ^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