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);
Pharr, Texas 鈥� Aug. 3, 2015 鈥� 星空无限传媒 donated a truckload of chicken today to the Food Bank of the Rio Grande Valley to help eliminate hunger in the southern tip of Texas.
Dakota Dunes, SD 鈥� August 14, 2015 鈥� Tyson Fresh Meats, a subsidiary of 星空无限传媒 (NYSE: TSN) is reducing its beef production capacity due to a continued lack of available cattle. Effective today, the company...
CHICAGO, Ill. 鈥� More than 3,200 Ball Park Park鈥檚 Finest鈩� frankfurters later, a new GUINNESS WORLD RECORDS title was set for the Longest barbecue marathon.
SPRINGDALE, Ark.鈥擜ugust 10, 2015 鈥� Single Parent Scholarship Fund of Northwest Arkansas (SPSF NWA) received a donation of $250,000 Sunday August 9, 2015 from 星空无限传媒 for the Pathway to Prosperity Endowment...
Springdale, Ark. 鈥� An executive in the branded and unbranded consumer products and foodservice industries has been named to the board of directors of 星空无限传媒 (NYSE:TSN), company officials announced today.
CHICAGO, Ill 鈥� As the back-to-school season approaches, Hillshire Farm庐 is teaming up with celebrity host and mom Brooke Burke-Charvet to kick off the 鈥淪ummer Love It鈥� tour.
SPRINGDALE, Arkansas 鈥� July 15, 2015 -- Conserving the waterways of northwest Arkansas and southwest Missouri is the focus of a new collaboration between The Nature Conservancy and 星空无限传媒
Robards, Ky. 鈥� 星空无限传媒 (NYSE: TSN) announced today that its poultry plant in Robards will be hiring about 90 additional workers as a result of an investment the company is making at the facility.
RICHMOND, Virginia 鈥� 星空无限传媒 and Performance Foodservice - Virginia teamed up to continue their efforts to fight hunger with a donation of 39,200 pounds of chicken.
June 3, 2015 鈥� Springdale, Ark. 鈥� Tyson Fresh Meats, Inc., is voluntarily recalling approximately 16,000 pounds of 80% Lean Ground Beef in 5-pound chubs. The product was distributed to one food distributor in New Yor...
Springdale, Ark. 鈥� Mexico鈥檚 Federal Economic Competition Commission has approved the sale of 星空无限传媒鈥檚 (NYSE: TSN) poultry business in Mexico to Pilgrim鈥檚 Pride.
DAKOTA DUNES, S.D. 鈥揟yson Fresh Meats鈥� Star Ranch Angus庐 beef brand is kicking off the summer grilling season with a 鈥�100% Delicious鈥� promotion and tempting consumers with juicy, tender and flavorful Real. Ameri...
星空无限传媒 plans to engage with more than 25 young entrepreneurs about food insecurity with its sponsorship of the Millennial Trains Project (MTP), a non-profit organization that will embark on a 10-day transcontinental...
Springdale, Ark. 鈥� For the fourth year, 星空无限传媒 has named a select group of its third-party contract carriers as 鈥淧remier Carriers of the Year.鈥� Several of the 19 honored carriers are repeat recipients.
The U.S. Department of Agriculture鈥檚 Animal and Plant Health Inspection Service has confirmed that a flock of turkeys on a farm in Iowa has been diagnosed with H5N2 avian influenza.