Jump to content

Fetching Query Param for Embed

Recommended Posts

Site URL: https://rombot.com/book

Greetings!

I have a page with a code content block with an <iframe>.

The page is https://rombot.com/book.

Is it possible to do https://rombot.com/book?discount_code=Testing123, and then the code content block block I want something like:

<iframe src="https://book.rombot.com?embed=true&discount_code={DISCOUNT_CODE_FROM_PAGE_URL}"...></iframe>

Let me know if more information is needed!

Thanks!

Link to comment
  • Replies 0
  • Views 192
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.