(function(){try{var q=window.location.search;var m=q.match(/[?&]akp_notrack=([01])/);if(m){document.cookie='akp_notrack='+m[1]+';path=/;max-age='+(m[1]==='1'?15552000:0)+';SameSite=Lax';}var armed=/(^|; )akp_notrack=1(;|$)/.test(document.cookie)||(m&&m[1]==='1');if(armed&&!window.fbq){var n=function(){};n.queue=[];n.loaded=true;n.version='2.0';n.callMethod=function(){};window.fbq=n;window._fbq=n;}}catch(e){}})();
var breeze_prefetch = {"local_url":"https://annakatherinepage.com","ignore_remote_prefetch":"1","ignore_list":["/?wc-api=wc_facebook_get_feed_data&secret=1760aef9e5a5d06e2a1f0f642c457ce5","/cart/","/checkout/","/my-account/","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://annakatherinepage.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://annakatherinepage.com/wp-includes/js/jquery/jquery.min.js
https://annakatherinepage.com/wp-includes/js/jquery/jquery-migrate.min.js
https://annakatherinepage.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
var wc_add_to_cart_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https://annakatherinepage.com/checkout/","is_cart":"","cart_redirect_after_add":"no"};
//# sourceURL=wc-add-to-cart-js-extra
https://annakatherinepage.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
https://annakatherinepage.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_password_show":"Show password","i18n_password_hide":"Hide password"};
//# sourceURL=woocommerce-js-extra
https://annakatherinepage.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
window.__wc_fb_page_generated = 1794701536;
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
window.FacebookSignals = window.FacebookSignals || {
_held: false,
_releasing: false,
_pixelInitialized: false,
_pixelId: null,
_pixelUserInfo: {},
_pixelOptions: {},
_pendingPixelEvents: [],
_queue: [],
_config: {},
_attribution: {},
_seenEventIds: {},
_fbclid: (function() {
try {
var m = window.location.search.match(/[?&]fbclid=([^&]*)/);
return m ? decodeURIComponent(m[1]) : null;
} catch(e) { return null; }
})(),
init: function(config) {
config = config || {};
this._config = config;
this._attribution = config.attribution || {};
var cookieState = this._getCookie('wc_facebook_signals_state');
this._held = cookieState ? cookieState === 'held' : !!config.held;
this._fbclid = this._fbclid || null;
if (typeof fbq === 'function') {
fbq('consent', this._held ? 'revoke' : 'grant');
}
try {
var raw = window.sessionStorage.getItem('wc_facebook_signals_seen_event_ids');
this._seenEventIds = raw ? JSON.parse(raw) : {};
} catch (e) {
this._seenEventIds = this._seenEventIds || {};
}
},
initPixel: function(pixelId, userInfo, options) {
this._pixelId = pixelId;
this._pixelUserInfo = userInfo && typeof userInfo === 'object' && !Array.isArray(userInfo) ? userInfo : {};
this._pixelOptions = options || {};
if (!this._held) {
this._runPixelInit();
}
},
_runPixelInit: function() {
if (this._pixelInitialized || !this._pixelId || typeof fbq !== 'function') return;
fbq('init', this._pixelId, this._pixelUserInfo, this._pixelOptions);
this._pixelInitialized = true;
this._flushPendingPixelEvents();
},
_flushPendingPixelEvents: function() {
var pending = this._pendingPixelEvents;
this._pendingPixelEvents = [];
for (var i = 0; i < pending.length; i++) {
var ev = pending[i];
this._firePixelEvent(ev.name, ev.params, ev.method, ev.eventId);
}
},
_fireOrQueuePixelEvent: function(name, params, method, eventId) {
if (!this._pixelInitialized) {
this._pendingPixelEvents.push({
name: name, params: params || {}, method: method || 'track', eventId: eventId || null
});
return;
}
this._firePixelEvent(name, params || {}, method || 'track', eventId || null);
},
_firePixelEvent: function(name, params, method, eventId) {
method = method || 'track';
if (eventId) {
fbq(method, name, params || {}, { eventID: eventId });
} else {
fbq(method, name, params || {});
}
},
queueEvent: function(eventData) {
if (!eventData || !eventData.event_name) return;
var originalId = eventData.event_id || null;
if (originalId && this._seenEventIds[originalId]) return;
if (!this._held) {
this._fireOrQueuePixelEvent(eventData.event_name, eventData.custom_data || {}, eventData.method || 'track', originalId);
return;
}
eventData = this._cloneEventData(eventData);
eventData.event_id = this._generateEventId();
eventData.event_time = eventData.event_time || Math.floor(Date.now() / 1000);
this._queue.push(eventData);
var idToMark = originalId || eventData.event_id;
if (idToMark) {
this._seenEventIds[idToMark] = 1;
try {
window.sessionStorage.setItem(
'wc_facebook_signals_seen_event_ids',
JSON.stringify(this._seenEventIds)
);
} catch (e) {}
}
},
trackEvent: function(name, params, userData, method, eventId) {
method = method || 'track';
eventId = eventId || (params && params.eventID) || null;
if (this._held) {
this.queueEvent({
event_name: name,
custom_data: params || {},
event_id: eventId,
event_time: Math.floor(Date.now() / 1000),
method: method
});
} else {
this._fireOrQueuePixelEvent(name, params || {}, method, eventId);
}
},
release: function() {
var self = this;
if (!self._held || self._releasing || !self._config.ajaxUrl) {
return Promise.resolve({ success: true, data: { sent_count: 0 } });
}
self._releasing = true;
var attribution = self._collectAttribution();
var payload = JSON.stringify({
events: self._queue,
attribution: {
fbp: attribution.fbp || null,
fbc: attribution.fbc || null
},
fbclid: self._fbclid || null
});
var url = self._config.ajaxUrl +
(self._config.ajaxUrl.indexOf('?') === -1 ? '?' : '&') +
'action=' + encodeURIComponent(self._config.action);
return new Promise(function(resolve, reject) {
var xhr = new XMLHttpRequest();
xhr.open('POST', url, true);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.onload = function() {
if (xhr.status >= 200 && xhr.status < 300) {
try {
var resp = JSON.parse(xhr.responseText);
self._handleReleaseResponse(resp.data || {}, attribution);
resolve(resp);
} catch(e) { self._releasing = false; reject(e); }
} else {
self._releasing = false;
reject(new Error('Signal release AJAX failed: ' + xhr.status));
}
};
xhr.onerror = function() { self._releasing = false; reject(new Error('Network error')); };
xhr.send(payload);
});
},
_handleReleaseResponse: function(data, attribution) {
this._syncAttributionCookies(data || {}, attribution);
// Override cached user_info with fresh data from the release response.
if (data.user_info && typeof data.user_info === 'object' && !Array.isArray(data.user_info)) {
this._pixelUserInfo = data.user_info;
}
this._held = false;
this._releasing = false;
fbq('consent', 'grant');
this._runPixelInit();
var queue = this._queue;
for (var i = 0; i < queue.length; i++) {
var ev = queue[i];
this._fireOrQueuePixelEvent(ev.event_name, ev.custom_data || {}, ev.method || 'track', ev.event_id || null);
}
this._queue = [];
},
_collectAttribution: function() {
var clientParams = {};
if (typeof clientParamBuilder !== 'undefined') {
try {
clientParams = clientParamBuilder.processAndCollectParams(this._getAttributionUrl()) || {};
} catch (e) {}
}
var fbp = this._getCookie('_fbp') || clientParams._fbp || (typeof clientParamBuilder !== 'undefined' ? clientParamBuilder.getFbp() : null);
var fbc = this._getCookie('_fbc') || clientParams._fbc || (typeof clientParamBuilder !== 'undefined' ? clientParamBuilder.getFbc() : null);
if (!fbc && this._fbclid) {
fbc = 'fb.1.' + Date.now() + '.' + this._fbclid;
}
return { fbp: fbp || null, fbc: fbc || null };
},
_syncAttributionCookies: function(data, attribution) {
var fbp = data.fbp || (attribution && attribution.fbp) || null;
var fbc = data.fbc || (attribution && attribution.fbc) || null;
if (fbp) {
this._setAttributionCookie('_fbp', fbp, data.fbp_domain || null);
}
if (fbc) {
this._setAttributionCookie('_fbc', fbc, data.fbc_domain || null);
}
},
_setAttributionCookie: function(name, value, domain) {
if (!value) return;
var domainAttr = domain ? ';domain=' + domain : '';
document.cookie = name + '=' + encodeURIComponent(value) + ';path=/;max-age=7776000' + domainAttr + ';SameSite=Lax';
},
_getCookie: function(name) {
var match = document.cookie.match(new RegExp('(?:^|;\\s*)' + name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') + '=([^;]*)'));
if (!match) return null;
try { return decodeURIComponent(match[1]); } catch(e) { return null; }
},
_cloneEventData: function(eventData) {
var clone = {};
for (var key in eventData) {
if (Object.prototype.hasOwnProperty.call(eventData, key)) {
clone[key] = eventData[key];
}
}
return clone;
},
_generateEventId: function() {
if (window.crypto && typeof window.crypto.randomUUID === 'function') {
return window.crypto.randomUUID();
}
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0;
return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16);
});
},
_getAttributionUrl: function() {
if (!this._fbclid) return window.location.href;
try {
var url = new URL(window.location.href);
if (!url.searchParams.get('fbclid')) {
url.searchParams.set('fbclid', this._fbclid);
}
return url.toString();
} catch (e) {
return window.location.href;
}
}
};
FacebookSignals.init({
held: false,
ajaxUrl: "https:\/\/annakatherinepage.com\/wp-admin\/admin-ajax.php",
action: 'facebook_release_signals',
pixelId: "5552345558112956",
attribution: {}
});
FacebookSignals.initPixel(
"5552345558112956",
{},
{"agent":"woocommerce_0-11.3.0-3.7.8"} );
document.addEventListener( 'DOMContentLoaded', function() {
document.body.insertAdjacentHTML( 'beforeend', '<div class=\"wc-facebook-pixel-event-placeholder\"></div>' );
}, false );
Skip to content
Tag: gifts for small business owners
Disclosure: This post contains affiliate links. If you buy through them, I may earn a small commission at no extra cost to you. Prices and availability were checked on Nov 13, 2026 and can change.
Updated November 2026.
The best gifts for small business owners and makers support the work: planning the year, writing thank-you notes, and a desk that looks pulled together. Rifle Paper Co.’s 2027 Paisley hardcover planner with pen is $34, Sugar Paper’s gold Swiss thank-you notes are $35, and Jenni Kayne’s cashmere cabin socks at $95 are the splurge they would not buy themselves.
Why trust this list
I’m Anna Katherine Page, a South Carolina flower farmer and curator. I grow cut flowers and run Cut & Bloom Co on Etsy, so I know how rarely small business owners buy themselves the nice planner or the good thank-you notes. These gifts come from retailer pages I checked on November 13, 2026. I did not personally test every item; I chose them for materials, usefulness, and a finished look that belongs in a studio or on a desk.
Quick comparison
Pick Brand Price Best for Link 2027 Desk Calendar – Country Farm Rifle Paper Co. $22 A charming new-year desk gift Shop Carter Slide Mug Fellow from $29.95 Coffee for someone with no free hand Shop 2027 12-Month Hardcover Planner with Pen – Paisley Rifle Paper Co. $34 Planning the year, with a pen included Shop Gold Swiss Thank You Note Set Sugar Paper $35 Makers who still write real notes Shop 2027 Wall Calendar – Botanical Garden Rifle Paper Co. $36 A wall calendar that works as art Shop 2027 Flax Desk Agenda Sugar Paper from $38 A linen-bound agenda for the desk Shop Essential Letter Tray – Olive Hawkins New York $38 Invoices, notes, and swatches Shop Marbleized Hexagon Tray, Set of 2 – Warm Marble Hawkins New York $38 A collected pair of desk trays Shop Embroidered Flax Stripe Pencil Pouch Sugar Paper $39 A quiet, lasting desk pouch Shop East West Canvas Tote Bag – Schoolhouse Rifle Paper Co. $42 Market days and studio carry Shop Fancy Small Lacquer Tray Furbish Studio $48 A desk catch-all with personality Shop Cabin Socks Jenni Kayne $95 A cozy splurge they would not buy Shop
Small business owners rarely buy themselves the nice planner. That is why it makes a great gift. The list runs from a $22 desk calendar up to one cozy splurge, so you can match the gift to the budget. If they also grow or sell flowers, see gifts for flower lovers and flower farmers .
Under $25
1. 2027 Desk Calendar – Country Farm ($22)
An illustrated calendar for the new year. Rifle Paper Co.’s Country Farm desk calendar is a charming, useful gift for any studio desk.
Why it’s a good gift: A 2027 desk calendar is timely, inexpensive, and useful from January on, which makes it an easy gift for a maker or small business owner.
Best for: A charming new-year desk gift, or a stocking stuffer under $25.
Shop at Rifle Paper Co.
Under $50
2. Carter Slide Mug (from $29.95)
A mug for the person who never has a free hand. Fellow’s Carter mug has a slide lid and is built to last.
Why it’s a good gift: Makers and business owners drink a lot of coffee, often while walking between a desk and a studio, and a lidded mug is simply more useful.
Best for: Someone who is always mid-task, or anyone who wants a well-made mug that will not spill as easily.
Shop at Fellow
3. 2027 12-Month Hardcover Planner with Pen – Paisley ($34)
A planner that arrives with a pen. Rifle Paper Co.’s 2027 hardcover planner in the Paisley print: patterned, cheerful, and ready for the year.
Why it’s a good gift: A dated 2027 planner is one of the most practical gifts for small business owners, and including a pen means it is ready to use the day they open it.
Best for: Planning the year, especially someone who likes a patterned, cheerful hardcover.
Shop at Rifle Paper Co.
4. Gold Swiss Thank You Note Set ($35)
Thank-you notes worth mailing. Sugar Paper’s gold Swiss-dot thank-you notes, for the maker who still writes real notes to customers.
Why it’s a good gift: Handmade businesses still win customers with a real thank-you in the mail, and most makers put off buying nice stationery for themselves.
Best for: Makers, Etsy sellers, and anyone who still writes notes to customers or collaborators.
Shop at Sugar Paper
5. 2027 Wall Calendar – Botanical Garden ($36)
A wall calendar that works as art. Rifle Paper Co.’s Botanical Garden calendar for 2027, the one you will not mind looking at all year.
Why it’s a good gift: A wall calendar is useful in a studio or kitchen, and a botanical one is easy to live with.
Best for: A studio wall, a kitchen command center, or a maker who wants a calendar that also looks like art.
Shop at Rifle Paper Co.
6. 2027 Flax Desk Agenda (from $38)
A linen-bound agenda that looks good on a desk. Sugar Paper’s 2027 flax desk agenda is the planner they would not quite buy themselves.
Why it’s a good gift: A linen-bound agenda feels more finished than a basic planner, which is exactly why it works as a gift.
Best for: A desk that is on camera or in a studio, or someone who wants a quieter, more tailored planner.
Shop at Sugar Paper
7. Essential Letter Tray – Olive ($38)
A tidy catch-all in olive. A letter tray from Hawkins New York, for the pile of invoices, notes and fabric swatches that otherwise lives everywhere.
Why it’s a good gift: Every small business has a pile. A letter tray gives that pile a place, and olive is easy to live with.
Best for: Invoices, notes, swatches, and any desk that needs a quiet catch-all.
Shop at Hawkins New York
8. Marbleized Hexagon Tray, Set of 2 – Warm Marble ($38)
A pair of desk trays with a collected look. Hawkins New York’s warm marbleized hexagon trays, patterned enough to feel like a gift and useful enough to stay out.
Why it’s a good gift: A set of two trays can split jewelry, paper clips, or shipping supplies, and the marbleized pattern makes them feel like a present.
Best for: A desk or dresser that needs a collected pair of catch-alls.
Shop at Hawkins New York
9. Embroidered Flax Stripe Pencil Pouch ($39)
The quiet, well-made desk pouch. Sugar Paper’s flax linen pencil pouch, embroidered and simple, the kind of accessory that lasts longer than a trend.
Why it’s a good gift: Pens, scissors, and washi tape have to live somewhere, and a linen pouch is a small luxury most people skip for themselves.
Best for: A studio tote or desk drawer, and anyone who wants a quiet, lasting accessory.
Shop at Sugar Paper
10. East West Canvas Tote Bag – Schoolhouse ($42)
A tote for market and studio days. Rifle Paper Co.’s Schoolhouse canvas tote, for the maker who is always carrying something.
Why it’s a good gift: Makers are always carrying samples, mailers, or market stock, and a sturdy patterned tote gets used every week.
Best for: Market days, studio carry, and errands between the workshop and the post office.
Shop at Rifle Paper Co.
11. Fancy Small Lacquer Tray ($48)
A small lacquer tray with some personality. From Furbish Studio, a handmade desk catch-all that does not look like office supply.
Why it’s a good gift: A tray keeps the daily mess in one place, and a handmade lacquer one feels like a gift rather than an organizer.
Best for: A desk catch-all with personality, or a maker whose workspace is also on display.
Shop at Furbish Studio
The splurge
12. Cabin Socks ($95)
The quirky pop in a camel capsule. Jenni Kayne’s chartreuse cashmere cabin socks: cozy, a little unexpected, and a gift they will not buy for themselves.
Why it’s a good gift: Small business owners buy the planner before they buy the cashmere socks. That is what makes this the splurge: cozy, a little unexpected, and easy to use all winter.
Best for: A close friend or family member, or the maker who already has the desk basics.
Shop at Jenni Kayne
More gift guides
If they also host or just moved, see hostess gifts for the holidays and housewarming gifts for new homeowners . Flower farmers and florists have their own list in gifts for flower lovers and flower farmers .
FAQ
What are good gifts for small business owners?
Start with the tools of the work: a 2027 planner, thank-you notes, a mug, or a desk tray. In this guide, Rifle Paper Co.’s Paisley hardcover planner with pen is $34, Sugar Paper’s gold Swiss thank-you notes are $35, and Fellow’s Carter Slide Mug starts at $29.95.
What should I get a maker or creative entrepreneur?
Choose something they will use in the studio or on market days, not a generic “girlboss” object. A 2027 agenda, thank-you notes, a canvas tote, or a small lacquer tray all fit. If you want a splurge, Jenni Kayne’s cashmere cabin socks are $95.
What’s a good 2027 planner to gift?
This list has three. Rifle Paper Co.’s 2027 Paisley hardcover planner with pen is $34 and arrives ready to use. Sugar Paper’s 2027 flax desk agenda, from $38, is the linen-bound desk option. For a smaller gift, the Country Farm desk calendar is $22.
What are useful desk gifts for someone who runs a small business?
Letter trays, a pencil pouch, and a small catch-all tray all help a desk stay usable. Hawkins New York’s olive letter tray is $38, the marbleized hexagon trays are $38 for a set of two, Sugar Paper’s flax pencil pouch is $39, and Furbish Studio’s small lacquer tray is $48.
What are good gifts for Etsy sellers or makers under $50?
Almost everything on this list is under $50, including the $22 desk calendar, the $34 planner, the $35 thank-you notes, the $42 Schoolhouse tote, and the $48 lacquer tray. Those are all practical gifts for someone who makes and sells work.
When is the latest I should give a 2027 planner or calendar?
Sooner is better, ideally in November or early December, so they can set up the year before January. A desk or wall calendar is still useful if it arrives a little later, but a planner is most helpful before the new year starts.
Prices checked Nov 13, 2026. This post contains affiliate links; I may earn a small commission at no extra cost to you.
Your cart
(items: 0)
Products in cart
Available on backorder
Previous price:
Discounted price:
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
https://annakatherinepage.com/wp-includes/js/dist/hooks.min.js
https://annakatherinepage.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
//# sourceURL=wp-i18n-js-after
https://annakatherinepage.com/wp-includes/js/dist/private-apis.min.js
https://annakatherinepage.com/wp-includes/js/dist/url.min.js
https://annakatherinepage.com/wp-includes/js/dist/api-fetch.min.js
wp.apiFetch.use( wp.apiFetch.createRootURLMiddleware( "https://annakatherinepage.com/wp-json/" ) );
wp.apiFetch.nonceMiddleware = wp.apiFetch.createNonceMiddleware( "72566e8dc2" );
wp.apiFetch.use( wp.apiFetch.nonceMiddleware );
wp.apiFetch.use( wp.apiFetch.mediaUploadMiddleware );
wp.apiFetch.nonceEndpoint = "https://annakatherinepage.com/wp-admin/admin-ajax.php?action=rest-nonce";
//# sourceURL=wp-api-fetch-js-after
https://annakatherinepage.com/wp-content/uploads/burst/js/burst.min.js
var wc_facebook_signals_params = {"ajax_url":"https://annakatherinepage.com/wp-admin/admin-ajax.php","nonce":"8cc5bc6a6b","action":"wc_facebook_update_signals_state"};
//# sourceURL=wc-facebook-signals-js-extra
https://annakatherinepage.com/wp-content/plugins/facebook-for-woocommerce/assets/js/facebook-for-woocommerce-signals.js
https://annakatherinepage.com/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js
var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"base64":false,"ajaxurl":"https://annakatherinepage.com/wp-admin/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
//# sourceURL=wc-order-attribution-js-extra
https://annakatherinepage.com/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js
https://annakatherinepage.com/wp-content/plugins/facebook-for-woocommerce/assets/js/frontend/pixel-events.js
(function() {
var processParams = function() {
if (typeof clientParamBuilder !== "undefined" && !/(?:^|;\s*)wc_facebook_signals_state=held(?:;|$)/.test(document.cookie)) {
clientParamBuilder.processAndCollectAllParams(window.location.href);
}
};
if (typeof clientParamBuilder !== "undefined") {
processParams();
return;
}
var fallbackScript = document.createElement("script");
fallbackScript.src = "https:\/\/unpkg.com\/meta-capi-param-builder-clientjs@1.3.2\/dist\/clientParamBuilder.bundle.js";
fallbackScript.onload = processParams;
document.head.appendChild(fallbackScript);
}());
//# sourceURL=facebook-capi-param-builder-js-after
/* WooCommerce Facebook Integration Event Tracking */
fbq('set', 'agent', (function(){var a='woocommerce_0-11.3.0-3.7.8';if(window.__wc_fb_page_generated&&(Math.floor(Date.now()/1000)-window.__wc_fb_page_generated)>1800){a=a.replace(/(\d+\.\d+\.\d+)/,'$1_c');}return a;})(), '5552345558112956');
window.wcFacebookPixelFiredEvents = window.wcFacebookPixelFiredEvents || {};
if (!window.wcFacebookPixelFiredEvents["22c0a49c-d9b6-42e1-b269-fdf8f7e94731"]) {
window.wcFacebookPixelFiredEvents["22c0a49c-d9b6-42e1-b269-fdf8f7e94731"] = true;
var isStale = window.__wc_fb_page_generated && (Math.floor(Date.now()/1000) - window.__wc_fb_page_generated) > 1800;
if (window.FacebookSignals && typeof window.FacebookSignals.trackEvent === 'function') {
window.FacebookSignals.trackEvent('PageView', {
"source": "woocommerce_0",
"version": "11.3.0",
"pluginVersion": "3.7.8"
}, null, 'track', isStale ? null : "22c0a49c-d9b6-42e1-b269-fdf8f7e94731");
} else if (isStale) {
fbq('track', 'PageView', {
"source": "woocommerce_0",
"version": "11.3.0",
"pluginVersion": "3.7.8"
});
} else {
fbq('track', 'PageView', {
"source": "woocommerce_0",
"version": "11.3.0",
"pluginVersion": "3.7.8"
}, {
"eventID": "22c0a49c-d9b6-42e1-b269-fdf8f7e94731"
});
}
}
//# sourceURL=facebook-for-woocommerce-inline-js-after
(function(){
function rgb(c){var m=(c||"").match(/[0-9.]+/g);return m?m.map(Number):null;}
function lum(a){return (0.299*a[0]+0.587*a[1]+0.114*a[2])/255;}
function effbg(el){var n=el;while(n){var c=rgb(getComputedStyle(n).backgroundColor);if(c&&(c.length<4||c[3]>0.5))return c;n=n.parentElement;}return null;}
var sel="main h1,main h2,main h3,main h4,main p,main li,main span,#frc h1,#frc h2,#frc h3,#frc p,#frc span,#frc li";
document.querySelectorAll(sel).forEach(function(t){
var bg=effbg(t);
if(!bg) return;
if(lum(bg)<0.30){
var fc=rgb(getComputedStyle(t).color);
if(fc && lum(fc)<0.5){ t.style.setProperty("color","#f7f1e6","important"); }
}
});
})();