Skip to main content

Installing BDOW! on Ruby on Rails

Learn how you can easily host BDOW! campaign forms in a Ruby on Rails application.

Written by Cassandra Campbell

Including BDOW! in your Ruby on Rails layout template is straightforward—follow this guide to learn where to find the BDOW! embed code and how to apply it.

Copying the BDOW! installation code

The first step is obtaining your site's embed script.

  1. Navigate to Site Settings > Details and clicking the View Install Code button.

  2. Scroll down and click the Universal Installation Code button:

  3. Click Copy Code.

Installing BDOW! on Ruby on Rails

The actual installation is just a simple matter of modifying your primary layout template to include the BDOW! script.

  1. Open your application's folder and proceed to app/views/layouts:

  2. Edit application.html.erb in a text editor or IDE.

  3. Paste the BDOW! code just before the closing </body> tag, then save.

After redeploying your app, BDOW! will be up and running on your website. Return to the BDOW! app to start crafting campaigns and earning new subscribers!


​

Did this answer your question?