If you’re a designer or developer and want to use JavaScript with your Breezy career portal, you can add custom code in your Careers Sites settings.

Admin permission is required to edit Careers Site settings.

How to add custom JavaScript to your Careers Site:

  1. Click the gear icon ⚙️ in the left sidebar.

  2. Hover over Recruiting Preferences and click Careers Site Settings.

  3. Click Custom CSS/JS in the left sidebar

  4. Enter your code under one of the Custom Javascript sections.

    • Use the Custom Javascript section for general purposes

    • Use the Custom Javascript - Application Submission section to track candidate applications

  5. Click Save Changes.

Note: You can’t add HTML to the Custom Javascript fields, including a <script> tag.

JavaScript Examples

Following are some common examples of how to use JavaScript in Breezy.

Tracking Google traffic

To track traffic to your positions from Google, first create a Google Tag Manager account to get your tracking ID.

Replace GTM-XXXXXX in the following code with your Google tracking ID and add it to the Custom Javascript section of the Custom CSS/JS tab of your Careers Site settings.

var gTagManager = document.createElement('script');
gTagManager.setAttribute('src', 'https://www.googletagmanager.com/gtag/js?id=GTM-XXXXXX');

gTagManager.addEventListener('load', function() {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'GTM-XXXXXX');

Tracking Facebook traffic

To track activity from your Facebook ads, first verify your domain with Facebook, then find the tracking code in Facebook Events Manager.

Replace `XXXXXXXX`in the following code with your tracking code and add it to the Custom Javascript section of the Custom CSS/JS tab of your Careers Site settings.

s.parentNode.insertBefore(t,s)}(window, document,'script',
fbq('init', 'XXXXXXXX');
fbq('track', 'PageView');

// create pixel dynamically
var img = new Image();
img.src = 'https://www.facebook.com/trid=XXXXXXXX&ev=PageView&noscript=1';
img.setAttribute('width', 1);
img.setAttribute('height', 1);
img.style.display = 'none';

Did this answer your question?