# Async and Defer?

**URL:** <https://community.hubspot.com/t/async-and-defer/71818>\
**Category:** APIs & Integrations\
**Created:** [December 26, 2022, 9:42am UTC](https://community.hubspot.com/t/async-and-defer/71818 "2022-12-26T09:42:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SPL](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@SPL](https://community.hubspot.com/u/SPL)\
**Post date:** [December 26, 2022, 9:42am UTC](https://community.hubspot.com/t/async-and-defer/71818/1 "2022-12-26T09:42:04Z")

</div>

This may well be posted to the incorrect community board. I am happy to remove and repost if necessary or migrate to another if that is possible.

While trying to reduce the considerable impact of hubspot’s third party scripts on a Bootstrap-underpinned website which sadly is proving to be almost impossible, I am looking at the embed script for the tracking snippet, which reads:

`<script type="text/javascript" id="hs-script-loader" async defer src="//js-eu1.hs-scripts.com/ourscriptidentifier.js"></script>`

And trying to understand the usage of both async and defer in one call.

Surely these together create the conditions for competition, and may as a result damage performance?

What am I missing here?

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [January 5, 2023, 9:16am UTC](https://community.hubspot.com/t/async-and-defer/71818/2 "2023-01-05T09:16:16Z")

</div>

Hi @SPL

Thank you for reaching out.

I want to tag some of our experts here - @Anton @Teun @BarryGrennan do you have any thoughts for @SPL on this?

Thank you!

Best

Tiphaine

---

<div class="post-metadata">

**Author:** ![SPL](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@SPL](https://community.hubspot.com/u/SPL)\
**Post date:** [January 8, 2023, 8:30am UTC](https://community.hubspot.com/t/async-and-defer/71818/3 "2023-01-08T08:30:28Z")

</div>

Hi,

According to some reading that your support tried to find around this it covers legacy browsers - that is, IE.

For those that cannot process the async directive including a defer directive will apparently instruct these softwares to wait.

I do not believe that removing this directive will reduce the impact of your third party script/s on our site to improve PageRank score. Not from what I can see when testing this, anyway.
