Offers “Procter & Gamble”

days ago Procter & Gamble

Data Engineer

  • Internship
  • PANAMA

Job description


Description

Work from Home!

Do you want to join a team of IT professionals who apply their skills to bring groundbreaking, technology-based capabilities and business models to life? Have you been looking to use and grow both your IT and business skills?

About the role!

Data Engineers at P&G are technical masters: at P&G they need to be effective technologists, self-motivated, and able to source and develop data models to fuel the analytics, developed by the analysts and data scientists, which improve P&G’s business results.

Technical mastery and interpersonal/communication skills are therefore a must to thrive in a team. Your job is to onboard complex data or optimize data models and code into scale pipes and jobs that will drive the analytics into insights. Data Engineer - Practitioner of advanced data modeling and optimization of data and analytics solutions at scale. Expert in data management (any sources of data like POS, Consumer profile), data access (Big Data, traditional Data Marts), sophisticated in programming (Python or Java, Shell scripting, and SQL), sophisticated data base modeling, familiarity with analytic algorithms and applications (like Machine learning). Be an authority in P&G data capability building.

Technically Capable: You will “get into the details”, leveraging data types and various data models to enable a range of analytic solutions. You should be adept at using such technologies for handling and manipulating data, scaling data models and solutions to support the analytics for business insights. As a P&G Data Engineer you will be a part of an award-winning Business Intelligence and IT community that is Global in scope and operates across all of P&G’s core disciplines.

About Us:

P&G serves consumers around the world with one of the strongest portfolios of trusted, quality, leadership brands, including Always®, Ambi Pur®, Ariel®, Bonux®, Braun®, Blend-a-Med®, Fairy®, Gillette®, Head & Shoulders®, Lenor®, Naturella®, Olay®, Oral-B®, Pampers®, Pantene®, Vizir®, Vicks® The P&G community includes operations in approximately 70 countries and more than 100 thousand employees worldwide. Please visit www.pg.com for the latest news and information on P&G and its brands.

We are committed to providing equal opportunities in employment. We value diversity and we do not discriminate on the basis of race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status.

What we offer you:

·  Dynamic and respectful work environment – We live our Purpose, Values, and Principles daily. We value every individual and encourage initiatives promoting agility and work/life balance!
·  Work in international teams with regional or global responsibilities.
·  Friendly and supportive atmosphere at work.
·  Flexible work arrangements.
·  Wellness programs
Qualifications

Qualifications:

·  We are looking for leaders who have graduated with a BS or MS in Computer Science/Engineering, Programming/Software Development or Operations Research or Statistics and/or Business/Management Information Systems who have:
·  Demonstrated proficient to advanced mastery in applied data technologies o SQL o Linux o Shell Scripting o Relational databases, ER models/diagrams
·  Have proficient knowledge in programming languages such as Python, Java or R or similar
·  Demonstrated skills in database / data modelling or are experienced with Big Data technologies (Spark, Hadoop, Hive) and/or NoSQL databases
·  Good written and verbal communication skills to engage with others, primarily Data Science
·  Demonstrated use of data and BI tools
·  Demonstrated ability to handle multiple priorities
·  Ability to work collaboratively across functions

Job locations:
Panama, Panamá, Panama Job Type: Full-time Job categories: Information Technology Req No: IT 00002883

Ideal candidate profile

Qualifications:

·  We are looking for leaders who have graduated with a BS or MS in Computer Science/Engineering, Programming/Software Development or Operations Research or Statistics and/or Business/Management Information Systems who have:
·  Demonstrated proficient to advanced mastery in applied data technologies o SQL o Linux o Shell Scripting o Relational databases, ER models/diagrams
·  Have proficient knowledge in programming languages such as Python, Java or R or similar
·  Demonstrated skills in database / data modelling or are experienced with Big Data technologies (Spark, Hadoop, Hive) and/or NoSQL databases
·  Good written and verbal communication skills to engage with others, primarily Data Science
·  Demonstrated use of data and BI tools
·  Demonstrated ability to handle multiple priorities
·  Ability to work collaboratively across functions

