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.
Disclosure: I may earn a commission if you buy through links on this page, at no extra cost to you. I haven’t run either of these train sets. Prices, ages, box contents and track sizes come from Lionel’s own product pages, checked today.
Last updated Nov 22, 2026. Prices checked on Lionel’s store Nov 22, 2026 at about 8:20 PM ET. Recheck Nov 23 before you buy.
My quick answer: These two Polar Express sets are built for different people. The Ready-to-Play set (Lionel item 712120) is listed at $84.99 on Lionel’s store, shown against a $114.99 MSRP. Lionel grades it 4+, it runs on six C batteries you buy separately, and its plastic track makes a 50-by-73-inch oval. The LionChief set with the Skiing Hobo car (item 2623120) is listed at $299.99, against a $399.99 MSRP. Lionel grades it 14+, and it’s an O-gauge electric set with FasTrack and a wall power supply. At today’s prices that’s a $215 gap before batteries, tax and shipping. For a preschooler, the Ready-to-Play set is the one Lionel designed for that age. For a teen or adult hobbyist, the LionChief set is the one to look at.
Lionel Polar Express sets compared
Set
Lionel price
Shown as (MSRP)
Age grade
Power
In the box
Track and space
Shop
THE POLAR EXPRESS Ready-to-Play Set w/ Bluetooth (712120)
$84.99
$114.99
4+
Battery locomotive; six C batteries, not included
Locomotive, tender, passenger coach, observation car, 24 curved and 8 straight plastic track pieces. Control it with the LionChief or Cab3 app, or with a universal remote sold separately.
THE POLAR EXPRESS LionChief Set w/ Bluetooth 5.0 & Skiing Hobo Car (2623120)
$299.99
$399.99
14+
O-gauge electric; wall-pack power supply included
2-8-4 Berkshire locomotive and tender, coach, observation car with swinging Skiing Hobo and Hero Boy, 8 O36 curved FasTrack, three 10″ straights and a terminal section. Cab3 app, Lionel Voice Control, or continuous-run mode. Universal Remote 6-83071 sold separately.
FasTrack O36 loop; Lionel didn’t list an outer footprint on the page I read
Prices and contents from Lionel’s product pages, checked Nov 22, 2026. Lionel’s pages showed both sets in stock with an Add to Cart button.
Why the prices look different depending on where you look
You’ll likely run into conflicting numbers on these two sets, so here’s what I saw and where.
Ready-to-Play 712120: Lionel’s product page shows a $84.99 sale price, a $114.99 MSRP and “You save $30.00 (26%).” Earlier research for this post saw the $114.99 MSRP shown on its own in Lionel’s catalog, without the sale price. The product page price is the one I’m quoting. Confirm the $84.99 in your cart before you check out.
LionChief 2623120: Lionel’s product page and its Black Friday event page both list $299.99, against a $399.99 MSRP. An independent Lionel dealer, Ready to Roll Trains, still listed a $359.99 sale price on its page. That’s $60 more than Lionel’s own Black Friday price, so check the cart total wherever you buy.
An MSRP is a suggested price, not proof of what the set usually sells for. I’m not calling either price a record low.
Shipping and the $25 coupon, separated
Lionel’s Black Friday banner offers free shipping with code FBFS26 on orders over $149, through November 30 at 11:59 PM ET. The $84.99 Ready-to-Play set doesn’t reach $149 on its own, so expect a shipping charge at checkout unless you add more to the order. The $299.99 LionChief set clears the threshold.
Lionel also says that if you spend $125 or more from November 20 through November 30, you get a $25 coupon to use on a purchase of $100 or more in January 2027. That’s future credit, not cash savings. It doesn’t lower today’s price, and you only get the value if you place a qualifying order in January. I didn’t subtract it from either price above.
Which set fits your home
Pick the Ready-to-Play set if the train is for a young child, you want something that sets up on the floor around the tree in minutes, and you’re fine buying six C batteries. The track is plastic and the full oval is 50 by 73 inches, so measure your tree skirt area first.
Pick the LionChief set if the person is a teen or adult who might grow a layout. It plugs into the wall, uses FasTrack that Lionel’s other O-gauge track connects to, and adds sound, smoke and voice control through Lionel’s app. Lionel lists the train itself at about 41 inches long, but that’s the length of the train, not the space the track loop takes up. I couldn’t find the outer loop dimensions on Lionel’s page, so lay the track out before you commit to a spot.
Want to see the sets running? Lionel’s official YouTube channel posts the product videos: Lionel on YouTube.
FAQ
What is the difference between the Lionel Polar Express Ready-to-Play and LionChief sets?
The Ready-to-Play set (712120) is graded 4+, runs on six C batteries and uses plastic track that forms a 50-by-73-inch oval. The LionChief set with the Skiing Hobo car (2623120) is graded 14+, is an O-gauge electric set with FasTrack and a wall power supply, and adds app, voice and continuous-run control.
How much are the Lionel Polar Express sets for Black Friday 2026?
On Nov 22, 2026, Lionel’s store listed the Ready-to-Play set at $84.99, against a $114.99 MSRP, and the LionChief Skiing Hobo set at $299.99, against a $399.99 MSRP. That’s a $215 difference before batteries, tax and shipping.
Does the Polar Express Ready-to-Play set need batteries?
Yes. Lionel says the locomotive needs six C batteries, which aren’t included.
Does Lionel offer free shipping for Black Friday?
Lionel’s banner offers free shipping with code FBFS26 on orders over $149, through Nov 30, 2026 at 11:59 PM ET. The $84.99 set alone is under that threshold.
Is the Lionel $25 coupon a discount?
Not on today’s order. Lionel says spending $125 or more from Nov 20 to Nov 30 earns a $25 coupon to use on a purchase of $100 or more in January 2027. Treat it as future credit.
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":"252b4682a6","file_delete_nonce":"a79cbb533f","form_id":"6","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"","token_nonce":"098c5165a9"};
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