Skip to main content
Site Header Code Injection

Developers can access a Site's header code injection to add custom CSS and scripts

Tony Sasso avatar
Written by Tony Sasso
Updated over 2 years ago

Features in this article may not be included in every Funraise plan.


Code added to the Header Code Injection is inserted into your Site's <head> element and will be loaded on every page. The Header Code Injection can be used to add custom CSS, Javascript, analytics tracking elements like a facebook pixel, or advanced Giving Form configurations.

⚠️ Be aware: This is a developer tool. Mistakes made here can break your site. We do not provide support for custom code.

Please note: Javascript placed in the Header Code Injection will execute, but Javascript placed within an HTML widget in the page body will not execute. If needed, you can add events in a body HTML widget that reference executable scripts in your Header Code Injection.


Access the Header Code Injection

1. From the Site editor > click Settings Icon

2. Click Advanced > find Header Code Injection > click Edit

3. Enter custom code > click Save


​

Did this answer your question?