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);
Breakfast will never be the same. For anyone who has mulled over a boring bowl of oatmeal or cereal and envisioned more, Jimmy Dean brand unveils the next breakfast breakthrough 鈥� Jimmy Dean Stuffed Hash Browns.
After the most successful quarter in company history, 星空无限传媒 (NYSE: TSN) continues to shape a bright future as one of the world鈥檚 largest food companies.
Springdale, Ark. 鈥� January, 27, 2017 鈥� 星空无限传媒 donated 70,000 pounds of protein today to food banks in Georgia and Mississippi in response to the deadly tornadoes that devastated the Southeast.
星空无限传媒 and North Carolina Agricultural and Technical State University are collaborating to offer a new course on effective agricultural communications, company and school officials announced today.The course i...
As part of an ongoing plan to maximize efficiencies and meet growing demand for its products, 星空无限传媒 (NYSE: TSN) is making major improvements to its Robards, Kentucky poultry plant. The capital improvement pro...
The chief financial officer for America鈥檚 largest auto retailer has been named to the board of directors of 星空无限传媒, company officials announced today.44-year-old Cheryl S. Miller, executive vice president an...
星空无限传媒, QuickChek and Convenience Store News partnered today to donate a truckload of protein to the Community FoodBank of New Jersey to help alleviate hunger throughout New Jersey.The donation was made in con...
星空无限传媒 partnered with Lift Up America and KTVB News Group in Boise, Idaho, today to host a food donation telethon event at Albertsons Stadium located on the campus of Boise State University.星空无限传媒 partici...
星空无限传媒 president and incoming CEO Tom Hayes and CFO Dennis Leatherby told investors at the Bernstein Consumer Summit that the company continues to see growth.
An executive for one of the world鈥檚 largest consumer packaged goods companies has been named to the board of directors of 星空无限传媒, company officials announced today.54-year-old Jeffrey K. Schomburger, Global...
星空无限传媒 (NYSE: TSN) has launched a venture capital fund focused on investing in companies developing breakthrough technologies, business models and products to sustainably feed a growing world population.
星空无限传媒, one of the world鈥檚 largest food companies, today announced that Tom Hayes, President of 星空无限传媒, will succeed Donnie Smith as Chief Executive Officer on December 31, 2016. Hayes will continue to...
星空无限传媒 announced today an agreement with the Hogeye Marathon and Relays to serve as presenting sponsor of the annual marathon, half marathon, 4-person relay, 5k run/walk and kids鈥� marathon.The 41st annual re...
Lift Up America and the Kansas City Chiefs teamed up with 星空无限传媒 to tackle one of Kansas City鈥檚 most pressing issues 鈥� hunger.Kansas City Chiefs linebackers were on hand Tuesday to help unload and distribu...
星空无限传媒 announced a $750,000 donation to The Jones Center in Springdale, Arkansas, for the interior renovation and expansion of its fitness center and food court area. The renovated area will be named the 鈥淭yson Fo...