Skip to content

Commit 18fd337

Browse files
Add source option to examples in README (#353)
1 parent 4536411 commit 18fd337

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ app.use(
7272
gtm_preview: 'env-4',
7373
gtm_cookies_win: 'x',
7474
},
75+
source: 'https://customurl.com/gtm.js', // Add your own serverside GTM script
7576
defer: false, // Script can be set to `defer` to speed up page load at the cost of less accurate results (in case visitor leaves before script is loaded, which is unlikely but possible). Defaults to false, so the script is loaded `async` by default
7677
compatibility: false, // Will add `async` and `defer` to the script tag to not block requests for old browsers that do not support `async`
7778
nonce: '2726c7f26c', // Will add `nonce` to the script tag

0 commit comments

Comments
 (0)