Skip to content

Documentation should tell to load the TelemetryDeck SDK async? #9

@Timac

Description

@Timac

The installation instructions of TelemetryDeck for a website are:

<script
  src="https://cdn.telemetrydeck.com/websdk/telemetrydeck.min.js"
  data-app-id="<YOUR APP ID>"
></script>

This means that downloading the TelemetryDeck SDK is blocking the browser. Shouldn't async be used to tell the browser to download the script in parallel with the rest of the page? Or am I missing something because I don't think that TelemetryDeck need to block the rendering of your page?

<script async
  src="https://cdn.telemetrydeck.com/websdk/telemetrydeck.min.js"
  data-app-id="<YOUR APP ID>"
></script>

See the documentation here:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions