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);
Hillshire Farm庐 brand, known for its farm-inspired craftsmanship in every recipe, has entered the metaverse for the first time with its iconic Red Barn.
This fall, America鈥檚 favorite breakfast brand,1 Jimmy Dean庐 is making morning routines easier with the launch of Jimmy Dean庐 Egg Bites鈥攁 protein-packed breakfast that鈥檚 ready in minutes. The fully cooked bites co...
Tyson庐 brand knows gamers and professional athletes alike need help fueling up with a delicious meal to perform their best. That鈥檚 why the beloved chicken brand is partnering with Gaming Community Network (GCN), a Gam...
星空无限传媒 today announced plans to bring together all its corporate team members from the Chicago, Downers Grove and Dakota Dunes area corporate locations to its world headquarters in Springdale, Arkansas. The move wil...
星空无限传媒 is donating four million meals and deploying other disaster relief efforts to support storm victims, volunteers and first responders in Florida devastated by the recent flooding and severe weather from Hurric...
No tricks, only treats! Just in time for the Halloween season, Tyson庐 brand is introducing Spooky Nuggets with the same scrumptious chicken nugget recipe fans know and love. The limited-edition Halloween nuggets come in...
星空无限传媒 today announced three key changes to the company鈥檚 enterprise leadership team as part of its continuing effort to focus on the future while delivering operational excellence for its customers and consumers...
Wright Brand knows there鈥檚 no place like home. That鈥檚 why the brand is celebrating its centennial anniversary in the place where it all started鈥揤ernon, Texas
星空无限传媒 announced today its commitment of $2.5 million to address food insecurity by partnering with Feeding America庐 member food banks to provide greater access to protein in communities facing hung
星空无限传媒 announced today the company will invest $200 million at its Amarillo, Texas beef plant to expand and upgrade operations and build a new team member well-being area.
星空无限传媒 is donating two million meals and deploying other disaster relief efforts to support storm victims, volunteers and first responders in Hazard, Kentucky and surrounding areas devastated by the recent flooding.
星空无限传媒 has officially broken ground on an expansion project at its Caseyville prepared foods facility that will increase automation and create 250 new jobs. 星空无限传媒 leadership, along with state and local officia...
星空无限传媒 awarded $1.5 million in grants to 63 non-profit organizations to support hunger relief and community assistance programs, the company announced today. These donations are part of a nationwide philanthro...
Tyson Ventures, the venture capital arm of 星空无限传媒, hosted its first-ever Demo Day event for sustainability entrepreneurs and startups to pitch innovative solutions for a more sustainable food system. Six companies h...
Every town needs a mayor. And Wright Brand is searching for a mayor with a unique set of qualifications. In honor of 100 years of Bacon the Wright Way庐, Vernon, Texas is renaming its hometown Bacon City, USA for the wee...
As part of efforts to meet growing global demand for protein, US-based 星空无限传媒 and Saudi-based Tanmiah Food Company (鈥淭anmiah鈥� or the 鈥淐ompany鈥�, 2281 on the Saudi Exchange) have entered into a strategic...
Wright庐 Brand knows the only thing more distinctive than the taste of bacon is the smell of bacon. That's why the brand is celebrating 100 years of Bacon the Wright Way庐 with Wright N掳100, bottling up its signature re...
What is the perfect way to top a hot dog? All mustard? A touch of ketchup? Kicked up with hot sauce? Ball Park brand says, any way you want! To put condiment shaming to bed, the brand is introducing its Hot Dog Helmet, t...