How to Add an Animated Confetti Background after Form Submit

Follow

šŸ”™ May 2019

Due to a recent update from our removal of Jquery dependancy, this script is no longer functioning reliably. Iā€™ll leave the script and instructions on this page as it may function with some individual tweaking. However, in some cases this workaround may not work.
-@jess

Letā€™s be honest. Each time you get a new lead notification email in your inbox, you probably feel like celebrating. And who wouldnā€™t? New leads means more potential business.

But sometimes we get so wrapped up in convincing people to sign-up that we forget about the post-click experience all together. The truth is, your new leads should be just as excited as you are. After all, they just signed up to receive something exciting from youā€¦ whether it be a special offer, newsletter, ebook, etc. To

Hereā€™s a super simple way to inject a little ā€˜celebrationā€™ into your post-click experience. šŸŽ‰

Check out the effect (built in Unbounce) here:
http://landingpage.noahmatsell.ca/confetti-confirmation/

confetti 7

How to Install in Unbounce

šŸšØ This is not an official Unbounce feature. This functionality is based entirely on third party code, and has only been tested in limited applications. Since this isnā€™t a supported Unbounce feature, our support team will be unable to assist if things go awry. So if you are not comfortable with HTML, Javascript and CSS, please consider consulting an experienced developer.


Step 1.

Step 2.

  • Create your landing page form and style the form confirmation dialog to your liking.

Step 3.

  • Open the Javascripts console and click +Add New Javascript
  • Name your new script Confetti [JS]
  • Set the placement to Before Body End Tag
  • Paste the script 1-confetti.js into the editor and click Save Code

Step 4.

instruction gifStep 4.
  • Open your Stylesheets console and click +Add New Stylesheet
  • Name your new stylesheet Confetti [CSS]
  • Make sure Soft Wrap is selected
  • Paste the CSS script 2-confetti.css into the editor and click Save Code
instructions 2Step 5.

Step 5.

  • Save and Republish your landing page. Be sure to test out the published version of the page.

Step 6.

  • Celebrate. šŸ¾ šŸŽŠ

Thatā€™s it!

If you want to play around in the code a bit, you can tweak a few things such as the colours to make the confetti more on-brand.