Skip to content

feat: Reddit Pixel#507

Merged
harlan-zw merged 5 commits intomainfrom
feature/add-reddit-pixel
Sep 19, 2025
Merged

feat: Reddit Pixel#507
harlan-zw merged 5 commits intomainfrom
feature/add-reddit-pixel

Conversation

@harlan-zw
Copy link
Collaborator

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

useScriptRedditPixel

The useScriptRedditPixel composable lets you have fine-grain control over when and how Reddit Pixel is loaded on your site.

const { proxy } = useScriptRedditPixel({
  id: 'YOUR_ID'
})
// example
proxy.rdt('track', 'Lead')

@vercel
Copy link
Contributor

vercel bot commented Sep 19, 2025

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

Project Deployment Preview Comments Updated (UTC)
scripts-docs Error Error Sep 19, 2025 6:55am
scripts-playground Ready Ready Preview Comment Sep 19, 2025 6:55am

@harlan-zw harlan-zw changed the title Feature/add reddit pixel feat: Reddit Pixel Sep 19, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 19, 2025

Open in StackBlitz

npm i https://pkg.pr.new/nuxt/scripts/@nuxt/scripts@507

commit: e3316cb

@harlan-zw harlan-zw merged commit 28ce259 into main Sep 19, 2025
9 of 10 checks passed
@harlan-zw harlan-zw deleted the feature/add-reddit-pixel branch September 19, 2025 07:12
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.

2 participants