All Collections
Event Builder
Content display
Embedding a Google Doc as an iFrame
Embedding a Google Doc as an iFrame
Updated over a week ago

Embedding a Google Doc as an iFrame in your Swapcard Event is easy. Here's how to proceed:

How to

You need to have a URL pointing to the PDF version of the document you want to embed. For this, you should start with this base URL:

https://docs.google.com/viewerng/viewer?embedded=true&url=PUT_THE_HOSTED_URL_HERE

and paste the URL of your hosted document at the end (replacing "PUT_THE_HOSTED_URL_HERE").

https://docs.google.com/viewerng/viewer?embedded=true&url=https://cdn-api.swapcard.com/public/files/c64e6c8a8bd649da8ccbfe7f7375335d.pdf

If you'd like to host the document on Swapcard servers, go to Studio → Content → Documents and Links, where you can upload your document and use the URL automatically generated.

Read more

Did this answer your question?