Skip to content

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')

Copy link

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
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