Skip to content

chore(css): Add trackers in a pixel and fonts#3648

Open
louismaximepiton wants to merge 7 commits into
ouds/mainfrom
ouds/main-lmp-add-pixel-tracker
Open

chore(css): Add trackers in a pixel and fonts#3648
louismaximepiton wants to merge 7 commits into
ouds/mainfrom
ouds/main-lmp-add-pixel-tracker

Conversation

@louismaximepiton

@louismaximepiton louismaximepiton commented Jun 30, 2026

Copy link
Copy Markdown
Member

Related issues

Closes #3334

Description

Checklists

Progression (for Core Team only)

Live previews

@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit bd49c2d
🔍 Latest deploy log https://app.netlify.com/projects/boosted/deploys/6a47a60535a67e0008be1ffb
😎 Deploy Preview https://deploy-preview-3648--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@louismaximepiton louismaximepiton marked this pull request as ready for review July 3, 2026 11:50
Copilot AI review requested due to automatic review settings July 3, 2026 11:50
@boosted-bot boosted-bot moved this from In Progress / Draft to Need Dev Review in 🟣 [Orange-Boosted-Bootstrap] PRs Board Jul 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a CSS-based “pixel tracker” intended to measure OUDS Web usage (sites + library version), and adds per-brand configuration for the tracker URL via composite tokens.

Changes:

  • Adds a #{$ouds-root-selector}::after pseudo-element in the shared root stylesheet to trigger a tracker asset request.
  • Introduces $ouds-pixel-tracker-url (per brand) in composite token files, embedding brand + library version in the query string.
  • Updates brand font CDN URLs to assets.orange.com (with an added query string).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

File Description
scss/_root.scss Adds the pixel tracker request via a root pseudo-element.
packages/orange/scss/tokens/_composite.scss Adds Orange tracker URL token; updates Orange font CDN URLs.
packages/sosh/scss/tokens/_composite.scss Adds Sosh tracker URL token; updates Sosh font CDN URLs.
packages/orange-compact/scss/tokens/_composite.scss Adds Orange Compact tracker URL token; updates Orange Compact font CDN URLs.

Comment thread scss/_root.scss
Comment thread scss/_root.scss
Comment on lines +12 to +14
#{$ouds-root-selector}::after {
content: "";
background-image: url("#{$ouds-pixel-tracker-url}");

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good to know indeed, keeping it open if needed for further investigations.

Comment thread packages/orange/scss/tokens/_composite.scss
Comment thread packages/sosh/scss/tokens/_composite.scss
Comment thread packages/orange-compact/scss/tokens/_composite.scss
@louismaximepiton louismaximepiton changed the title chore(css): Add a pixel tracker chore(css): Add trackers in a pixel and fonts Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Need Dev Review

Development

Successfully merging this pull request may close these issues.

3 participants