Skip to content

Osano script#2704

Merged
AndyMBridges merged 4 commits intomainfrom
osano-script
Feb 16, 2026
Merged

Osano script#2704
AndyMBridges merged 4 commits intomainfrom
osano-script

Conversation

@AndyMBridges
Copy link
Contributor

@AndyMBridges AndyMBridges commented Feb 12, 2026

Description

Place osano.js first in the <head> tag - https://docs.osano.com/hc/en-us/articles/22472073125652-Osano-and-Google-Tag-Manager#direct-install


Note

Medium Risk
Adds a third-party CMP script injection into the page head, which can affect runtime behavior, privacy/compliance, and script ordering relative to GTM.

Overview
Moves the Osano CMP osano.js include out of docusaurus.config.js scripts and into a new custom plugin (src/plugins/osano.ts) that injects the script via injectHtmlTags().

Registers the new plugin in docusaurus.config.js so the Osano script is added to the document <head> (to control load ordering versus other tags like Google Tag Manager).

Written by Cursor Bugbot for commit 7e4b0d2. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview, Comment Feb 16, 2026 8:54am

Request Review

@AndyMBridges AndyMBridges marked this pull request as ready for review February 12, 2026 19:03
@AndyMBridges AndyMBridges requested review from a team as code owners February 12, 2026 19:03
@AndyMBridges AndyMBridges requested a review from Jwhiles February 12, 2026 19:05
Copy link
Contributor

@bgravenorst bgravenorst left a comment

Choose a reason for hiding this comment

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

lgtm

@Jwhiles
Copy link
Contributor

Jwhiles commented Feb 12, 2026

I don't know if this matters, but there are other scripts that come before it in the head

image

Is the idea that it needs to be the first script loaded?

@AndyMBridges AndyMBridges merged commit 86b7a34 into main Feb 16, 2026
17 of 18 checks passed
@AndyMBridges AndyMBridges deleted the osano-script branch February 16, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants