by tyson_core_page_attachments(), before the
* OneTrust SDK, Google Tag Manager and any gtag.js snippet. Every signal
* starts as "denied". OneTrust calls OptanonWrapper() when it loads and after
* every choice; it updates Consent Mode from OneTrust's active categories and
* removes the first-party cookies of the categories that are off. A Global
* Privacy Control signal always keeps advertising denied.
*/
(function (window, document, navigator) {
"use strict";
/* OneTrust category IDs. */
var PERFORMANCE = "C0002";
var TARGETING = "C0004";
/* First-party cookies set by each category's tags: exact names, or
patterns for names with an ID suffix. Third-party cookies (e.g. on
.google.com) can't be removed by any site script. */
var TRACKING_COOKIES = {
analytics: [
/^_ga$/, /^_ga_/, /^_gid$/, /^_gat/, /^_gaexp$/,
/^_hj/
],
advertising: [
/^_gcl_/, /^_fbp$/, /^_fbc$/,
/^li_fat_id$/, /^li_gc$/, /^_uet/,
/^_ttp$/, /^_tt_enable_cookie$/, /^ttcsid/,
/^_scid/, /^_sctr$/
]
};
var gpc = navigator.globalPrivacyControl === true;
var previous = null;
window.dataLayer = window.dataLayer || [];
function gtag() {
window.dataLayer.push(arguments);
}
window.gtag = window.gtag || gtag;
function signals(choice) {
var ad = choice.advertising ? "granted" : "denied";
return {
ad_storage: ad,
ad_user_data: ad,
ad_personalization: ad,
analytics_storage: choice.analytics ? "granted" : "denied"
};
}
/* Expires a cookie the way OneTrust does: without a domain and on each
domain (with and without a leading dot), plain and SameSite=None; Secure. */
function deleteCookie(name, domains) {
domains.forEach(function (domain) {
var cookie = name + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;" + (domain ? " domain=" + domain + ";" : "");
document.cookie = cookie;
document.cookie = cookie + " SameSite=None; Secure;";
});
}
/* Deletes first-party tracking cookies for every denied category. */
function clearCookies(choice) {
/* The current host and every parent domain, since tags set cookies on
the registrable domain (e.g. .tysonfoods.com). */
var parts = window.location.hostname.split(".");
var domains = [""];
for (var i = 0; i < parts.length - 1; i++) {
domains.push(parts.slice(i).join("."), "." + parts.slice(i).join("."));
}
document.cookie.split(";").forEach(function (cookie) {
var name = cookie.split("=")[0].trim();
Object.keys(TRACKING_COOKIES).forEach(function (category) {
var tracked = TRACKING_COOKIES[category].some(function (pattern) {
return pattern.test(name);
});
if (name && !choice[category] && tracked) {
deleteCookie(name, domains);
}
});
});
}
var defaults = signals({analytics: false, advertising: false});
defaults.functionality_storage = "granted";
defaults.security_storage = "granted";
defaults.wait_for_update = 500;
gtag("consent", "default", defaults);
gtag("set", "ads_data_redaction", true);
/* Called by OneTrust on load and after every choice. */
window.OptanonWrapper = function () {
var groups = window.OnetrustActiveGroups || "";
var choice = {
analytics: groups.indexOf("," + PERFORMANCE + ",") > -1,
advertising: groups.indexOf("," + TARGETING + ",") > -1 && !gpc
};
gtag("consent", "update", signals(choice));
clearCookies(choice);
/* Tags already running on this page can't be stopped, so reload. */
if (previous && ((previous.analytics && !choice.analytics) || (previous.advertising && !choice.advertising))) {
window.location.reload();
return;
}
previous = choice;
};
})(window, document, navigator);
星空无限传媒 announced today the results of facility-wide testing for COVID-19 at its Storm Lake, Iowa pork facility, where limited production will resume on June 3 following a temporary halt during which additional...
星空无限传媒 (NYSE: TSN) announced it will conduct facility-wide testing for COVID-19 at our processing facilities and other operations in Benton and Washington Counties, where positive cases of the coronavirus have...
星空无限传媒 and Walla Walla County Department of Community Health (DCH) in partnership with Providence St. Mary Medical Center today announced the results of facility-wide testing for COVID-19 at Tyson鈥檚 Pasco, W...
星空无限传媒 and Elkhorn Logan Valley Public Health Department (ELVPHD) today announced the results of facility-wide testing for COVID-19 at Tyson鈥檚 Madison, Nebraska pork plant, where limited production has resum...
星空无限传媒 announced today that it has completed facility-wide testing for COVID-19 at its Portland, Maine poultry plant, where limited production resumed last week.
星空无限传媒 (NYSE: TSN) announced today that it has partnered with Axiom Medical, a leading occupational health services and incident case management provider, to help support team members during the COVID-19 crisi...
Tyson Fresh Meats, Inc., the beef and pork subsidiary of 星空无限传媒 (NYSE: TSN) today announced it will resume limited production at its Waterloo, Iowa facility on Thursday, May 7. Team members have been invited t...
Tyson Fresh Meats, Inc., the beef and pork subsidiary of 星空无限传媒 (NYSE: TSN), will resume limited production today at its Pasco, Washington, beef facility. The facility temporarily idled operations on April 23...
星空无限传媒 (NYSE: TSN), one of the world鈥檚 largest food companies and a recognized leader in protein with leading brands including Tyson, Jimmy Dean, Hillshire Farm, Ball Park, Wright, Aidells, ibp and State Fai...
Tyson Fresh Meats, Inc., the beef and pork subsidiary of 星空无限传媒 (NYSE: TSN), announced its plans to resume limited production at its Logansport, Indiana, facility next week, following a plant tour with local h...
星空无限传媒 (NYSE: TSN) is partnering with Matrix Medical Network (Matrix), a leading clinical services company, to help ensure the safety and health of their team members and contractors as the company begins to r...
Tyson Fresh Meats, Inc., the beef and pork subsidiary of 星空无限传媒 (NYSE: TSN), is currently winding down production and will temporarily pause operations Friday, May 1 through Monday, May 4 at its Dakota City, N...