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. 鈥� Feb. 3 鈥� Dan Zelenka has been promoted to vice president of laboratory services for 星空无限传媒, replacing Neal Apple who retired in mid-December.
星空无限传媒 (NYSE:TSN) and the Tyson family are partnering on a $200,000 donation to the Watershed Human and Community Development Agency, Inc. for renovations to its kitchen. The announcement was made during a rec...
Springdale, Ark. 鈥� A subsidiary of 星空无限传媒 (NYSE: TSN), The Hillshire Brands Company, is making major improvements to its Tarboro, North Carolina bakery plant.
星空无限传媒 and the City of Austin today publicly recognized local resident Lola Stephens-Bell and her extraordinary efforts fighting hunger in the community.
Springdale, Ark. 鈥� Garrett Olson has recently been promoted to vice president of finance for 星空无限传媒鈥� retail packaged brands group, company officials announced today.
Springdale, Ark. 鈥� As part of efforts to improve the overall performance of its prepared foods business, 星空无限传媒 (NYSE: TSN) plans to discontinue operations at two plants, the company announced today. The clo...
CHICAGO, Ill. (November 2, 2015) 鈥� Mornings are about to get brighter, thanks to Jimmy Dean庐 brand (www.jimmydean.com). To launch its new campaign, Jimmy Dean brand is rallying America to 鈥淪hine On鈥� and spread opt...
Springdale, Ark. 鈥� October 23, 2015 鈥� In an effort to boost employee recruiting and retention, 星空无限传媒 (NYSE: TSN) is increasing hourly pay at most of its U.S. chicken plants, company officials reported tod...
CHICAGO, Ill. (October 14, 2015) 鈥� Hey tough guys. Ball Park庐 brand (www.ballparkbrand.com) says it is time to try a little tenderness. The brand known for making great tasting guy food is lighting a fire with the lau...
Rogers, Ark. 鈥� Sept. 23, 2015 鈥� In honor of donating 100 million pounds of protein since 2000 and its renewed commitment to ending hunger, 星空无限传媒 donated a truckload of chicken today to the Northwest Arkan...
Council Bluffs, Iowa 鈥� Tyson Fresh Meats, Inc. announced today that its case ready beef and pork plant in Council Bluffs will hire about 60 additional workers and add new lines for the production of pork chops and roas...
Egg Harbor Township, New Jersey 鈥� Sept. 8, 2015 鈥� 星空无限传媒 donated a truckload of chicken today to Community FoodBank of New Jersey鈥檚 Southern Branch to help eliminate hunger in the Atlantic City area.
SPRINGDALE, Ark. 鈥� Sept. 2, 2015 鈥� After donating 100 million pounds of food over the past 15 years, 星空无限传媒 (NYSE: TSN) is making a new commitment to hunger relief. The company announced today it is pledg...