How to change Container ID for Embedded Jobs?

Modified on Mon, 11 Mar 2024 at 02:28 PM

To change the Container ID for a career site, from your Keka Hire portal, go to Career Site (1). On this page, you will find the Embed Jobs sectionYou will find the embed code here. Click on the Copy Code hyperlink (2) to copy the code.  



Once copied, paste the code into Notepad or Wordpad. For example, check this code below:

<script> window.khConfig = { identifier: '59cb9b0e-0222-4124-83f0-2282215119c5',domain: '<https://csdemo.keka.com/careers/>',targetContainer: '#k_jobs'}</script><script src='<https://csdemo.keka.com/careers/api/embedjobs/js/59cb9b0e-0222-4124-83f0-2282215119c5>' defer></script><div id='k_jobs'></div>

The value after the targetContainer: label, which usually is a word followed by a hash (#) is the container ID. In above code the Container ID is “k_jobs”. You can find the same Container ID in the bottom line right after div id within single quotes('k_jobs').


Now to change the Container ID, replace these two texts with the text of your choice. Let’s assume we have changed the Container ID to “HomePage” the code should appear something like this:

<script> window.khConfig = { identifier: '59cb9b0e-0222-4124-83f0-2282215119c5',domain: '<https://csdemo.keka.com/careers/>',targetContainer: '#HomePage'}</script><script src='<https://csdemo.keka.com/careers/api/embedjobs/js/59cb9b0e-0222-4124-83f0-2282215119c5>' defer></script><div id='HomePage'></div>


Once done, you can use this modified embed code in the location of your choice.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article