---
title: "getEventName"
canonical: "https://support.appfire.com/space/PSJC/2416509032/getEventName"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Retrieves the event name.

Retrieves the event name.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getEventName() | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Return Type

**String**

## Example

```javascript
logPrint("ERROR", "Event name: " + getEventName());
```

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)