How do I create a dedicated Yotpo Referral page using code?

I’m trying to create a dedicated Referral Page however I am not sure how to paste this code

I can see this only. How to put that code?

It looks like you may be trying to add code in the wrong place.

Try this instead:

  1. Go to “Online Store” > “Pages” > “Add page”
  2. Click the “<>” button to add HTML code
  3. Paste
    and save.
  4. Preview page to ensure its working
  5. If it works, add the page to your website navigation and you’re all set

If the above doesn’t work:

It looks like you may have already created a page called “referral”. If that’s the case, leave the .json file alone and do this:

  1. Go to Online Store > Themes > Customize

  2. At the top, click on Pages > Referral (the page template you’ve already created)

  3. Add section > custom liquid

  4. In the custom liquid field, paste the code and save
    5 Go back to “Online Store” then “Pages” > “Add page”

  5. Under “theme template”, select the “referral” template you already created.

  6. Save and preview to ensure it’s working