- Search Perplexity for your business name, and take a screenshot of the 'Related Questions' that appear at the bottom of the results
- Ask Perplexity for more 'Related Questions' and screenshot those too.
- In ChatGPT, upload the 2 screenshots along with the first prompt below.
- Check its answers, and make corrections if necessary. The, use the second prompt below to get your code.
- Check your code in Google Rich Results Test (make sure to select code)
- Once it passes the test, paste the code into your website (see steps for various website platforms below)
A) If your site is WordPress
Method 1: Add JSON-LD directly to the page (easiest)
- Go to Pages → choose your FAQ page
- Click Edit
- Switch to Code Editor (top right options → “Code Editor”)
- Scroll to the bottom of the page
- Paste your JSON-LD
<script> block - Save
Method 2: Inject into the <head> site-wide
- Install plugin: Insert Headers and Footers (or WPCode)
- Go to Settings → Insert Headers and Footers
- Paste JSON-LD inside the Footer Scripts box
- Save
This works if you want the FAQ data to appear everywhere or on custom templates.
B) If your site is Webflow
- Open Webflow
- Choose the page (e.g., FAQ, About, Services)
- Go to Page Settings
- Scroll to Inside <head> tag
- Paste your JSON-LD
<script> block - Publish the site
C) If your site is Squarespace
- Open the page
- Click Edit
- Add a Code Block
- IMPORTANT → Set block type to “HTML”
- Paste the script
- Hit Save
OR to add to <head>:
- Go to Settings → Advanced → Code Injection → Page Header Code Injection
- Paste the JSON-LD
D) If your site is Shopify
Option 1: Add JSON-LD to a page
- Go to Online Store → Pages
- Edit your FAQ page
- Click Show HTML (
<> icon) - Paste the JSON-LD
- Save
Option 2: Add it to the theme
- Go to Online Store → Themes → Edit Code
- Open
theme.liquid - Paste the JSON-LD before
</head> or </body> - Save
E) If your site builder only allows “Custom HTML” blocks
(GoDaddy, Leadpages, ClickFunnels, etc.)
Almost all page builders have a:
- “HTML block”
- “Code snippet”
- “Embed code”
- “Custom script” module
Steps:
- Add a HTML or Code block
- Paste the entire
<script type="application/ld+json"> block - Save
- Make sure the text still renders on the page (the JSON-LD does not show visibly)
How to verify that it’s working
Test with Google’s Structured Data Tool:
https://search.google.com/test/rich-results
Paste your URL and check:
- FAQPage schema detected?
- No errors?
- Structured data is valid?
If it validates, you’re good.