Embed your public page on your website
Show the list of all your publications on your own website. In the Workspace, click “Embed page”, choose the options, check the preview and copy the code. Readers open each publication with one click.
Your public page can also appear on your own website: the list of your publications with cover, name and date, embedded in any page. A click on a publication opens it in a new tab or, if you choose, in the viewer over your page, so readers stay on your website. The page stays hosted by Viewnamic and always shows what your public page lists.
Step by step
- In the Workspace, go to Public Overview Design and click Embed page next to Open page. The button is there while the public page is switched on.
- Choose the options (see below) and check the result under Preview with Phone, Tablet and Desktop.
- Click Copy embed code and paste the code into your page where the list should appear. Where to paste HTML in common website builders: Embed a PDF in website builders.
The options
- Embed size: Auto height (recommended) takes the width of your page’s column and grows with the list, so your page scrolls and the embed does not. Fill parent fills an element of your page that sets the width and height; the list scrolls inside it.
- Show the header (off at first): your logo, name, description and header image, as on your public page. Your website usually shows its own logo and name, so the embed starts with your publications.
- Transparent background: your website’s background shows instead of the page color of your public page.
- Language: dates, buttons and page numbers follow the reader’s browser, or are always English or German. Your titles stay as they are.
- How many: all publications, 20 per page, or only the newest 3, 4, 6, 8 or 12 without further pages – for example on your home page.
- Which publications (Premium, once you use collections): all of them, with Publications and Collections above the cards, or one collection, which then shows only its own publications.
- Opening a publication: In a new tab (preselected) opens it on Viewnamic, as on your public page. Over your page opens it in the viewer over your whole page, with a bar to close it.
What readers see
The cards of your public page in its design, below them a small line with the privacy policy and imprint of Viewnamic, which hosts the page. Below the embed, the code adds powered by Viewnamic if your plan shows it. A publication opened over your page closes with × or the Escape key, and the reader is back at the list.
Good to know
- The code contains a small script that sets the height and, if you choose it, opens publications over your page. Some website builders remove scripts: then the embed is 600 pixels high and scrolls, and publications open in a new tab. For builders that only take an address, use Copy URL.
- New publications appear in the embed as soon as they are on your public page; you do not need to copy the code again for them. After you change an option, copy the code again and replace the old one.
- A publication with an old password opens in a new tab: a password cannot be entered inside another website.
- Readers of the embed are counted like readers of your public page – in its statistics and in those of the publications they open, if your plan includes statistics. Nothing in the preview is counted.
- The embed stops working when you switch the public page off or your plan no longer includes embedding.
Embedding the public page is included in the plans with a public page and website embedding: Publisher, Publisher Plus, Premium and Tailored – see Pricing.
Questions
Can I embed the public page and single PDFs on the same website?
Yes. Use Embed page for the list and a publication’s Embed for a single PDF, for example on a product page.
Do I have to change the code when I publish a new issue?
No. The embed always shows what your public page lists right now.