Getting BDOW! up and running on Django is simple—just modify the index template to include BDOW!'s embed code.
Follow this quick guide to find the code and learn how to apply it to Django.
Copying the BDOW! installation code
The first step is obtaining your site's embed script.
Navigate to Site Settings > Details and clicking the View Install Code button.
Scroll down and click the Universal Installation Code button:
Click Copy Code.
Installing BDOW! on Django
Since BDOW! is loaded via JavaScript, the most straightforward installation on Django is to embed the script in the core index.html template.
Navigate to the folder where your website's files are located and open the main template file for editing (usually this is
templates/index.html). You can use any text editor or development environment to make the change.Paste the BDOW! code from earlier just before the closing
</body>tag in your HTML template, and save.Here is an example using the imaginary LocalLibrary Django tutorial from Mozilla:
Publish your changes. This will vary depending on how you are hosting Django, but ultimately the modified
index.htmlfile needs to end up on your live webserver.
Congrats, you're all done! Log back into your BDOW! dashboard and start building campaigns!



