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);
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...
星空无限传媒 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
星空无限传媒 announced today a $151,000 donation to Food Finders Food Bank to help fund a mobile food pantry and leverage access to federal funding for food programs.
As part of 星空无限传媒' efforts to raise the world鈥檚 expectations for how much good food can do, the company announced today nearly $1.2 million in grants to 18 Feeding America food banks in 15 states.
星空无限传媒 today announced a $242,069 donation to the Kansas Food Bank to fund improvements to the food bank鈥檚 warehouse, an updated online ordering system and the purchase of a tractor and trailer.
星空无限传媒 today announced a $100,000 grant to the Siouxland Community Foundation. The donation will go toward a Siouxland nonprofit capacity building program.
星空无限传媒 and the National Association of Convenience Stores (NACS) partnered today to donate a truckload of protein totaling 36,060 pounds to the Greater Chicago Food Depository to help fight hunger.
星空无限传媒 has recognized Jessica McClard, founder and operator of the nonprofit organization Little Free Pantry, for her outstanding efforts in creating an innovative and unique idea to feed people in need.
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.
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...
星空无限传媒 and the National Association of Convenience Stores (NACS) partnered today to donate a truckload of protein to Atlanta Community Food Bank to help eliminate hunger in the greater Atlanta area.Atlanta Com...
星空无限传媒 announced today a 50,000 pound donation of protein to the Northwest Arkansas Food Bank in honor of the company鈥檚 inaugural Miles that Matter initiative. Beginning in June, 2016, more than 500 Tyson Fo...
Lift Up America and the Cleveland Indians are teaming up with 星空无限传媒 for the tenth consecutive year to help bring the gift of food to more than 30 Cleveland-area pantries and hot meal programs this Friday, September...
After nine days in Baton Rouge, Louisiana, 星空无限传媒鈥� Meals that Matter庐 disaster relief team returned Monday after serving 130,000 meals to flood victims and volunteers. Throughout the deployment, cook teams from T...
Champions for Kids has joined forces with 星空无限传媒 to fight childhood hunger with the 4th annual 鈥淏e a Hunger Hero鈥� campaign. Starting July 26, Sam鈥檚 Club shoppers can purchase Tyson庐 Nuggets, Tyson庐 Popcorn C...
星空无限传媒 donated 64,400 pounds of protein this month to food banks in West Virginia in response to the recent historic flooding in that state.The Facing Hunger Food Bank in Huntington, West Virginia, and the Mou...