Theme Documentation

Use the instructions contained herein to build out your awesome websites with our NationBuilder Mega-Theme & Custom Themes.

Advertising, Analytics, or Marketing Code


If you have analytics/advertising/marketing code snippets you need to implement on your website (like Facebook advertising, Google Advertising, Google Analytics, etc):

  1. First see if you can implement it via the Site settings → Analytics page:

    nb-mega-theme-advertising-analytics-code-implementation.jpg

  2. If not, go to Theme → Files.
  3. If you're instructed to place the code inside the <head> tags, open _nm-includes.html. If you're instructed to place the code before the closing <body> tag, open _nm-scripts.html. If you don't know, probably go with _nm-scripts.html and test it to make sure it works. If it doesn't work, try _nm-includes.html and test.
  4. Scroll all the way to the bottom of the file where you'll see:

    nb-mega-theme-advertising-code-docs.jpg

  5. Paste your code in between those comments or below them (it doesn't matter).