Disclosure
This post contains affiliate links, which means I may earn a small commission if you make a purchase through my links, at no extra cost to you.
Quick answer: Before you gift an at-home IPL device, check the brand’s hair and skin chart, read the manual, and keep the gift receipt. Consider the Nood Flasher Pro only if the recipient already fits Nood’s chart. If they want dermaplaning instead, look at the DERMAFLASH LUXE+. This is not medical advice.
Last updated: November 16, 2026
Some links in this post are affiliate links. If you buy through them I earn a small commission at no extra cost to you. Prices and stock were checked on November 16, 2026, and can change; the links open the live product pages.
At-home IPL is not universal. Nood’s Flasher Pro page says hair removal with the Hairless lens needs contrast between the melanin in the hair and the skin. Nood says that lens may not be suitable for very light blonde, red, or gray hair, or for deeper skin tones, and that “IPL is not safe or suitable for brown or dark-brown to black skin tones,” pointing to Fitzpatrick skin tones V and VI. On the same page, Nood describes a better fit as fair, light, medium, or tan skin with black, brown, or dark blonde hair.
Nood also says to complete a Skin Safety Test before starting, with instructions included with the device. If you cannot honestly map the recipient to that chart, do not buy IPL as a surprise. I am repeating the brand’s chart here; I am not making a results claim, and this is not medical advice.
Check this first
A better-fit gift, per Nood’s chart
A reason to pause or pick something else
Hair color
Black, brown, or dark blonde
Very light blonde, red, or gray, per Nood
Skin tone
Fair, light, medium, or tan (and Nood’s Fitzpatrick I–IV range for the Ageless lens)
Brown or dark-brown to black skin (Fitzpatrick V–VI); Nood says IPL is not suitable
Where they would use it
Body areas listed in the manual, if they also fit the chart
Immediately around the eyes or on the eyebrows; Nood says those areas are not suitable
Your certainty
You already know their hair and skin, or you asked
You are guessing, or they have a tattoo in the area you think they would treat
This table restates Nood’s published chart and manual pointers. Always check the current manual that ships with the device.
What else does the manual ask you to consider?
The chart is only the first filter. Nood tells buyers to refer to the instructional manual for the full list of recommended treatment areas, and not to use the device on the skin immediately surrounding the eyes or on the eyebrows. In Does Nood work?, I also note Nood’s guidance not to flash over tattoos in the treatment area. If the person is pregnant, has a skin condition, takes photosensitizing medication, or has any question the box cannot answer, they should check the manual and talk with a clinician. I will not invent a complete contraindication list here; the booklet in the box is the one that matters.
Nood also asks users to do a Skin Safety Test before they start. A gift that skips that step is a poor gift. Leave the test and the manual in the box.
Why does a gift receipt matter?
Because IPL is personal. Hair color, skin tone, tattoos, and where someone actually wants to treat hair are easy to get wrong from the outside. A gift receipt, or a printed order confirmation they can use to return or exchange the device, is the difference between a thoughtful present and a $299 paperweight. If you are not sure they fit the chart, buy a different gift.
Which Nood set should I buy if they already fit the chart?
If the recipient already fits Nood’s chart and wants at-home IPL, I would buy the Nood Flasher Pro on Nood.com, not a third-party wrap. That is the current Flasher Pro handset, and it is the link I am using here. On November 16, 2026, Nood.com listed it at $299, with a $379 compare-at price, and showed an unlock or members price of $249 on the same page. Both Gloss White and Matte Black were listed as available. The $249 figure is not the open cart price unless the site unlocks it, so confirm what you are charged before you check out.
That $249 members price matches the figure I had from November 10, 2026, but the public listed price on the page today is $299. If you also want The Eraser or a serum in one box, that is a different kit; this post is only about the Flasher Pro on Nood.com.
Then an IPL device is the wrong gift. Dermaplaning is for peach fuzz and exfoliation, not the same job as IPL on legs or underarms. If that is what they actually want, the DERMAFLASH LUXE+ is the dermaplaning device I would point you to. On November 16, 2026, Dermaflash listed the LUXE+ at $199 and marked it in stock. Read DERMAFLASH vs dermaplaning before you buy, follow the manufacturer’s directions, and still include a gift receipt.
Only if you already know the recipient’s hair and skin fit the brand’s chart, and you can include a gift receipt. Nood says the hair-removal lens is not suitable for very light blonde, red, or gray hair, or for deeper skin tones, and that IPL is not suitable for brown or dark-brown to black skin (Fitzpatrick V and VI). If you are guessing, choose something else or give a receipt they can actually use.
Does at-home IPL work on blonde hair?
Nood’s own chart says hair removal needs contrast between the hair and the skin, and that very light blonde, red, or gray hair may not be a match. I go into that in more detail in Does Nood work on blonde hair? Do not gift IPL in the hope it will work on hair the brand says it may not target.
Can you use Nood on your face?
Nood says the Flasher Pro can be used on some face and body areas, but not on the skin immediately around the eyes or on the eyebrows. Read Can you use Nood on your face? and the manual before you buy it as a facial-hair gift. This is not medical advice.
How much is the Nood Flasher Pro?
On November 16, 2026, Nood.com listed The Flasher Pro at $299, marked down from a $379 compare-at price, and showed an unlock or members price of $249. Gloss White and Matte Black were both listed as available. Use the Nood.com link, and confirm the price in the cart, because the unlocked price may require an account.
What if they would rather have a dermaplaning device?
Then you are not shopping for IPL. The DERMAFLASH LUXE+ is a sonic dermaplaning device for peach fuzz, listed at $199 and in stock on Dermaflash on November 16, 2026. See DERMAFLASH vs dermaplaning before you buy, and still include a receipt.
Sources checked on November 16, 2026: Nood.com product page for The Flasher Pro (price, unlock/members price, in-stock variants, and the hair and skin chart language quoted above) and Dermaflash.com for the DERMAFLASH LUXE+ ($199, in stock). Follow the current device manual. This is not medical advice and not a results claim.
The Edit by AK
One short email a week with finds I’ve actually vetted, plus a free Black Friday Shortlist when you sign up.
window.fluent_form_ff_form_instance_6_1 = {"id":"6","ajaxUrl":"https:\/\/annakatherinepage.com\/wp-admin\/admin-ajax.php","settings":{"layout":{"labelPlacement":"top","asteriskPlacement":"asterisk-right","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""},"restrictions":{"denyEmptySubmission":{"enabled":false}}},"form_instance":"ff_form_instance_6_1","form_id_selector":"fluentform_6","rules":{"input_text":{"required":{"value":false,"message":"This field is required","global_message":"This field is required","global":true}},"email":{"required":{"value":true,"message":"This field is required","global_message":"This field is required","global":true},"email":{"value":true,"message":"This field must contain a valid email","global_message":"This field must contain a valid email","global":true}},"checkbox":{"required":{"value":true,"message":"This field is required","global_message":"This field is required","global":true},"max_selection":{"value":"","message":"You have selected more options than allowed","global_message":"You have selected more options than allowed","global":true},"min_selection":{"value":"","message":"Please select at least the minimum number of options","global_message":"Please select at least the minimum number of options","global":true}}},"debounce_time":300,"file_upload_settings":[]};
(function(){
if (!window.matchMedia || !window.matchMedia('(max-width: 781px)').matches) return;
var aff = /go\.shopmy\.us|amzn\.to|amazon\.com\/.*tag=|walmrt\.us|pxf\.io|shareasale|awin1|anrdoezrs|dpbolvw|jdoqocy|tkqlhce|kqzyfj|sjv\.io|linksynergy/i;
var root = document.querySelector('.wp-block-post-content') || document.querySelector('.entry-content');
if (!root) return;
var btns = root.querySelectorAll('a.wp-block-button__link');
var first = null;
for (var i = 0; i < btns.length; i++) { if (aff.test(btns[i].href)) { first = btns[i]; break; } }
if (!first) return;
var name = '';
var p = root.querySelector('p');
if (p) { var l = p.querySelector('a'); if (l && l.href === first.href) name = l.textContent; }
if (!name) name = first.textContent;
var bar = document.createElement('div');
bar.className = 'ak-sticky-buy';
bar.setAttribute('role', 'region');
bar.setAttribute('aria-label', 'Top pick');
var span = document.createElement('span'); span.className = 'ak-sb-name'; span.textContent = 'Top pick: ' + name.trim();
var a = document.createElement('a'); a.href = first.href; a.target = '_blank'; a.rel = 'nofollow sponsored noopener'; a.textContent = 'Shop now';
var x = document.createElement('button'); x.type = 'button'; x.setAttribute('aria-label', 'Close'); x.textContent = '×';
bar.appendChild(span); bar.appendChild(a); bar.appendChild(x);
document.body.appendChild(bar);
var closed = false;
x.addEventListener('click', function(){ closed = true; bar.classList.remove('is-on'); });
function check(){
if (closed) return;
var r = first.getBoundingClientRect();
var footer = document.querySelector('footer');
var nearEnd = footer && footer.getBoundingClientRect().top < window.innerHeight;
if (r.bottom < 0 && !nearEnd) bar.classList.add('is-on'); else bar.classList.remove('is-on');
}
window.addEventListener('scroll', check, { passive: true });
check();
})();
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var fluentFormVars = {"ajaxUrl":"https://annakatherinepage.com/wp-admin/admin-ajax.php","forms":[],"step_text":"Step %activeStep% of %totalStep% - %stepTitle%","step_completed_text":"Completed","is_rtl":"","date_i18n":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":{"shorthand":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"longhand":["January","February","March","April","May","June","July","August","September","October","November","December"]},"weekdays":{"longhand":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shorthand":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"daysInMonth":[31,28,31,30,31,30,31,31,30,31,30,31],"rangeSeparator":" to ","weekAbbreviation":"Wk","scrollTitle":"Scroll to increment","toggleTitle":"Click to toggle","amPM":["AM","PM"],"yearAriaLabel":"Year","firstDayOfWeek":1},"pro_version":"","fluentform_version":"6.2.17","force_init":"","stepAnimationDuration":"350","upload_completed_txt":"100% Completed","upload_start_txt":"0% Completed","uploading_txt":"Uploading","choice_js_vars":{"noResultsText":"No results found","loadingText":"Loading...","noChoicesText":"No choices to choose from","itemSelectText":"Press to select","maxItemTextSingular":"Only %%maxItemCount%% option can be added","maxItemTextPlural":"Only %%maxItemCount%% options can be added"},"input_mask_vars":{"clearIfNotMatch":false},"nonce":"288c4d2939","file_delete_nonce":"d1f71bbd77","form_id":"6","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"","token_nonce":"b9d4116b3d"};
var fluentform_submission_messages_6 = {"file_upload_in_progress":"File upload in progress. Please wait...","javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_payment_messages_6 = {"stock_out_message":"This Item is Stock Out","item_label":"Item","price_label":"Price","qty_label":"Qty","line_total_label":"Line Total","sub_total_label":"Sub Total","discount_label":"Discount","total_label":"Total","signup_fee_label":"Signup Fee","trial_label":"Trial","processing_text":"Processing...","confirming_text":"Confirming..."};
var fluentform_save_progress_messages_6 = {"copy_button":"Copy","email_button":"Email","email_placeholder":"Your Email Here","copy_success":"Copied"};
var fluentform_address_messages_6 = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentform_gateway_messages_6 = {"request_failed":"Request failed. Please try again","payment_failed":"Payment process failed!","no_method_found":"No method found","processing_text":"Processing..."};
var fluentform_submission_messages_global = {"javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_address_messages_global = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
//# sourceURL=fluent-form-submission-js-extra
(function(){
var d = document.querySelector('.ak-ux-checked');
var h1 = document.querySelector('h1.wp-block-post-title');
if (d && h1 && !(h1.nextElementSibling && h1.nextElementSibling.classList.contains('ak-ux-checked'))) {
h1.insertAdjacentElement('afterend', d);
}
/* Table typography helpers: short mobile headers, rank badges, brand under the name */
(function(){
var shortMap = {
'listed value': 'Value',
'below value': 'Save',
'price at ulta': 'Price',
'price at sephora': 'Price',
'best gift for someone who wants': 'Best for',
'what is inside': 'Inside',
'what it is': 'What',
'where to buy': 'Shop',
'fiber, as the brand states it': 'Fiber'
};
document.querySelectorAll('figure.ak-quick-picks th').forEach(function(th){
if (th.querySelector('.ak-th-short, .ak-th-full')) return;
var full = (th.textContent || '').replace(/\s+/g, ' ').trim();
if (!full) return;
var key = full.toLowerCase();
var short = shortMap[key];
if (!short && /^listed value/.test(key)) short = 'Value';
if (!short && /^below value/.test(key)) short = 'Save';
if (!short && /^price\b/.test(key) && key !== 'price') short = 'Price';
if (short && short.toLowerCase() !== key) {
th.textContent = '';
var fullEl = document.createElement('span');
fullEl.className = 'ak-th-full';
fullEl.textContent = full;
var shortEl = document.createElement('span');
shortEl.className = 'ak-th-short';
shortEl.textContent = short;
th.appendChild(fullEl);
th.appendChild(shortEl);
}
});
document.querySelectorAll('figure.ak-quick-picks td > span').forEach(function(sp){
var st = sp.getAttribute('style') || '';
if (/border-radius\s*:\s*50%/.test(st)) sp.classList.add('ak-rank-badge');
});
document.querySelectorAll('figure.ak-quick-picks td').forEach(function(td){
var item = td.querySelector(':scope > .ak-qp-item');
if (!item) return;
var text = item.querySelector('.ak-qp-text');
if (!text) return;
Array.prototype.slice.call(td.children).forEach(function(child){
if (child !== item && child.tagName === 'DIV') {
child.classList.add('ak-qp-brand');
text.appendChild(child);
}
});
});
})();
var start = document.getElementById('ak-start-here');
if (!start) return;
if (!window.matchMedia || !window.matchMedia('(max-width: 781px)').matches) return;
if (document.getElementById('ak-ux-sticky')) return;
var shop = start.querySelector('a.ak-shop-btn') || document.querySelector('a.ak-shop-btn');
if (!shop) return;
var nameEl = start.querySelector('h2');
var priceEl = start.querySelector('.ak-start-price');
var label = 'Top pick';
if (nameEl) label += ': ' + nameEl.textContent.trim();
if (priceEl) {
var amt = (priceEl.textContent || '').replace(/\s+/g, ' ').trim().split('checked')[0].trim();
if (amt) label += ' · ' + amt;
}
var bar = document.createElement('div');
bar.id = 'ak-ux-sticky';
bar.setAttribute('role', 'region');
bar.setAttribute('aria-label', 'Top pick');
var span = document.createElement('span'); span.className = 'ak-sb-name'; span.textContent = label;
var a = document.createElement('a');
a.href = shop.href; a.target = '_blank'; a.rel = 'nofollow sponsored noopener'; a.textContent = 'Shop now';
var x = document.createElement('button'); x.type = 'button'; x.setAttribute('aria-label', 'Close'); x.textContent = '×';
bar.appendChild(span); bar.appendChild(a); bar.appendChild(x);
document.body.appendChild(bar);
var closed = false;
x.addEventListener('click', function(){ closed = true; bar.classList.remove('is-on'); });
function check(){
if (closed) return;
if (window.innerWidth >= 782) { bar.classList.remove('is-on'); return; }
var r = start.getBoundingClientRect();
var footer = document.querySelector('footer');
var nearEnd = footer && footer.getBoundingClientRect().top < window.innerHeight;
if (r.bottom < 8 && !nearEnd) bar.classList.add('is-on');
else bar.classList.remove('is-on');
}
window.addEventListener('scroll', check, {passive:true});
window.addEventListener('resize', check);
check();
})();
(function(){
var AJAX="https:\/\/annakatherinepage.com\/wp-admin\/admin-ajax.php",LOAD=Date.now(),freshP=null;
function post(d){return fetch(AJAX+"?t="+Date.now(),{method:"POST",credentials:"same-origin",cache:"no-store",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(d).toString()}).then(function(r){return r.json();});}
function getFresh(){if(freshP){return freshP;}freshP=post({action:"akp_ffc_fresh_nonce"}).then(function(j){if(j&&j.success&&j.data){if(window.fluentFormVars){window.fluentFormVars.token_nonce=j.data.token_nonce;}var ns=document.querySelectorAll('input[name$="_fluentformnonce"]');for(var i=0;i<ns.length;i++){ns[i].value=j.data.form_nonce;}return j.data;}freshP=null;return null;}).catch(function(){freshP=null;return null;});return freshP;}
function fid(f){var m=(f.className||"").match(/fluent_form_(\d+)/);return m?m[1]:(f.getAttribute("data-form_id")||"");}
function fld(f){return f.querySelector(".fluent-form-token-field");}
function stale(f){var t=fld(f);if(!t){return false;}return !t.value||(Date.now()-(f.__akpAt||LOAD))>45*60*1000;}
function mint(f){if(f.__akpP){return f.__akpP;}var t=fld(f);if(!t){return Promise.resolve(true);}
f.__akpP=getFresh().then(function(fr){var n=(fr&&fr.token_nonce)||(window.fluentFormVars&&window.fluentFormVars.token_nonce)||"";return post({action:"fluentform_generate_protection_token",form_id:fid(f),nonce:n});}).then(function(j){f.__akpP=null;if(j&&j.success&&j.data&&j.data.token){t.value=j.data.token;f.classList.add("ff_tokenized");f.classList.remove("ff_tokenizing");f.__akpAt=Date.now();return true;}return false;}).catch(function(){f.__akpP=null;return false;});return f.__akpP;}
function init(){var fs=document.querySelectorAll("form.frm-fluent-form");if(!fs.length){return;}var any=false;for(var i=0;i<fs.length;i++){if(fld(fs[i])){any=true;}}if(!any){return;}getFresh();
if("IntersectionObserver" in window){var io=new IntersectionObserver(function(es){es.forEach(function(e){if(e.isIntersecting&&stale(e.target)){mint(e.target);}});},{rootMargin:"900px 0px"});for(var k=0;k<fs.length;k++){if(fld(fs[k])){io.observe(fs[k]);}}}
document.addEventListener("focusin",function(e){var f=e.target&&e.target.closest&&e.target.closest("form.frm-fluent-form");if(f&&stale(f)){mint(f);}},true);
document.addEventListener("submit",function(e){var f=e.target;if(!f||!f.classList||!f.classList.contains("frm-fluent-form")){return;}if(f.__akpPass){f.__akpPass=false;return;}if(!stale(f)){return;}e.preventDefault();e.stopImmediatePropagation();
mint(f).then(function(){f.__akpPass=true;window.ff_sumitting_form=false;if(f.requestSubmit){var b=f.querySelector("[type=submit]");try{b?f.requestSubmit(b):f.requestSubmit();}catch(x){if(window.jQuery){window.jQuery(f).trigger("submit");}}}else if(window.jQuery){window.jQuery(f).trigger("submit");}});},true);}
var CS_PDF="https://annakatherinepage.com/wp-content/uploads/2026/11/flower-price-cheat-sheet.pdf";
var CS_MSG='<p>Your Flower Price Cheat Sheet is ready. <a href="'+CS_PDF+'">Download the two-page PDF</a> now.</p><p>A copy is on its way to your inbox too. Give it a minute, and peek in spam the first time so the next one lands in your inbox.</p>';
function fixCS(){var ms=document.querySelectorAll(".fluentform_wrapper_5 .ff-message-success");for(var i=0;i<ms.length;i++){if(!ms[i].__akpCS&&(ms[i].textContent||"").indexOf("Download the two-page PDF")===-1){ms[i].__akpCS=1;ms[i].innerHTML=CS_MSG;}}}
function initCS(){if(!document.querySelector("form.fluent_form_5")){return;}try{new MutationObserver(fixCS).observe(document.body,{childList:true,subtree:true});}catch(x){}document.addEventListener("fluentform_submission_success",function(){setTimeout(fixCS,50);setTimeout(fixCS,600);});}
function boot(){init();initCS();}
if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",boot);}else{boot();}
})();
(function () {
var LABEL = "Send me the cheat sheet";
var PDF = "https://annakatherinepage.com/wp-content/uploads/2026/11/flower-price-cheat-sheet.pdf";
var CONFIRM = '<p>Your Flower Price Cheat Sheet is ready. <a href="' + PDF + '">Download the two-page PDF</a> now.</p><p>Give the email a minute, and peek in spam the first time so the next one lands in your inbox. The formulas use labeled sample numbers. Type over them with yours.</p>';
function retitle() {
var buttons = document.querySelectorAll(".fluent_form_5 .ff-btn-submit, form.fluent_form_5 .ff-btn-submit, .frm-fluent-form.fluent_form_5 .ff-btn-submit");
for (var i = 0; i < buttons.length; i++) {
var b = buttons[i];
if ((b.textContent || "").indexOf("cheat sheet") === -1) {
b.textContent = LABEL;
b.setAttribute("aria-label", LABEL);
}
b.style.backgroundColor = "#5a6b4e";
b.style.borderColor = "#5a6b4e";
b.style.color = "#ffffff";
}
var styles = document.querySelectorAll(".ff-form-inline-style style");
for (var j = 0; j < styles.length; j++) {
var s = styles[j];
if ((s.textContent || "").indexOf("fluent_form_5") !== -1 && (s.textContent || "").indexOf("#123d2e") !== -1) {
s.textContent = s.textContent.replace(/#123d2e/g, "#5a6b4e");
}
}
}
if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", retitle);
else retitle();
setTimeout(retitle, 400);
function maybeFixSuccess(root) {
if (!root) return;
var success = root.querySelector(".ff-message-success, .ff-el-success, .ff-form-success");
if (!success) return;
var t = (success.textContent || "").toLowerCase();
if (t.indexOf("inbox") !== -1 || t.indexOf("cheat sheet") === -1) {
success.innerHTML = CONFIRM;
}
}
document.addEventListener("fluentform_submission_success", function () {
maybeFixSuccess(document.querySelector(".fluentform_wrapper_5, #fluentform_5, .ff_form_wrapper_5"));
});
if (window.jQuery) {
window.jQuery(document).on("fluentform_submission_success", function () {
maybeFixSuccess(document.querySelector(".fluentform_wrapper_5, #fluentform_5, .ff_form_wrapper_5"));
});
}
})();
(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"); }
}
});
})();
(function () {
function formIdFrom(ev, data) {
var id = "";
var form = null;
if (data) {
if (data.formId != null) id = String(data.formId);
else if (data.form_id != null) id = String(data.form_id);
form = data.form;
if (form && form.jquery) form = form[0];
}
if (!form && ev && ev.detail) {
form = ev.detail.form;
if (form && form.jquery) form = form[0];
if (!id) {
if (ev.detail.formId != null) id = String(ev.detail.formId);
else if (ev.detail.form_id != null) id = String(ev.detail.form_id);
}
}
if (!form && ev && ev.target && ev.target.nodeType === 1) {
form = ev.target.closest ? (ev.target.closest("form") || ev.target.closest("[id^='fluentform_']") || ev.target.closest("[class*='fluent_form_']")) : ev.target;
}
if (!id && form) {
var src = String((form.id || "") + " " + (form.className || "") + " " + (form.getAttribute && (form.getAttribute("data-form_id") || form.getAttribute("data-id") || "") || ""));
var m = src.match(/fluentform_wrapper_(\d+)/) || src.match(/fluentform_(\d+)/) || src.match(/fluent_form_(\d+)/);
if (m) id = m[1];
}
return id;
}
function newEventId() {
try {
if (window.crypto && typeof crypto.randomUUID === "function") return crypto.randomUUID();
} catch (err) {}
return "ff5lead_" + Date.now() + "_" + Math.random().toString(16).slice(2);
}
var lockUntil = 0;
function fireLead(ev, data) {
if (formIdFrom(ev, data) !== "5") return;
if (typeof window.fbq !== "function") return;
var now = Date.now();
if (now < lockUntil) return;
lockUntil = now + 2000;
var eid = newEventId();
try {
fbq("track", "Lead", { content_name: "Flower Price Cheat Sheet" }, { eventID: eid });
} catch (err) {}
}
document.addEventListener("fluentform_submission_success", function (ev) {
fireLead(ev, ev && ev.detail);
});
if (window.jQuery) {
window.jQuery(document).on("fluentform_submission_success", function (ev, data) {
fireLead(ev, data);
});
window.jQuery(document.body).on("fluentform_submission_success", function (ev, data) {
fireLead(ev, data);
});
}
})();
Leave a Reply