- Admin Help Center
- Keka Hire
- Keka Hire FAQs
-
Getting Started with Keka
-
Core HR
-
Payroll
-
Leave & Attendance
-
Performance
-
Keka Hire
-
Professional Services Automation
-
Expenses & Travel
-
HelpDesk
-
Billing Portal
-
Pricing Plans & Subscriptions
-
Videos
-
Manager Actions
-
Employee's User Guide
-
Keka Learn
-
Mobile App
-
IT Admin Articles
-
Troubleshooting Guides
-
Employee Engagement
How to change Container ID for Embedded Jobs?
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 section. You 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.