","employmentType":"Experienced Professionals","identifier":"IT 00002883","qualifications":"

Qualifications:

·  We are looking for leaders who have graduated with a BS or MS in Computer Science/Engineering, Programming/Software Development or Operations Research or Statistics and/or Business/Management Information Systems who have:
·  Demonstrated proficient to advanced mastery in applied data technologies o SQL o Linux o Shell Scripting o Relational databases, ER models/diagrams
·  Have proficient knowledge in programming languages such as Python, Java or R or similar
·  Demonstrated skills in database / data modelling or are experienced with Big Data technologies (Spark, Hadoop, Hive) and/or NoSQL databases
·  Good written and verbal communication skills to engage with others, primarily Data Science
·  Demonstrated use of data and BI tools
·  Demonstrated ability to handle multiple priorities
·  Ability to work collaboratively across functions

","title":"Data Engineer","url":"https://www.pgcareers.com/job/panama/data-engineer/936/17801081","hiringOrganization":{"@type":"Organization","name":"Procter and Gamble","logo":"https://tbcdn.talentbrew.com/company/936/v2_0/procter-and-gamble-squarelogo.png"},"jobLocation":{"@type":"Place","address":{"@type":"PostalAddress","addressLocality":"Panama","addressRegion":"Panamá","addressCountry":"Panama","streetAddress":"","postalCode":""}}} var getCookie = function(name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) { return parts.pop().split(";").shift(); } }; var behaviorCookieValid = function() { return !mapCookies().checkBehaviorExist || getCookie(mapCookies().behavior) !== undefined; } function sendCustomDimensions() { if (!consentGiven(coreCategoryCookieMemberOf.gaCookie)) { return true; } var dimensions = { 1: 'dimension1', 2: 'dimension2', 3: 'dimension3', 4: 'dimension4', 5: 'dimension5', 6: 'dimension6', 7: 'dimension7', 8: 'dimension8', 9: 'dimension9', 10: 'dimension10', 11: 'dimension11', 12: 'dimension12', 13: 'dimension13', 14: 'dimension14', 15: 'dimension15', 16: 'dimension16', 17: 'dimension17', 18: 'dimension18', 19: 'dimension19', 20: 'dimension20', 21: 'dimension21', 22: 'dimension22', 23: 'dimension23' }; var dimensionsToSend = {}; for (var cd in dimensions) { if (dimensions.hasOwnProperty(cd)) { var cdElement = document.getElementById(dimensions[cd]); if (document.getElementById(dimensions[cd]) != undefined) { dimensionsToSend[dimensions[cd]] = cdElement.value; } else { delete dimensionsToSend[dimensions[cd]]; } } } if (window['adBlocker'] == undefined) var adBlockerStatus = "Active"; else var adBlockerStatus = "Inactive"; dimensionsToSend["dimension12"] = adBlockerStatus; createHiddenInput('dimension12', adBlockerStatus); var reg = new RegExp('^[a-zA-Z0-9-]*$'); var visitorIdCookieData = getCookie('SearchVisitorId');; if (typeof visitorIdCookieData != 'undefined' && visitorIdCookieData.length > 0 && reg.test(visitorIdCookieData) == true) { dimensionsToSend["dimension15"] = visitorIdCookieData; createHiddenInput('dimension15', visitorIdCookieData); } var sessionIdCookieData = getCookie('SearchSessionId'); var sessionIdCookieDataObject; try { sessionIdCookieDataObject = JSON.parse(sessionIdCookieData); } catch (e) { } if (typeof sessionIdCookieDataObject == "object" && reg.test(sessionIdCookieDataObject.SearchSessionId) == true) { dimensionsToSend["dimension16"] = sessionIdCookieDataObject.SearchSessionId; createHiddenInput('dimension16', sessionIdCookieDataObject.SearchSessionId); } if (typeof sessionIdCookieData === 'undefined' || typeof sessionIdCookieDataObject === 'undefined' || reg.test(sessionIdCookieDataObject.SearchSessionId) == false) { createHiddenInput('dimension17', 'null'); } else { createHiddenInput('dimension17', sessionIdCookieDataObject.Created); } var dimension17Element = document.getElementById("dimension17"); if (document.getElementById("dimension17") != undefined) { dimensionsToSend["dimension17"] = (dimension17Element.value == "null" ? "null" : parseInt(dimension17Element.value).toString()); } if (document.getElementById("dimension23") === null) { var hasConsent = consentGiven(cookieCategory.marketing.id); createHiddenInput('dimension23', hasConsent.toString()); dimensionsToSend["dimension23"] = hasConsent.toString(); } else { dimensionsToSend["dimension23"] = (document.getElementById("dimension23").value.toLower() === 'true').toString(); } if (Object.keys(dimensionsToSend).length >= 1) { ga('send', 'pageview', dimensionsToSend); } } function createHiddenInput(id, value) { var input = document.createElement('input'); input.type = 'hidden'; input.id = id; input.value = value; if (document.body != null) { document.body.appendChild(input); } } // consentGiven depends on location behavior cookie, so wait until that is set first then check consentGiven document.addEventListener("behaviorCookieSet", function() { if (consentGiven(coreCategoryCookieMemberOf.gaCookie)) { if (typeof ga != 'function') { (function(i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m); })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-4720001-6', 'auto', { allowLinker: false }); ga('require', 'displayfeatures'); } } else { removeGoogleCookies(); } }); document.addEventListener("DOMContentLoaded", function () { if (!cmSolution() || (cmSolution() && behaviorCookieValid() && consentGiven(coreCategoryCookieMemberOf.gaCookie))) { collectDimensions(); } } ); function collectDimensions(){ createHiddenInput('dimension20', '936'); createHiddenInput('dimension22', '6976'); createHiddenInput('dimension21', '1455'); createHiddenInput('dimension1', '17801081'); createHiddenInput('dimension2', 'IT 00002883'); createHiddenInput('dimension3', '936'); createHiddenInput('dimension4', '936,'); createHiddenInput('dimension6', 'Information-Technology'); createHiddenInput('dimension7', 'Panama-Panamá-Panama'); createHiddenInput('dimension9', 'Data Engineer'); createHiddenInput('dimension10', 'JobDetails'); createHiddenInput('dimension14', 'Basic JD'); createHiddenInput('dimension18', '0'); createHiddenInput('dimension19', '10/27/2020'); sendCustomDimensions(); } // ga needs to be set for tracking.js to work - if using CM then behavior cookie needs to be dropped before checking if you can initialize ga if (!cmSolution() || (cmSolution() && behaviorCookieValid())) { document.dispatchEvent(getCustomEvent('behaviorCookieSet')); } if (consentGiven(coreCategoryCookieMemberOf.gaCookie)) { (function() { var gtmValues = {}; dataLayer = []; function uuidv4() { var crypt = window.crypto || window.msCrypto || null; if (crypt && crypt.getRandomValues) { var buf = new Uint16Array(8); crypt.getRandomValues(buf); var S4 = function(num) { var ret = num.toString(16); while (ret.length 0 && reg.test(visitorIdCookieData) == true) { gtmValues['visitorID'] = visitorIdCookieData; } else { var date = new Date(); date.setTime(date.getTime() + (365 * 864e+5)); var expires = date.toGMTString(); var visitorId = uuidv4(); var isSecureCookie = jsFeatureFlags.get('ff-client-sc') ? ';secure' : ''; document.cookie = "SearchVisitorId=" + visitorId + "; expires=" + expires + "; path=/" + isSecureCookie; gtmValues['visitorID'] = visitorId; } var sessionIdCookieData = getCookie('SearchSessionId'); var sessionIdCookieDataObject; try { sessionIdCookieDataObject = JSON.parse(sessionIdCookieData); } catch (e) { } gtmValues['GDPR Consent'] = "null"; if (typeof sessionIdCookieDataObject == "object" && reg.test(sessionIdCookieDataObject.SearchSessionId) == true) { gtmValues['sessionID'] = sessionIdCookieDataObject.SearchSessionId; gtmValues['GDPR Consent'] = parseInt(sessionIdCookieDataObject.Created).toString(); } var hasConsent = consentGiven(cookieCategory.marketing.id); gtmValues['MarketingConsent'] = hasConsent.toString(); dataLayer.push(gtmValues); })(); } else { removeGoogleCookies(); } // consentGiven depends on location behavior cookie, so wait until that is set first then check consentGiven document.addEventListener("behaviorCookieSet", function() { if (consentGiven(coreCategoryCookieMemberOf.gaCookie)) { if (typeof google_tag_manager === "undefined") { (function(w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-TNW8SZ'); } } else { removeGoogleCookies(); } }); // If not cookie management solution, dispatch GA immediately if (!cmSolution() || (cmSolution() && (!mapCookies().checkBehaviorExist || getCookie(mapCookies().behavior) !== undefined))) { document.dispatchEvent(getCustomEvent('behaviorCookieSet')); } window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-4720001-6', { 'optimize_id': 'GTM-P8W973K'}); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-5PDWJQS');
Skip Navigation

