Skip to content

Commit 2ab2d8c

Browse files
committed
Update doc string to reflect function changes
1 parent 1803641 commit 2ab2d8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/analytics/src/helpers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ export function wrapOrCreateGtag(
318318
}
319319

320320
/**
321-
* Returns first script tag in DOM matching our gtag url pattern.
321+
* Returns the script tag in the DOM matching both the gtag url pattern
322+
* and the provided data layer name.
322323
*/
323324
export function findGtagScriptOnPage(
324325
dataLayerName: string

0 commit comments

Comments
 (0)