This feature available on All Plans
Overview
As part of the publishing process, a ShortStack campaign can be embedded almost anywhere. Embedded campaigns can result in 83% more views and 31% more entries than campaigns published elsewhere.
If you host your website or store on a service such as Squarespace, WordPress, Shopify, Wix, or Bigcommerce; you can embed your ShortStack campaign to easily collect leads and run contests directly from your existing website.
For these instructions, you'll first need to get the embed code from ShortStack. To learn how to get that code, see the Embedding a Campaign help doc.
Note: ShortStack does not provide support for technical issues with third-party platforms. If you run into issues using your embed code on those platforms, please contact the platform's support directly.
Squarespace
Squarespace is a website builder popular with photographers and creatives. A Squarespace site is comprised of blocks that can be used to add content or control layout, similar to ShortStack's widgets.
Squarespace allows you to embed your campaigns in one of two ways: using an Embed Block, or by using a Code Block.
Embed Block
Begin by logging into your Squarespace account. Then:
- Click on the Website button of the site to which you'd like to add your campaign.
- Click on Pages to show the list of pages on your site.
- Select the Page to which you want to embed your campaign (in this example, I've created a page named Embedded Campaign), then click the Edit button.
- Where you'd like to add your embedded campaign, hover over your site and click the appropriate Add Section button.
- You can use a template if you'd like, but we typically recommend choosing Add Blank.
- If you hover your cursor around the middle of the new section, you'll see the + icon - click that to add a new block.
- In the Add Blocks panel that pops up, select the Embed Block.
- In the Content pop-up that appears, click on the code icon (</>).
- In the field provided, paste your embed code from ShortStack. You should see the campaign appear on the page immediately! Click anywhere outside of the pop-up to close it.
- Click Done in the top-left corner of the screen, then select Save from the dropdown. With that, you're all set!
For any issues with the Embed Block, refer to Squarespace's Embed Block help doc.
Code Block
Begin by logging into your Squarespace account. Then:
- Follow steps 1 through 6 in the Embed Block section above - it's the same process to start.
- In the Add Blocks panel that pops up, select the Code Block.
- In the Content pop-up that appears, make sure that the Mode is set to HTML.
- In the field provided, remove the "Hello World" code and paste your embed code from ShortStack. You should see the campaign appear on the page immediately! Click anywhere outside of the pop-up to close it.
Note: iFrame embeds are restricted to paid Squarespace plans. - Click Done in the top-left corner of the screen, then select Save from the dropdown. With that, you're all set!
For any issues with the Code Block (or adding custom code in general to your page), refer to Squarespace's Custom Code/Code Block help doc.
WordPress
There are two ways to have a WordPress website: a blog created on WordPress.com or a self-hosted WordPress.org website. Below are steps to embed to both types of WordPress websites.
How to embed your campaign to a WordPress.com website:
Begin by logging into your WordPress.com account. Then:
- We recommend adding the campaign on a new page; hover over Pages in the menu on the left, then click Add New in the submenu.
- It will prompt you to select a template; choose one if you'd like, otherwise, just select Blank page.
- Now you're in the editor. Click the + to add a new block to your page. The six most recently used blocks will appear in the pop-up; if Custom HTML shows there, click on it.
If the Custom HTML block isn't in your recently used; either search for it using the Search field, or click Browse all to open the Blocks menu on the left side of the page, then scroll down to the Widgets section and click on it there. - Paste your embed code into the provided field.
- To preview what the embedded campaign looks like on the page, click on the Preview button.
- Make any other required changes to the page that you'd like. Once you've got everything looking the way you want, either click Save draft or push the Page live by clicking Publish. Once that's done, your campaign is live on your site!
For any issues with the Custom HTML Block, refer to WordPress.com's Custom HTML Block help doc.
How to embed your campaign to a self-hosted WordPress website:
Begin by logging into the back end of your website using the wp-admin URL. From there:
- We recommend adding the campaign on a new page; hover over Pages in the menu on the left, then click Add New in the submenu.
Alternatively, if you'd like to add your campaign to an existing page, click on Pages, then hover over the name of the page you'd like to add the campaign to and click the Edit link that appears underneath. - On the resulting page, click on the Text tab on the right side of the editor.
Note: If you have any page building add-ons installed in your WordPress instance, your editor may look different. - Paste your embed code into the text box.
- If you'd like to preview what the campaign looks like in the page, click the Visual tab to switch back to the visual view.
- Make any other required changes to the page that you'd like. Once you've got everything looking the way you want, either click Save draft or push the Page live by clicking Publish. Once that's done, you're good to go!
Shopify
Shopify is used to create e-commerce stores for physical and digital products. Add a ShortStack campaign to run giveaways and promotions straight from your Shopify Online Store.
Shopify allows you to embed your campaign by adding it to a new Page or adding the code to a Blog Post.
Page
Begin by logging into your Shopify account. Then:
- On your home page, click on the Online Store into which you want to place your campaign.
- We suggest adding a new page to your Online Store to embed your campaign; to do this, click on Pages.
- Click on the Add page button in the top-right.
- On the resulting page, add a name for your page using the Title field, then click on the Show HTML icon (<>) at the top of the Content editor.
- Paste your ShortStack campaign's embed code into the Content area.
- Tweak any SEO, Visibility, or Theme settings if you need to; then click Save in the bottom-right. With that, you're done!
Blog Post
Begin by logging into your Shopify account. Then:
- On your home page, click on the Online Store into which you want to place your campaign.
- To add the embed to your blog, click on Blog posts.
- Click on the Add blog post button in the top-right.
- On the resulting page, add a name for your new blog post using the Title field, then click on the Show HTML icon (<>) at the top of the Content editor.
- Paste your ShortStack campaign's embed code into the Content area.
- Tweak any Excerpt, SEO, Visibility, Featured Image, Organization or Theme settings if you need to; then click Save in the bottom-right. Boom - your new blog post is ready to go!
For any issues with adding custom HTML in your Pages or Blog Posts, refer to Shopify's Using the rich text editor for content help doc.
Wix
Wix is a platform that helps you quickly set up a business website. Embed a campaign to run a contest, collect email addresses for your newsletter, accept restaurant reservations, display an Instagram hashtag feed, and more.
Wix allows you to embed your campaign by adding it to your website using a Custom Embed or adding the code to a Blog Post.
Custom Embed
Begin by logging into your Wix account. Then:
- Find the website where you'd like to embed your campaign, then click Edit Site.
- Scroll or navigate to where you want to embed your campaign, and if you hover over the preview you should see the Add Strip button pop up - click it.
Alternatively, you can click the + Add button on the left-hand side.
- Click on Embed, then Custom Embeds, then finally the + (Add to Site) icon next to Embed a widget.
- You'll see the new embed displayed on your site, but nothing in it quite yet. Click on Enter Code.
- Make sure the button next to Code is selected.
- Paste your campaign's embed code into the Add your code here field, then click Update.
- Use the Stretch handles (or the tiny handlebars on each corner) on your new embed to change the size of the iFrame to your preference.
- Select Save at the top of the website builder (if autosave isn't already turned on), and Publish if you want the changes to go live. You're now up and rolling on your site!
For any issues with adding an iFrame to your site, refer to Wix's Adding an HTML iFrame Element help doc.
Blog Post
Not all Wix sites have Blog capabilities by default; to learn how to add a blog to your website, check out the Adding and Setting Up Your Blog help doc on Wix support.
If you do have a blog; begin by logging into your Wix account. Then:
- Find the Latest blog posts section of your Home page, and click Create New in the top corner.
Alternatively, you can click Blog in the menu on the left-hand side, then click + Create New Post at the top of the Blog Overview page. - In the blog editor, add a name using the title field, then click either of the + Add icons.
- Click on the HTML code option.
- Make sure the button next to HTML Code is selected, then paste your code into the field provided.
- Adjust the width and height of the iFrame using the icons at the top of the pop-up, then click Save.
- Select Save at the top of the website builder (if autosave isn't already turned on), and then click Publish to send your new blog post live. Now you can direct folks to your blog post to see your campaign!
For any issues with adding custom HTML in your Blog Posts, refer to Wix's Adding HTML to a Blog Post help doc.
Bigcommerce
Bigcommerce is similar to Shopify, in that it is used to create e-commerce stores for physical and digital products. You can add a ShortStack campaign to run giveaways and promotions straight from your Bigcommerce storefront.
Bigcommerce allows you to embed your campaign by adding it to a new Web Page or adding the code to a Blog Post.
Web Page
Begin by logging into your Bigcommerce account. Then:
- Click on Storefront on the left side menu.
- We suggest adding a new web page to your storefront to embed your campaign; to do this, click on Web Pages.
- Click on the Create a Web Page button.
- In the Create a Web Page screen, under Page Type, select the button next to Contain raw HTML entered in the text area below.
- In the Web Page Details section, add a name for your page, then paste your ShortStack embed code into the Page Content field.
- Adjust settings to your liking in the Navigation Menu and Advanced Options sections, then click Save & Exit at the bottom of the screen. Once that's done, you're officially live!
For any issues with adding pages to your Storefront, refer to Bigcommerce's Adding Web Pages help doc.
Blog Post
Begin by logging into your Bigcommerce account. Then:
- Click on Storefront on the left side menu.
- To add the embed to your blog, click on Blog.
- Click on the + button to add a new blog post. (Alternatively, to add the embed code to an existing blog post, click the name of the post.)
- On the resulting page, click on the source code icon (</>) at the top of the rich text editor.
- Paste your ShortStack embed code into the darkened code window that appears.
- Click the source code icon again to return to normal editing mode, and you should see the campaign in your post.
- Add in any SEO changes in the section below (optional), and then click either Save Draft (if you're planning to go live at a later date), or Publish (if you're wanting to go live immediately). With that, you're good to go!
For any issues with adding blog posts to your Storefront, refer to Bigcommerce's Using the Built-In Blog help doc.