Within your Recruitee environment click on the link to your career page.

On your career site click on the Career site editor on the left side of your screen.


This will open the editor, click on Custom CSS / JS

Under 'Scripts in header' you can paste the custom code snippet you received from us. If you do not have this code snippet yet, get in touch by emailing us here

Copy the code below. The only thing you have to change in your code is your entity ID.
Your entity ID can be found in two places in your platform account.

  1. in the address bar of your browser. It's the part after 'companyID'

2. in the code snippets available on the Analytics page you can find your entity ID

Copy this code


<script type="text/javascript">

;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];

p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)

};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;

n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","//d6unz3nsyh8vw.cloudfront.net/3SFv8DuWrRsddehY9xMi45LjA.js","snowplow"));

function resolveAction(urlPath) {

var parts = urlPath.split("");

if (urlPath === "/") {

return "career-page";

} else if (urlPath.indexOf("o/") !==-1 && urlPath.indexOf("/c/new") !== -1) {

return "application-form";

} else if (urlPath.indexOf("o/") !==-1 && urlPath.indexOf("/applied") !== -1) {

return "application-success";

} else if (urlPath.indexOf("o/") !==-1 && urlPath.split("/").length === 3) {

return "job-description";

} else {

return "career-page";

}

}

var actionLabel = resolveAction(location.pathname);

window.snowplow('newTracker', 'co', "com-vonq-main.collector.snplow.net", {platform: 'web',post: true, contexts: {webPage: true, performanceTiming: true}});

window.snowplow('trackSelfDescribingEvent', {

schema: 'iglu:com.vonq/step_view/jsonschema/1-2-0',

data: {

label : actionLabel,

customerReferenceId: "ADD YOUR CUSTOMER REFERENCE ID HERE""

entity : "ADD YOUR ENTITY ID HERE"

}});

if (actionLabel === "application-success") {

window.snowplow('trackSelfDescribingEvent',{schema:'iglu:com.vonq/applicant_conversion/jsonschema/1-0-0',data:{label:"application-success"}});

}

window.snowplow('enableActivityTracking',10,10);

window.snowplow('trackPageView');

</script>

Did this answer your question?