Skip to content

useScriptTikTokPixel is not defined #599

Description

@RavenZhong

🐛 The bug

I was pleasantly surprised to find TikTok Pixel listed for this page(https://scripts.nuxt.com/scripts)! However, after following the docs and attempting to implement it on my website, I ran into an error. My IDE(WebStrom & VSCode) also reports that this composable doesn’t exist (I can’t find a definition for useScriptTikTokPixel).

Were the docs published too soon perhaps?
Before a new version of @nuxt/scripts was released?

Thanks in advance for your help!

🛠️ To reproduce

https://stackblitz.com/edit/nuxt-starter-uwuqdemy?file=pages%2Findex.vue

🌈 Expected behavior

Docs describe the support of this feature: https://scripts.nuxt.com/scripts/tracking/tiktok-pixel

ℹ️ Additional context

The version of @nuxt/scripts used for testing is “1.0.0-beta.1“ & “0.13.2”

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions