# AB Tasty tag compilation

Compiling your AB Tasty tag enables you to **push the modifications you have made to your AB Tasty campaigns** (since the previous update) **on your website**.\
The tag is **updated automatically when you change the status of a campaign** but you can also ‘force’ compilation by clicking the tag button in the header of the platform.

## Compilation process <a href="#h_01hw38hykym88svcgcsffp5gp7" id="h_01hw38hykym88svcgcsffp5gp7"></a>

The tag compilation process includes 4 major steps. When the tag is being refreshed, you will be able to follow its progress via an animated tooltip.

<img src="/files/dVwjNueTZ93uoKuJrOKJ" alt="" width="169">

|        | **Step name**            | **Explanation**                                                                                  |
| ------ | ------------------------ | ------------------------------------------------------------------------------------------------ |
| Step 1 | Sending request          | AB Tasty has taken your action into account.                                                     |
| Step 2 | Processing compilation   | All the modifications made to your campaigns are being compiled in a file.                       |
| Step 3 | Sending to server        | The file containing all the modifications is being sent to the AB Tasty server for verification. |
| Step 4 | Publishing modifications | The modifications are being verified and implemented into your website.                          |

The process may take a few seconds to a few minutes. We recommend waiting until compilation is complete before performing any actions on the platform.

## Compilation result <a href="#h_01hw38hykyyt6h8n85r7fbcvg6" id="h_01hw38hykyyt6h8n85r7fbcvg6"></a>

The compilation can either succeed or fail.\
When all steps are completed successfully, the following tooltip is displayed:

<figure><img src="/files/WLb0vVPAhomGtUimfBCf" alt="" width="375"><figcaption></figcaption></figure>

In this case, all the modifications you have made in AB Tasty up until now will be in production on your website.\
If AB Tasty identifies an error on your account or has server issues during one step of the process, the compilation fails. In this case, the modifications made after the last successful update won’t be visible on your website.

### Server issue <a href="#h_01hw38hykyy4zyytmck91mddvg" id="h_01hw38hykyy4zyytmck91mddvg"></a>

If AB Tasty encountered a server issue, the following tooltip will be displayed:

<figure><img src="/files/P1jcGXwjiy6jQyAvsEIn" alt="" width="375"><figcaption></figcaption></figure>

We recommend trying to refresh the tag again and if the problem persists, contacting your dedicated CSM.

### Account issue <a href="#h_01hw38hyky3z8j61kqszwpsyyh" id="h_01hw38hyky3z8j61kqszwpsyyh"></a>

If AB Tasty identifies error(s) on your account, you will see the following:

<figure><img src="/files/BdRKwBo23aePjoTb2mKj" alt=""><figcaption></figcaption></figure>

The section displays the list of affected campaign(s) or pages with identified errors for each. AB Tasty suggests solutions to fix the issue.&#x20;

Different issues can cause these errors, but they are mainly due to incorrect pieces of code in your account or campaigns.

\
**To correct these errors:**

1. Select one error line. Error details are displayed.

   <figure><img src="/files/0ituC08bvp6OGVPe1aTq" alt=""><figcaption></figcaption></figure>
2. Read the description of the errors and the suggested solution.
3. Click **Go to campaign** (for a campaign) or **Go to page** (for a settings page).
4. Correct or remove the incorrect piece(s) of code.
5. Repeat the process for all errors and try to refresh your tag again.

Once you have corrected all the identified errors, tag compilation should succeed.

{% hint style="info" %}
The Framework compilation section also shows the date of the last successful tag update. This may be useful if you want to see whether your recent changes are visible on your website or not.
{% 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/ab-tasty-tag-compilation.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.
