May 22, 2023

JSON DATA in Next.js app

When using server side rendering and rehydration, there is a script tag with id __NEXT_DATA with the json which is used for rehydration purpose. It contains the same data as rendered on the page and caused duplication of the content in the file. 

Does this affect the seo in any way? Also not sure if Google bots read the data in the json format. It would be get to get an insight on this.
Locked
Informational notification.
This question is locked and replying has been disabled.
Community content may not be verified or up-to-date. Learn more.
Recommended Answer
May 22, 2023
Hey Junaid Shaikh 6199

No, it's not really an issue.

It's a block of JSON, not content and google treats it as such.

The only thing that can happen is if it contains any strings that look like URLs, google might extract them and use them for discovery, but by the very nature of it those are often in the content anyway.


Original Poster Junaid Shaikh 6199 marked this as an answer
Helpful?
All Replies (2)
May 22, 2023
Recommended Answer
May 22, 2023
Hey Junaid Shaikh 6199

No, it's not really an issue.

It's a block of JSON, not content and google treats it as such.

The only thing that can happen is if it contains any strings that look like URLs, google might extract them and use them for discovery, but by the very nature of it those are often in the content anyway.


Original Poster Junaid Shaikh 6199 marked this as an answer
false
14043559677536936469
true
Search Help Center
true
true
true
true
true
83844
false
false
Search
Clear search
Close search
Main menu