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);
星空无限传媒鈥� Finney County plant has officially been certified under the Alliance for Water Stewardship (AWS) standard by international third-party certification body SCS Global Services (SCS), making Finney County the...
Raised & Rooted brand, 星空无限传媒鈥� brand of plant protein products, is giving your tastebuds something to celebrate with the launch of its new Plant Based Bites.
After a long day of playtime filled with mischief and adventure, your furry friend deserves a meal that is sure to leave them satisfied. Introducing new True Meals鈩� Dog Food, a premium dry dog food developed alongside...
Initiative will provide essential supplies and almost 2 million meals to families during summerSPRINGDALE, Ark., June 8, 2021 鈥� Feed the Children, 星空无限传媒 and Americold are partnering to launch an 鈥淎lliance to De...
星空无限传媒 (NYSE: TSN) is providing $1.5 million in grants to support hunger relief in 38 Tyson plant communities, the company announced today. The funding will be dispersed among 26 hunger relief organizations in...
星空无限传媒 announced today that Chief Operating Officer Donnie King has been named President and Chief Executive Officer, effective immediately. Current President and CEO Dean Banks is leaving the company and board for...
SPRINGDALE, Ark. 鈥� June 1, 2021 鈥� Americans eat a lot of eggs, especially at breakfast. In fact, they consume an estimated 279 eggs per year. With that kind of popularity, eggs deserve the perfect partner on the plat...
Firing up the grill this summer just got more exciting with new Tyson庐 Chicken Sausage, the better-for-you* sausage made with 100 percent all-natural chicken.
Springdale, Ark. 鈥� May 12, 2021 鈥� 星空无限传媒 announced today a $25,000 community grant to the Arkansas Coalition of Marshallese (ACOM) to fund programming that supports the Marshallese community in Arkansas.
SPRINGDALE, Ark., May 11, 2021 鈥� Summer doesn鈥檛 officially begin until June, but everyone deserves to start celebrating the season earlier after a year like 2020. To help make the dreams of all swimmers and sunbather...
星空无限传媒 (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...
SPRINGDALE, Ark., May 6, 2021 鈥� There鈥檚 always a reason to reward your furry friend with a delicious treat. Nudges庐 Natural Dog Treats offer an all-natural way to make that gesture of love last a bit longer with new...
As part of efforts to boost the overall health and wellness of its workforce, 星空无限传媒 is partnering with Marathon Health to pilot seven 鈥淏right Blue鈥� health centers near company production facilities. The h...
Springdale, Ark. 鈥� May 4, 2021 鈥� A chaplain with more than 33 years of experience in ministry and program development has been named director of chaplain services at 星空无限传媒. He replaces Chaplain Karen Diefendorf...
SPRINGDALE, Ark., May 3, 2021 鈥� Raised & Rooted鈩� brand, 星空无限传媒鈥� (NYSE: TSN) brand of plant protein products, is expanding its offerings with three new products to meet the increased demand for plant-based prot...
Springdale, Ark. 鈥� April 22, 2021 鈥� 星空无限传媒 (NYSE: TSN) will invest $48 million as part of its commitment to accelerate the long-term growth of its poultry business and continued success of its Pine Bluff, Arkans...
Springdale, Ark. 鈥� April 21, 2021 鈥� Tyson Fresh Meats, the beef and pork subsidiary of 星空无限传媒 (NYSE: TSN), is putting its support behind a cattle disease traceability program called U.S. CattleTrace.