# Actions

Below are the various rule actions that the gtag extension enables within Adobe Tags. If you're unfamiliar with rule actions within Tags, check out the [official Adobe documentation](https://docs.adobelaunch.com/getting-started-1/general-launch-configuration-and-settings/add-data-elements-and-rules). To setup an action, you'll need to first create your rule, then under the actions select the "Google Global Site Tag (gtag)" extension, and then select the action type that matches what you want to do. A list of actions and links to their documentation can be found below.

![The actions available with the gtag extension.](/files/-LZhiZK564hQUUH7Ymij)

## Preload the gtag.js library

This action creates the necessary JavaScript variables and functions that the gtag.js library uses, configures the Google products (your accounts), and loads the gtag.js library from Google's servers.&#x20;

{% content-ref url="/pages/-LZfZCcsxGwmR11pncKC" %}
[Preload the gtag.js library](/analytics/adobe-launch/gtag/actions/load.md)
{% endcontent-ref %}

## Set persistent values

This action lets you set persistent values to all accounts that send a page view or event following this action.&#x20;

{% content-ref url="/pages/-LZfZf6MhgJ2RtezYAc7" %}
[Set persistent values](/analytics/adobe-launch/gtag/actions/set.md)
{% endcontent-ref %}

## Send a page view

This action lets you send a page view server call to Google — similar to what a browser load would send if the tag were directly on the page instead of in Tags.

{% content-ref url="/pages/-LZfZbm-3aegN0kRL15o" %}
[Send a page view](/analytics/adobe-launch/gtag/actions/pageview.md)
{% endcontent-ref %}

## Send an event

This action lets you send an event to Google. An event is typically an action you want to track that may or may not require a browser refresh, such as a form submission, video view, or button click.

{% content-ref url="/pages/-LZfZdFN2GapZbuTIBbY" %}
[Send an event](/analytics/adobe-launch/gtag/actions/event.md)
{% endcontent-ref %}


---

# 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.acronym.com/analytics/adobe-launch/gtag/actions.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.
