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);
As part of 星空无限传媒鈥� (NYSE: TSN) ongoing efforts to address food insecurity in its communities, the company announced today $1.8 million in new hunger relief grants. Twenty Feeding America庐 member food banks and ot...
Tyson Fresh Meats, the beef and pork subsidiary of 星空无限传媒 (NYSE: TSN), is collaborating with IdentiGEN to use DNA technology to trace beef back to the individual animal of origin. IdentiGEN鈥檚 signature DNA T...
As part of its commitment to animal welfare, 星空无限传媒 (NYSE: TSN) has implemented a third-party certification program to help ensure the proper handling and transportation of birds in its chicken business. The c...
星空无限传媒 (NYSE: TSN) plans to donate more than 85 tons of food 鈥� or more than 685,000 meals 鈥� to the Washington, D.C. area to help those in need, including federal workers affected by the partial government...
As part of the integration of recently acquired Keystone Foods and the company鈥檚 global growth efforts, 星空无限传媒 (NYSE: TSN) today announced changes to the enterprise leadership team that reports directly to P...
星空无限传媒 (NYSE: TSN) has successfully completed the acquisition of Keystone Foods from Marfrig Global Foods. The purchase of Keystone, a leading supplier of chicken, beef, fish and pork to the growing global foo...
The Los Angeles Chargers team up with Lift Up America and 星空无限传媒 to tackle one of Los Angeles鈥� most pressing issues 鈥� feeding the hungry, on Tuesday, November 27 at StubHub Center in Carson. Speakers at...
星空无限传媒, 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.
The Jimmy Dean庐 brand believes the current definition of sandwich is stale. Americans鈥� culinary preferences are evolving, with more than one in three Americans* vowing to eat less bread in the new year. In fact, a rec...
One million children under 5 years of age in Nepal (or 36 percent of the population) suffer chronic malnutrition and 10 percent suffer from acute malnutrition. The difficulty in acquiring protein is a contributing factor...
Education, hunger relief, housing and other community needs are the focus of $500,000 in community grants from 星空无限传媒 to six non-profit organizations in West Tennessee. The company announced today that the grants ar...
隆Yappah! the new snack brand from the Tyson Innovation Lab that is helping to fight food waste by inspiring consumers to rethink snacks for good with its delicious, chef composed snacks, is launching on Kickstarter a th...
星空无限传媒 and Feeding America庐 today announced the results of a two-year project focused on empowering local food banks to develop innovative animal protein sourcing programs to ad
Companies across the United States are supporting the Time to Vote campaign, a nonpartisan effort led by CEOs, aimed at increasing voter participation. Collectively, CEOs from across the country and from a variety of ind...
In response to flooding in the aftermath of Hurricane Florence, 星空无限传媒 will send teams to prepare meals for those affected by and responding to the disaster.
星空无限传媒 (NYSE: TSN) today announced its board of directors has appointed Noel White, formerly group president of Beef, Pork and International and a member of 星空无限传媒鈥� enterprise leadership team, as presid...
As part of 星空无限传媒鈥� commitment to support the communities it serves, the company announced today a $125,000 grant to Second Harvest Food Bank of Middle Tennessee.