Reputation: 2446
I want to start using Google Tag Manager for all tags on websites, but I just read that it doesn't support synchronous tags.
I'm not entirely sure if tracking pixel, image tags that have an external js as source, are in that category or not. I'm not sure if tracking pixels are blocking or not.
Can someone please clarify why tracking pixels are or aren't synchronous?
Upvotes: 0
Views: 3319
Reputation: 2383
tl;dr: You should be able to include most of the tags that you want to include in GTM[1]. The text in GTM refers to how it loads the tags and it does so asynchronously. Since most of the tracking pixels are already asynchronous, you should be fine.
[1]: There might be a slight data loss for cases where a user comes to your sight and immediately leave before the JavaScript could load. For most modern internet connections, this should not happen unless user really came to the website by mistake and pressed back button immediately.
Long Answer:
Synchronous or Asynchronous behavior of a script in web world means how the script is loaded. The pros and cons of the two methods are:
Sync:
Async:
Upvotes: 1