# Choose between Synchronous and Asynchronous methods

The generic tag comes in two versions: synchronous and asynchronous.

## The Synchronous mode

**In synchronous mode**, your website’s code scripts will load one after the other. A script can only be loaded if the previous one has finished loading. If a script is blocked, it will stop the script after it from loading.

![All\_About\_Tags\_03.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2Fgit-blob-b8865a71a0b6b55346fc3898358845ff0bf1f46a%2Fea5a2de464f72f45a1b1257d6b72c790.png?alt=media)

## Asynchronous mode

On the other hand, **in asynchronous mode**, the different calls to the scripts will be made at the same time. All the scripts will load at the same time. In this case, if a script hangs up, it will not stop the other scripts from loading.

![All\_About\_Tags\_04.png](https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2Fgit-blob-130ca34879dd7aac7a0ff9320b2dd1a3a1948f07%2F5c1dbfd49e5eb77e47d30b89b771ac21.png?alt=media)\
The disadvantage of an asynchronous tag is that the screen may seem to flicker if the modifications are applied after the website loads.

{% hint style="success" %}
In most cases, we recommend using the synchronous tag for AB Tasty. If the tag is placed in your website’s **\</head>** tag, you will be sure that your modifications will be applied immediately, before the website loads. This will avoid the flickering effect and will offer an optimal user experience.
{% endhint %}


---

# 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.abtasty.com/account/tag-integration/understand-ab-tasty-tag-implementation-methods/choose-between-synchronous-and-asynchronous-methods.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.