P&G – Do Something That Matters

Location: Search -->Menu

close

IMPROVE Your P&G Experience

Site content is based on selected location.

·  Albania (ALB)
·  Algeria (DZA)
·  Argentina (ARG)
·  Armenia (ARM)
·  Australia (AUS)
·  Austria (AUT)
·  Azerbaijan (AZE)
·  Bahrain (BHR)
·  Bangladesh (BGD)
·  Belarus (BLR)
·  Belgium (BEL)
·  Belize (BLZ)
·  Bosnia and Herzegovina (BIH)
·  Brazil (BRA)
·  Bulgaria (BGR)
·  Canada (CAN)
·  Chile (CHL)
·  Chinese Mainland - Greater China (CHN)
·  Colombia (COL)
·  Costa Rica (CRI)
·  Croatia (HRV)
·  Cyprus (CYP)
·  Czech Republic (CZE)
·  Denmark (DNK)
·  Dominican Republic (DOM)
·  Ecuador (ECU)
·  Egypt (EGY)
·  El Salvador (SLV)
·  Estonia (EST)
·  Ethiopia (ETH)
·  Finland (FIN)
·  France (FRA)
·  Germany (DEU)
·  Ghana (GHA)
·  Greece (GRC)
·  Guatemala (GTM)
·  Honduras (HND)
·  Hong Kong SAR - Greater China (HKG)
·  Hungary (HUN)
·  India (IND)
·  Indonesia (IDN)
·  Iran (IRN)
·  Ireland (IRL)
·  Israel (ISR)
·  Italy (ITA)
·  Japan (JPN)
·  Jordan (JOR)
·  Kazakhstan (KAZ)
·  Kenya (KEN)
·  Korea (KOR)
·  Kosovo (XKX)
·  Kyrgyzstan (KGZ)
·  Latvia (LVA)
·  Lebanon (LBN)
·  Lithuania (LTU)
·  Luxembourg (LUX)
·  Malaysia (MYS)
·  Mexico (MEX)
·  Republic of Moldova (MDA)
·  Mongolia (MNG)
·  Montenegro (MNE)
·  Morocco (MAR)
·  Myanmar (MMR)
·  Netherlands (NLD)
·  New Zealand (NZL)
·  Nicaragua (NIC)
·  Nigeria (NGA)
·  North Macedonia (MKD)
·  Norway (NOR)
·  Pakistan (PAK)
·  Panama (PAN)
·  Peru (PER)
·  Philippines (PHL)
·  Poland (POL)
·  Portugal (PRT)
·  Puerto Rico (PRI)
·  Romania (ROU)
·  Russia (RUS)
·  Saudi Arabia (SAU)
·  Senegal (SEN)
·  Serbia (SRB)
·  Singapore (SGP)
·  Slovakia (SVK)
·  Slovenia (SVN)
·  South Africa (ZAF)
·  Spain (ESP)
·  Sri Lanka (LKA)
·  Sweden (SWE)
·  Switzerland (CHE)
·  Syria (SYR)
·  Taiwan - Greater China (TWN)
·  Tajikistan (TJK)
·  Thailand (THA)
·  Turkey (TUR)
·  Turkmenistan (TKM)
·  Ukraine (UKR)
·  United Arab Emirates (UAE)
·  United Kingdom (GBR)
·  United States (USA)
·  Uzbekistan (UZB)
·  Venezuela (VEN)
·  Vietnam (VNM)
·  Yemen (YEM) // runs directly after navigation is added to the page // JavaScript source code function getCookie(name) { // Split cookie string and get all individual name=value pairs in an array var cookieArr = document.cookie.split(";"); // Loop through the array elements for(var i = 0; i -1){ var getLocation = ""; getLocation = pObj[currentP].Locations[0].Path; console.log("location = " + getLocation); if(getLocation != ""){ var newLocation = getLocation.split("-"); var getString = 'a[data-lcode = "' + newLocation[0] + '"]'; var newDoc = document.querySelector(getString); newDoc = newDoc.getAttribute("data-global-name"); newInput.setAttribute("value",newDoc); } } else{ newInput.setAttribute("value","United States"); } } else{ newInput.setAttribute("value","United States"); } document.body.appendChild(newInput); MAIN MENU MY P&G

