Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions docs/analytics.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
# Analytics

## loadGTag

Example:

```ts
await loadGTag('UA-634xxxx-xx')
// gtag is loaded now
```

## loadGTM

Example:

```ts
await loadGTM('GTM-WJ6xxx')
// GTM is loaded now
```

## loadHotjar

Example:
Expand Down
2 changes: 1 addition & 1 deletion docs/loadScript.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# loadScript, loadCSS

```typescript
await loadScript('https://gtm.com/script.js')
await loadScript('https://abc.com/script.js')
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😁

// know that your script is loaded by now
```

Expand Down