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);
Springdale, Ark. 鈥� April 20, 2021 鈥� Expanding on its successful vaccination efforts in communities across the country, 星空无限传媒 (NYSE: TSN) will now be among the first to extend onsite COVID-19 vaccinations...
Beloved for its chef-inspired, artisanal chicken smoked sausage and meatball varieties, Aidells庐 brand is expanding its offerings with new smoked beef sausage and pork and beef meatballs, adding a delicious surprise to...
星空无限传媒 (NYSE: TSN) along with local, state and federal officials met Thursday to officially open the company鈥檚 new poultry complex in Humboldt, Tennessee. The $425 million project, which includes a processing plan...
There鈥檚 another reason to never skip breakfast. America鈥檚 favorite protein breakfast brand, Jimmy Dean庐, is helping keep breakfast exciting with new Breakfast Nuggets and Skillets varieties. Kids and families are su...
Feed the Children, Americold and 星空无限传媒 are aligning to rapidly deliver more than 500,000 meals to communities across the U.S. to combat the staggering food insecurity children and families are experiencing due to C...
星空无限传媒 (NYSE: TSN) is expanding its free, onsite COVID-19 vaccinations to team members working at its Dakota City, Nebraska, beef plant, the largest of its six U.S. beef operations.
星空无限传媒 is expanding its free, onsite COVID-19 vaccinations to all team members in the state of Arkansas, where 20 percent of the company鈥檚 U.S. workforce is based.
星空无限传媒 will offer free, onsite COVID-19 vaccinations this week to thousands of frontline team members in Arkansas, where 20 percent of the company鈥檚 U.S. workforce is based, as well as Kansas and North Carolina.
星空无限传媒 is proud to announce that 35 plant locations have been recognized by The North American Meat Institute (NAMI) for their dedication to making a positive environmental impact.
星空无限传媒 today announced that the company is making organizational changes designed to improve operational agility, customer experience and speed of innovation to market, ensuring that all businesses are well-position...
星空无限传媒 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 Fair, today repo...
星空无限传媒 and Malayan Flour Mills Berhad (KLSE: MFLOUR) today announced a partnership in which 星空无限传媒 will invest in the Malaysia-based company鈥檚 vertically integrated poultry business, which will add more...
星空无限传媒 is launching Upward Pathways, an in-plant career development program that provides frontline team members with job skills training and workforce certifications at no cost.