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
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.