Offers “Procter & Gamble”

days ago Procter & Gamble

Data Engineer

  • Internship
  • Reading (Reading)

Job description


Description

P&G is a leading global consumer goods company whose winning brandsare built around the model of innovation. Whatever your passion is, we want toignite your potential to become your very best self! We hold true to ourpurpose, values and principles as we seek to make a difference in the worldaround us. You will engage in meaningful work that will touch the lives ofothers and have a real impact.

In this role you will:
·  Develop and maintain scalable data pipelines that will ingest, transform, and distribute numerous data streams and batches in support of key R&D initiatives.
·  Support and collaborate with Data Scientists developing advanced machine learning and statistical models.
·  Evaluate tools and develop pipelines to capture, integrate and clean data to support edge analytics solutions.
·  Deliver optimal data solution architectures, automation and technology choices starting from experimentation through proof of concept and often through delivery.
What we Offer:
·  Responsibility from Day 1 – you will feel the ownership of your work from the beginning
·  Continuous coaching – you will work with passionate people and receive both formal training as well as day-to-day mentoring from your manager
·  Dynamic and respectful work environment – employees are at the core, we value every individual and encourage initiatives, promoting agility and work/life balance
·  We offer a competitive compensation and benefits package. This includes pension, life assurance, health insurance, flexible working, a stock ownership scheme and other social benefits. To find more information about our benefits package take a look here: https://www.pgcareers.com/benefits

Qualifications

The Ideal Candidate:
·  Strong interpersonal communication and collaboration skills.
·  History of working independently and effectively multi-tasking.
·  Familiarity with machine learning workflows (desirable).
·  Have experience with sensors and IoT cloud architecture (desirable).
·  Familiarity with RESTful APIs, containers and microservices.
·  Familiarity with data privacy and data governance.
·  Experience with NoSQL databases.
Qualifications:

Requirements (skills / experiences) for the role:
·  A PhD in Computer Science, Computer or Electrical Engineering or a related field.
·  Strong problem-solving skills paired with extensive experience programming (Python, Java, C++, etc).
·  Strong data wrangling skills.
·  Hands on experience with relational databases and the use of SQL to extract and manipulate data.
·  Experience with cloud services (AWS, Azure or GCP).
At P&G #weseeequal


We are an equal opportunity employer and value diversity at our company.Our people are all equally talented in unique ways: we come from diversetraditions, personal experiences and points of view. And we want to includeyours. Are you ready to inspire us with your unrivalled ideas?

P&G ensure that individuals with disabilities are providedreasonable accommodation to participate in the job application or interviewprocess. Please contact us to request an accommodation by clicking ‘applicationhelp’ at the top right-hand corner of the career website.

Job locations:
Reading, England, United Kingdom Job Type: Full-time Job categories: Research & Development Req No: RND00004782

Ideal candidate profile

Qualifications:


Requirements (skills / experiences) for the role:
·  A PhD in Computer Science, Computer or Electrical Engineering or a related field.
·  Strong problem-solving skills paired with extensive experience programming (Python, Java, C++, etc).
·  Strong data wrangling skills.
·  Hands on experience with relational databases and the use of SQL to extract and manipulate data.
·  Experience with cloud services (AWS, Azure or GCP).
At P&G #weseeequal



We are an equal opportunity employer and value diversity at our company. Our people are all equally talented in unique ways: we come from diverse traditions, personal experiences and points of view. And we want to include yours. Are you ready to inspire us with your unrivalled ideas?

P&G ensure that individuals with disabilities are provided reasonable accommodation to participate in the job application or interview process. Please contact us to request an accommodation by clicking ‘application help’ at the top right-hand corner of the career website.

","employmentType":"Experienced Professionals","identifier":"RND00004782","qualifications":"

The Ideal Candidate:
·  Strong interpersonal communication and collaboration skills.
·  History of working independently and effectively multi-tasking.
·  Familiarity with machine learning workflows (desirable).
·  Have experience with sensors and IoT cloud architecture (desirable).
·  Familiarity with RESTful APIs, containers and microservices.
·  Familiarity with data privacy and data governance.
·  Experience with NoSQL databases.
Qualifications:


Requirements (skills / experiences) for the role:
·  A PhD in Computer Science, Computer or Electrical Engineering or a related field.
·  Strong problem-solving skills paired with extensive experience programming (Python, Java, C++, etc).
·  Strong data wrangling skills.
·  Hands on experience with relational databases and the use of SQL to extract and manipulate data.
·  Experience with cloud services (AWS, Azure or GCP).
At P&G #weseeequal



We are an equal opportunity employer and value diversity at our company. Our people are all equally talented in unique ways: we come from diverse traditions, personal experiences and points of view. And we want to include yours. Are you ready to inspire us with your unrivalled ideas?

P&G ensure that individuals with disabilities are provided reasonable accommodation to participate in the job application or interview process. Please contact us to request an accommodation by clicking ‘application help’ at the top right-hand corner of the career website.

","title":"Data Engineer","url":"https://www.pgcareers.com/job/reading/data-engineer/936/17704774","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":"Reading","addressRegion":"England","addressCountry":"United Kingdom","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', '17704774'); createHiddenInput('dimension2', 'RND00004782'); createHiddenInput('dimension3', '936'); createHiddenInput('dimension4', '936,'); createHiddenInput('dimension6', 'Research-&-Development'); createHiddenInput('dimension7', 'Reading-England-United-Kingdom'); createHiddenInput('dimension9', 'Data Engineer'); createHiddenInput('dimension10', 'JobDetails'); createHiddenInput('dimension14', 'Basic JD'); createHiddenInput('dimension18', '0'); createHiddenInput('dimension19', '10/16/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:


Requirements (skills / experiences) for the role:
·  A PhD in Computer Science, Computer or Electrical Engineering or a related field.
·  Strong problem-solving skills paired with extensive experience programming (Python, Java, C++, etc).
·  Strong data wrangling skills.
·  Hands on experience with relational databases and the use of SQL to extract and manipulate data.
·  Experience with cloud services (AWS, Azure or GCP).
At P&G #weseeequal



We are an equal opportunity employer and value diversity at our company.Our people are all equally talented in unique ways: we come from diversetraditions, personal experiences and points of view. And we want to includeyours. Are you ready to inspire us with your unrivalled ideas?

P&G ensure that individuals with disabilities are providedreasonable accommodation to participate in the job application or interviewprocess. Please contact us to request an accommodation by clicking ‘applicationhelp’ at the top right-hand corner of the career website.

Job locations:
Reading, England, United Kingdom Job Type: Full-time Job categories: Research & Development Req No: RND00004782 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") } } }); }}