alihamza1214 / nuxt-tiktok-pixel-module

MIT License
0 stars 0 forks source link

this.$tiktok.track is not a function #1

Open evan-metaseed opened 1 year ago

evan-metaseed commented 1 year ago

When attempting to use the track function to fire an event I get 'this.$tiktok.track is not a function' error. I get this error anywhere the module is used. Any ideas? Thanks

alihamza1214 commented 1 year ago

Hi,

Your nuxt.config.js file is right?

https://user-images.githubusercontent.com/17277823/210947221-5b57ebe6-2b71-4fb1-9e73-174b0b0cffcb.png

After this I am able to call the track function in my project and its working

https://user-images.githubusercontent.com/17277823/210947146-26912988-e9fe-4a13-a5c3-d716d45b1989.png

On 06-Jan-2023, at 11:11 AM, evan-metaseed @.***> wrote:

When attempting to use the track function to fire an event I get 'this.$tiktok.track is not a function' error. I get this error anywhere the module is used. Any ideas? Thanks

— Reply to this email directly, view it on GitHub https://github.com/alihamza1214/nuxt-tiktok-pixel-module/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AED2G77FY6BVTPSKYADSJPDWQ6ZQXANCNFSM6AAAAAATSXYSBY. You are receiving this because you are subscribed to this thread.

evan-metaseed commented 1 year ago

I see now, I believe its working now. FYI the documentation says 'nuxt-tiktok-pixel-module' for installation and config, rather than 'nuxt-tiktok-pixel-tracking-module'