In Tag Manager, you can use async (asynchronous) tags or sync (synchronous) tags. In this article, we’ll explain how they differ.
Async tags
Async tags don’t slow down the page load. The browser loads all tags at once, without waiting for one to finish before moving to the next. For example, if we had four tags that each took 0.5 seconds to load, the total load time for all four would be 0.5 seconds.
Async tags are faster than sync tags and work best for collecting data. Most tags in Piwik PRO are async.
Note: To run async tags, you need to install the basic container on your site or app. Read more
Sync tags
Deprecated: Synchronous containers and tags will be discontinued by January, 2025. We recommend removing them and adjusting your setups accordingly. Read more
Sync tags load before the page content and wait for one to finish before moving on to the next. The page begins by loading the first tag, and only after it’s fully loaded, proceeds to the second tag. This process continues for the remaining tags. For example, if we had four tags, each taking 0.5 seconds to load, the total load time for all four tags would be 2 seconds.
Sync tags are commonly used for A/B tests.
Note: To run sync tags, you need to install the additional container on your site or app. Read more