·  Saved Jobs0
·  My Account
·  My Profile
·  My Submissions
·  Application Help

·  Life At P&G
·  Qualifications:

·  We are looking for leaders who have graduated with a BS or MS in Computer Science/Engineering, Programming/Software Development or Operations Research or Statistics and/or Business/Management Information Systems who have:
·  Demonstrated proficient to advanced mastery in applied data technologies o SQL o Linux o Shell Scripting o Relational databases, ER models/diagrams
·  Have proficient knowledge in programming languages such as Python, Java or R or similar
·  Demonstrated skills in database / data modelling or are experienced with Big Data technologies (Spark, Hadoop, Hive) and/or NoSQL databases
·  Good written and verbal communication skills to engage with others, primarily Data Science
·  Demonstrated use of data and BI tools
·  Demonstrated ability to handle multiple priorities
·  Ability to work collaboratively across functions

Job locations:
Panama, Panamá, Panama Job Type: Full-time Job categories: Information Technology Req No: IT 00002883 Apply Now

Share This Page

·  Email
·  LinkedIn
·  Twitter
·  Facebook

Recently Viewed Opportunities

You have not viewed any jobs recently.

STAY INFORMED

Join our Talent Community to receive via email information about P&G, upcoming events, and job alerts.

SIGN UP FOR:

