AB Tasty hosted tag implementation
The Tag Implementation Page supports two hosting methods:
AB Tasty Hosted – Default
AB Tasty Delegated
This article helps you implement a Tag hosted by AB Tasty. If you want to delegate the Tag, please read Tag domain delegation implementation article.
For a quicker tutorial read Set-up the AB Tasty Tag in 5 minutes.
To know how to select a domain and check your implementation, please read the full procedure on How to implement Generic Tag.
To choose between the hosting methods, read: Understand Tag Domain Delegation
Standard Implementation (recommended):
Make sure your domain is selected.
On the Implement the AB Tasty Tag field, select Standard.
Copy the content of the synchronous tag code.
Open your website code.
Paste the synchronous tag code between the
</head>tags of your pages.Go back to The Tag Implementation Page.
To finalize, click I’m done.
Once your account tag is installed, there's no need for further action: it's not a testing tag. For verification, refer to our How to QA the Generic Tag article.
Good to know:
We recommend that you place the code in the </head> section of your pages so changes are displayed more quickly. Otherwise, a
flickering effect may occur: your visitors may see the original page for a fraction of a second before they see the modified page. By calling our tag as high as possible in the source code of your page, our script can apply the changes before the content is displayed.
Custom Implementation
You can inject our tag using any Tag Management System (TMS). Ensure you follow best practices to prevent flickering:
Choose Synchronous Tag
Paste it within the
<head>section.
Warning:
Google Tag Manager (GTM): GTM may not support these guidelines. Their documentation advises against using GTM for A/B Testing tags.
Alternative Approaches: You may choose to place the AB Tasty tag in the <body>, set it as async, or defer it manually. Be aware this might cause flickering. Understand your visitors’ browser resource-loading mechanisms to evaluate when the tag will execute and how it affects targeting and business rules.
Last updated
Was this helpful?

