Skip to content

Commit c5fde84

Browse files
Add HubSpot tracking script to Head component.
Integrated the HubSpot tracking script with the `Head.astro` component to enable analytics and tracking functionality. The script is added inline with async and defer attributes for optimized performance.
1 parent 9ee30a2 commit c5fde84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Head.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ const openGraphImageUrl = getImagePath({ url, site });
88

99
{head.map(({ tag: Tag, attrs, content }) => <Tag {...attrs} set:html={content} />)}
1010
{openGraphImageUrl && (<meta property="og:image" content={openGraphImageUrl} />)}
11-
11+
<script is:inline type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/47428297.js"></script>

0 commit comments

Comments
 (0)