Job Alerts & Career Communications

Culture

Learn how our meaningful work is making life better for customers and communities everywhere.

Experienced Hires

Find out why you should bring everything you’ve learned in your career so far to P&G.

Locations

See all of our locations.

About P&G

Discover more about who P&G really is: our culture, brands, innovations, and the meaningful work we do.
Load More Related Content

Join us and help make life better through meaningful work that makes an impact from Day 1.

·  Jobs By Category
·  Jobs By Location
·  Jobs By Group
·  Facebook
·  YouTube
·  Twitter
·  LinkedIN
·  Instagram
·  Pampers
·  Tide
·  Gillette
·  old-spice
·  oral-b
·  Pantene
·  Terms & Conditions
·  Privacy
·  AdChoices

© 2020 Procter & Gamble. All rights reserved. An equal opportunity employer.
back to top //CUSTOM COOKIE BANNER SCRIPTS function OptanonWrapper() { } // create cookie consent button and wrapper div var d = document.createElement('div'); d.classList.add("cookie-button-wrapper"), document.body.appendChild(d); var t = document.createElement("button"); t.classList.add("cookie-consent-button"), t.innerText = "Cookie Consent", t.setAttribute("aria-pressed", "false"); d.appendChild(t); // create close button for menu which is placed inside of popup var c = document.createElement("button"); c.classList.add("close-cookie-button"), c.innerText = "Close", c.setAttribute("aria-pressed", "false"); // document.getElementById("optanon-popup-top").appendChild(c); var oneTime = 0; document.querySelector(".cookie-consent-button").addEventListener("click", function() { if(oneTime var _apply = _apply || []; var _applybase = 'https://olivia.paradox.ai/'; _apply.push(['setKey', 'eccztptjocxjfsnzmrzw']); _apply.push(['start']); (function() { var apply = document.createElement('script'); apply.type = 'text/javascript'; apply.async = true; apply.src = 'https://dokumfe7mps0i.cloudfront.net/static/site/js/widget-client.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(apply, s); })(); var countryCode = [];//generate country list based on html in dropdown$('[data-global-name]').each(function() { var data = [$(this).data('lcode'), $(this).data('global-name'), $(this).data('global'), $(this).data('lat'), $(this).data('lon')]; countryCode.push(data);});var locKeyDown = false;$(document).ready(function() { var $selCounty = $('#nav-global-toggle b'); $('.form-location input').keydown(function() { locKeyDown = true; }); $('[data-global-name]').click(function(e) { var countryNameValue = $(this).attr("data-global-name"); if (window.location.hostname != "pgcareers.runmytests.com") { APP.MODELS.GoogleBot.sendCustomDimensions('Custom Event','Click',countryNameValue,'event'); } if ($(this).attr("href").indexOf("http") != -1) { Locations.href = $(this).attr("href"); return; } e.preventDefault(); locKeyDown = false; var countryCode = $(this).data("lcode"); var countryLat = $(this).data("lat"); var countryLon = $(this).data("lon"); var country = $(this).text(); setCookie("SelCountry", country, 1); setCookie("CountryLT", countryCode, 1); $selCounty.html(country); console.log(countryCode + " - " + countryLat + " - " + countryLon); var pC = getCookie("PersonalizationCookie"); pC = unescape(pC); console.log("Before :" + pC); jC = JSON.parse(pC); countryCode = countryCode + ""; var changeLoc = { "Locations": [{ "Path": countryCode, "FacetType": 2 }], "Categories": [], "PersonalizationType": 1, "DateCreated": "2019-06-10T18:44:34.209Z", "CustomFacets": [{ "CustomFacetValue": "Full-time", "CustomFacetTerm": "job_status" }], "TenantId": 936 }; jC[1] = changeLoc; console.log("After :" + JSON.stringify(jC)); console.log("pCookie length " + jC.length); if (jC.length > 3) { jC.pop(); } if (jC.length > 2) { jC.pop(); } setCookie("PersonalizationCookie", JSON.stringify(jC), 1); location.reload(); });});var countrySet = false;$(document).ajaxStop(function() { console.log("Ajax Stop page... cs " + countrySet); if (!countrySet) { var cookieCountry = getCookie("SelCountry"); var $selCounty = $('#nav-global-toggle b'); var djC = getCookie("PersonalizationCookie"); console.log(djC); djC = unescape(djC); var pCookie = JSON.parse(djC); //default values set for when the cookie does not have a location set var countryName = "United States"; //default Values var countryAbbr = "USA"; //default Values var countryLat = ""; var countryLon = "" var locCode = "6252001"; //default Values console.log("pCookie length " + pCookie.length); if(pCookie.length==3 && typeof cookieCountry !== "undefined" && cookieCountry.length>0) { pCookie.pop(); setCookie("PersonalizationCookie", JSON.stringify(pCookie), 1); console.log("removing 3rd node"); console.log("after..remove 3rd. pz " + JSON.stringify(pCookie)); } if(pCookie.length==3) { locCode = pCookie[2].Locations[0].Path; if (locCode.split("-").length > 1) { locCode = locCode.split("-")[0]; } console.log("Path from PC 3 =" + locCode); } if (pCookie.length == 2) { if (typeof pCookie[1].Locations[0] != typeof undefined) { locCode = pCookie[1].Locations[0].Path; } if (locCode.split("-").length > 1) { locCode = locCode.split("-")[0]; } console.log("Path from PC 2 =" + locCode); } if (pCookie.length == 1) { if (typeof pCookie[0].Locations[0] != typeof undefined) { locCode = pCookie[0].Locations[0].Path; } if (locCode.split("-").length > 1) { locCode = locCode.split("-")[0]; } console.log("Path from PC 1 =" + locCode); } for (var i = 0; i " + countryAbbr + " ) "); /* $('.search-location').val(countryName); $('.search-location').attr("data-lp",locCode); $('.search-location').attr("data-lat",countryLat); $('.search-location').attr("data-lon",countryLon); $('.search-location').attr("data-lt",'2'); */ countrySet = true; } switch (locCode) { case "1861060": //japan showExternalPGSitePopup('Japan'); break; case "2017370": //russia showExternalPGSitePopup('Russia'); break; case "6251999": //canada showExternalPGSitePopup('Canada'); break; case "1814991": //china showExternalPGSitePopup('China'); break; case "1819730": //HK china showExternalPGSitePopup('China'); break; case "1668284": //Taiwan china showExternalPGSitePopup('China'); break; }});function getCookie(name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift();}function setCookie(name, value, days) { var expires = ""; if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); expires = "; expires=" + date.toUTCString(); } document.cookie = name + "=" + (value || "") + expires + "; path=/";}function showExternalPGSitePopup(country) { if (getCookie("StayGlobal") != "y") { console.log(" showExternalPGSitePopup" + country); var exteralPGSitePopup = '

