#meta tags in next
1 messages · Page 1 of 1 (latest)
I created a sample project with the <Head>...</Head> from the file you sent me and it works just fine 👀
Hmm, any chance I could run the project myself?
Because right now I cant tell why its not working for u
even i am not able to figure out what is actual problme
Yes you are right
Can i send you _app.js
actually this is official project
check this out https://pastebin.com/i5ksdKJ1
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
above file is _app.js
It doesn't look to me that there's anything there that would break meta tags for you
Actually
Can you remove PersistGate and see if that changes anything?
ok let me try
from another file i got this isues ```ReferenceError: window is not defined
Any chance you can comment out the part that is causing the error so we can see if meta tags work?
i am on it
if your meta tags depends upon client side data fetching, they're not gonna work
Based on the comments on this SO, I think its likely its PersistGate https://stackoverflow.com/questions/71986308/next-js-meta-tags-not-being-indexed-by-crawlers
Yes i saw this one
Hello client side data fetching ?
fetching data on the client(ex: in useEffect) is called client side fetching