# Log Event

![](/files/DiTqsaa6yy5fZNKhXSlh)

{% tabs %}
{% tab title="First Tab" %}
**eventName :** You must enter the name that we will give to our event.

**payload :** Information must be entered that we want to store or save in our event.

**Step by Step :**
{% endtab %}

{% tab title="Second Tab" %}
**On Error :** Se ejecuta al ingresar un dato invalido o no almacenamos información en nuestro evento.

OutVars&#x20;

`Null`

**On Success :** Se ejecuta en cuanto se registre nuestro evento con la información ingresada.

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apphive.io/reference/funciones/google-analytics/log-event.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