Ready to start your Day 1?

It looks like you’re located in #country. Would you like to visit our #country site to explore opportunities near you?

Yes No
'; if (country == "Japan") exteralPGSitePopup = exteralPGSitePopup.replace(/#countrylink/g, "https://japan.pgcareers.com"); else if (country == "Russia") exteralPGSitePopup = exteralPGSitePopup.replace(/#countrylink/g, "https://russia.pgcareers.com/"); else if (country == "Canada") { exteralPGSitePopup = '

Ready to start your Day 1?

It looks like you’re located in Canada. Would you like to explore opportunities near you?

Français English
'; exteralPGSitePopup = exteralPGSitePopup.replace(/#countrylink/g, "https://canada-francais.pgcareers.com/"); } else if (country == "China") { exteralPGSitePopup = '

Ready to start your Day 1?

It looks like you’re located in Greater China. Would you like to visit our Greater China site to explore opportunities near you?

Yes No

To receive updates on opportunities in Greater China, complete ourStay Informed Form
'; } exteralPGSitePopup = exteralPGSitePopup.replace(/#country/g, country); $('body').append(exteralPGSitePopup); $(".global-btn-no").click(function(e) { e.preventDefault(); $.magnificPopup.close(); setCookie("StayGlobal", "y") }); $.magnificPopup.open({ items: { src: '#external-country-pop' }, type: 'inline', callbacks: { close: function() { console.log("Set StayGlobal C"); setCookie("StayGlobal", "y") } } }); }}