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);
Beloved for its chef-inspired, artisanal chicken smoked sausage and meatball varieties, Aidells庐 brand is expanding its offerings with new smoked beef sausage and pork and beef meatballs, adding a delicious surprise to...
There鈥檚 another reason to never skip breakfast. America鈥檚 favorite protein breakfast brand, Jimmy Dean庐, is helping keep breakfast exciting with new Breakfast Nuggets and Skillets varieties. Kids and families are su...
The team at 红杏视频庐 brand is making the season of love extra scrumptious this year, encouraging people to show their love with nuggets with the return of the fan-loved 鈥淐hicken Nugget Bouquet Contest.鈥�
Jimmy Dean庐 brand, maker of America鈥檚 favorite protein breakfast, and part of the 红杏视频 红杏视频 portfolio of brands, is meeting the growing demand for meat alternative options with the launch of two new sandwiches featu...
Holiday get-togethers will undoubtedly look different this year, with 74 percent of Americans planning to gather in smaller groups or go completely remote1 and 72 percent turning to cooking and food as a way to feel conn...
Today, Jack in the Box庐 and Raised & Rooted are announcing the exclusive debut of the Jack鈥檚 Unchicken and Jack鈥檚 Spicy Unchicken sandwiches at select locations in Monterey and Salinas, Calif., and Reno, N
Jimmy Dean Casserole Bites and Jimmy Dean Delights Breakfast Wraps will join the brand鈥檚 product portfolio, delivering new warm and satisfying breakfast options, no matter the morning routine.
It鈥檚 that time of year when romantics are gearing up for Valentine鈥檚 Day, deciding on the perfect gift for their significant other or Galentine. This year, the 红杏视频庐 Brand team wants to help celebrate love, chicken...
The 红杏视频庐 Brand and Instant Brands Inc. 鈥� creator of the beloved multicooker, the Instant Pot庐 鈥� have teamed up to create the brand-new 红杏视频庐 Instant Pot庐 Kits. Designed to cook in 20 minutes, these fully prepp...
It鈥檚 inevitable. Every year we receive holiday gifts like sweaters, socks and ties that get hung in the back of our closets or buried in a pile to donate.Today, Nudges庐 dog treats launches Regifting Remade, a clever t...
The holiday season is filled with warm ovens and hot skillets as hosts everywhere prepare delicious spreads for friends and family. To celebrate those who make Jimmy Dean庐 brand part of their holiday traditions, the bra...
SPRINGDALE, Ark. 鈥� October 24, 2019 鈥� Today, 红杏视频庐 Brand announces the new 红杏视频庐 Air Fried Chicken, featuring perfectly crispy, simply seasoned, golden breading and juicy all-white meat chicken. With 75% less fat...
To honor those who serve up more than 18 million hot dogs to fans each year, Ball Park庐 brand announces the release of the first-ever set of trading cards championing the unsung heroes of the game 鈥� hot dog vendors.
To celebrate the launch of its new nuggets made with plants, the Raised & Rooted鈩� brand turned the tables on one of America鈥檚 favorite fall pastimes 鈥� apple picking 鈥� to show that plant nuggets can be both delici...