50+ Holiday Shopping Statistics & Key Marketing Insights [2025]

0
10


Ecommerce

Holiday Shopping Statistics & Key Marketing Insights [2025]


By Liz Krupa

Nov 04 2025

Beyond the fun festivities, the holiday season is an incredibly significant time for both businesses and consumers alike, shaping economic landscapes year after year.

From the early-bird shoppers who meticulously plan to the last-minute buyers looking for a steal, we’ll dive into the interesting ways consumers interact with the market in the months leading up to the festivities. Let’s unwrap the top statistics behind the most anticipated shopping season of the year.

Table of Contents

The Most Important Holiday Shopping Statistics for 2025

For our 2025 Holiday Shopping Trends study, our experts surveyed 1,000 holiday shoppers in the United States regarding their plans for the 2025 holiday season. Our research showed that shoppers will be relentlessly focused on value this year, although they expect to spend more. Here are some of the high level trends:

  • 32% of consumers are planning to spend more, while only 20% are planning to spend less. However, this number is being inflated by Gen Z, where 44% are planning to spend more than previous years.
  • When we look at shoppers that believe they’ll spend less on gifts this year, we see that 24% will opt for cheaper brands (compared to 16% of all shoppers) and 38% will just buy fewer products (compared to 19% of all shoppers)
  • Despite tariffs, Gen Z still like Shein and Temu. 43% of Gen Z expected to shop on Shein for holiday gifts, and 26% planned to use Temu. Overall, planned usage for Shein grew 4% year-over-year.
  • Social media and LLMs will be crucial for product discovery. 58% of shoppers will use AI to help them shop, and 39% get gift inspiration through social media platforms. 
  • Shoppers are starting earlier each year. 65% of holiday shoppers expect to start buying gifts before Thanksgiving, with 22% starting before October begins
  • In-store is the best way to reach last minute shoppers – we found 38% of shoppers will make their last-minute purchases instore
  • The most important product characteristic for a holiday gift is its value (45%) followed by its quality (30%)
  • AI adoption is on the rise, 58% of respondents expect to use at least one AI-powered tool for holiday-shopping-related tasks. 78% of Gen Z and 71% of millennials plan to use AI tools for holiday shopping
  • Most shoppers are responding to tariff related pressures one way or another – only 9% of shoppers don’t foresee changing their shopping behavior due to tariffs, and another 18% aren’t sure how it will impact them yet

Together, these datapoints paint a picture of a pragmatic and practical shopper who wants to gain visibility across brands and marketplaces to find the best deals. Spending more might be unavoidable due to tariffs and inflation, but shoppers are planning to stretch their dollar anyway.

How Price Conscious Are Holiday Shoppers in 2025?

Between inflation and tariffs, the holiday shopping outlook for 2025 seems similar to what we predicted in 2024. In 2024, 25% of shoppers believed they’d spend more on gifts during the holiday season. This number has increased to 32% of shoppers preparing to pay more this year when compared to previous years. On the flip side, the number of shoppers planning to spend less has remained relatively consistent at 21%.

Although customers are expecting to spend more, they’re still as price sensitive as they’ve been in prior years. This year, the top three factors influencing holiday shoppers will be price (72%), free shipping (70%), and sales or discounts (64%). The motivations behind their behavior have changed slightly as tariffs influence how people shop. Shoppers who plan to hunt for more deals because of tariffs are significantly more likely to prioritize sales and discounts (72%) compared to those who aren’t changing their habits (61%).

When we only look at the consumers that plan to spend less, 38% are planning to buy fewer gifts while 24% will opt for budget brands to save money. 

Additionally, tariffs haven’t really deterred shoppers from using China-based online marketplaces like Shein and Temu. In 2025, 22% of shoppers plan to shop for gifts on Temu, and 18% plan to use Shein, with an especially large portion of Gen Z (43%) planning to use Shein. A steady, but slowly increasing, percentage of customers have planned to look for gifts on Shein in particular (15% in 2024 versus 18% in 2025).

Key Statistics for Holiday Shopper Confidence in 2025
  • 32% of shoppers plan to spend more in 2025 compared to 2024.
  • 25% of shoppers in 2024 believed they would spend more on gifts.
  • 21% of shoppers plan to spend less in 2025 compared to 2024.
  • 72% of holiday shoppers are influenced by price (the top factor).
  • 70% of holiday shoppers are influenced by free shipping (the second factor).
  • 64% of holiday shoppers are influenced by sales or discounts (the third factor).
  • 72% of shoppers hunting for deals specifically because of tariffs prioritize sales and discounts.
  • 61% of shoppers not changing their habits due to tariffs prioritize sales and discounts.
  • 38% of consumers who plan to spend less will buy fewer gifts.
  • 24% of consumers who plan to spend less will opt for budget brands.
  • 22% of shoppers in 2025 plan to shop for gifts on Temu.
  • 18% of shoppers in 2025 plan to use Shein.
  • 43% of Gen Z shoppers plan to use Shein in 2025.
  • 15% of customers planned to look for gifts on Shein in 2024.
  • 18% of customers plan to look for gifts on Shein in 2025 (an increase from 15%).

How Is Gen Z Is Shopping During the 2025 Holiday Season?

Gen Z’s holiday shopping habits continue to evolve, with 44% of Gen Z expecting to spend more on gifts this year than they did last year. This is a significant increase from the 34% that expected to spend more last year. This could be partially due to tariffs, with 88% of Gen Z well-aware of how tariffs will impact their shopping habits compared to 76% Baby Boomers. 

Their preference for discount marketplaces like Shein and Temu has also stayed strong despite tariffs. Notably, 43% of Gen Z plans to shop on Shein for holiday gifts – more than twice as likely as the general population, and ten times more likely than Baby Boomers. 

While Gen Z becomes more discerning with their spending, marketers must hone in and ensure they’re reaching them on the right channels. For example, Gen Z’s reliance on social media for buying decisions remains strong – 55% have bought a holiday gift after seeing it on social media, compared to 39% of the general population. TikTok is most likely to drive gifting inspiration with 71% of Gen Z, and that number is growing year over year:

On a similar note, influencer marketing is key to reaching Gen Z. 68% have purchased a gift after seeing an influencer endorse it, which is far more likely than any other demographic:

When it comes to timing, Gen Z either shops for gifts very early in the season, or waits until the last minute to finish shopping. 57% of Gen Z plans to complete all their holiday shopping before Thanksgiving. However, 22% of Gen Z won’t start shopping until Black Friday, compared to 8% of Baby Boomers. Their procrastination has a significant downstream impact as well – they’re the most likely to spend extra on fast shipping, and quite likely to shop in store in the final days leading up to the holidays.

Younger generations are more likely to use AI to improve their shopping experience. 78% of Gen Z shoppers say they expect to use AI in some capacity to help make gift buying decisions. ChatGPT is the most popular with Gen Z and Millennials by a wide margin – 48% plan to use ChatGPT, 34% plan to use Gemini, and 31% plan to use Meta AI. Other AI solutions are trailing behind significantly.

Key Statistics for Gen Z Holiday Shoppers in 2025
  • 44% of Gen Z expect to spend more on gifts this year.
  • 34% of Gen Z expected to spend more last year.
  • 88% of Gen Z are aware of how tariffs will impact their shopping habits.
  • 76% of Baby Boomers are aware of how tariffs will impact their shopping habits.
  • 43% of Gen Z plans to shop on Shein for holiday gifts.
  • Gen Z is more than twice (2x) as likely as the general population to shop on Shein.
  • Gen Z is ten times (10x) more likely than Baby Boomers to shop on Shein.
  • 55% of Gen Z have bought a holiday gift after seeing it on social media.
  • 39% of the general population have bought a holiday gift after seeing it on social media.
  • 71% of Gen Z get gifting inspiration from TikTok.
  • 68% of Gen Z have purchased a gift after seeing an influencer endorse it.
  • 57% of Gen Z plans to complete all their holiday shopping before Thanksgiving.
  • 22% of Gen Z won’t start shopping until Black Friday.
  • 8% of Baby Boomers won’t start shopping until Black Friday.
  • 78% of Gen Z shoppers expect to use AI to help make gift-buying decisions.
  • 48% of holiday shoppers plan to use ChatGPT, 34% plan to use Gemini, and 31% plan to use Meta AI.

Are Holiday Shoppers Starting to Adopt AI?

Between 2024 and 2025, we noticed a significant difference in how many holiday shoppers plan to use AI. In 2024, 54% of holiday shoppers said they’d use AI to help them shop in some capacity, but only 3% said they’d use ChatGPT. 

In 2025, shoppers were over ten times more likely to use LLMs like ChatGPT. 33% of shoppers say they’ll use ChatGPT to help them shop this year, with 30% using it to compare products and another 30% using it to find the best possible price. This underscores why brands need to invest in generative engine optimization, or AI SEO, marketing strategies – LLMs will source product information from across the internet in difficult to predict ways, so brands need to ensure they’re being described with a positive sentiment.

We also noticed that while ChatGPT is the LLM of choice for Gen Z and Millennials, there’s a small generational split. While 48% of Gen Z will use ChatGPT to help them shop, only 21% of Gen X and older anticipate using it. Google Gemini is actually the LLM of choice for the older generations, with 23% planning to use it for holiday shopping.

Key Statistics for AI and Holiday Shopping in 2025
  • 54% of holiday shoppers in 2024 said they would use AI to help them shop.
  • 3% of holiday shoppers in 2024 said they would use ChatGPT.
  • In 2025, shoppers were over ten times (10x) more likely to use LLMs like ChatGPT.
  • 33% of shoppers in 2025 say they will use ChatGPT to help them shop.
  • 30% of shoppers in 2025 will use ChatGPT to compare products.
  • 30% of shoppers in 2025 will use ChatGPT to find the best possible price.
  • 48% of Gen Z will use ChatGPT to help them shop.
  • 21% of Gen X and older anticipate using ChatGPT to help them shop.
  • 23% of older generations (Gen X and older) plan to use Google Gemini for holiday shopping.

How Important is Cyber Five in 2025?

Our Holiday Shopping Study revealed an interesting trend: When shoppers are feeling pricing pressures, a significant portion (21%) they’re more likely to shop earlier in the year instead of waiting for a sales holiday. We’ve also noticed a greater share of consumers plan to start gift shopping before Thanksgiving, with 65% planning to start shopping on or before Thanksgiving.

In earlier versions of our studies, shoppers explained this adjustment by citing concerns about order fulfillment, inventory, and inflation. Additionally, some consumers wanted more time to search for deals and spread their budget out. This is magnified by early-to-mid October sales holidays, like Amazon Prime Day or Walmart Deals for Days, which provide even greater incentive to start shopping early.

However, that’s not to downplay the continued importance of Cyber Five holidays, namely Black Friday and Cyber Monday. 59% of Gen Z shoppers plan to make the bulk of their holiday purchases during Cyber Five, and 28% of all shoppers are going to start shopping during Cyber Five. And the revenue numbers throughout Cyber Five are no pittance – Adobe tracked over $41 billion in online sales during Cyber Week alone.

Key Statistics for Cyber Week 2025
  • 21% are more likely to shop earlier in the year instead of waiting for a sales holiday.
  • 65% of consumers plan to start gift shopping on or before Thanksgiving.
  • 59% of Gen Z shoppers plan to make the bulk of their holiday purchases during Cyber Five (Black Friday/Cyber Monday).
  • 22% of Gen Z won’t start shopping until Black Friday
  • Only 26% of baby boomers expect to do all or most of their holiday shopping during Cyber Week
  • 28% of all shoppers are going to start shopping during Cyber Five.
  • 48% of shoppers plan to complete at least half of their holiday shopping over Cyber Week (2024)
  • Cyber Week 2025 generated $41 billion in online sales

Where Are Holiday Shoppers Looking for Gifts?

In previous holiday studies, we used to separate online and instore shopping statistics. However, we observed near-total adoption of online shopping in 2025 – and the real story lies in the interplay between online and offline channels. We found that 96% of shoppers expect to shop online at least once for a gift, and 59% plan to shop both online and offline. 

Instore and online shopping reflects two different priorities: Online gives shoppers more time to research and shop around, appealing to their desire for value. Instore shopping is more popular closer to the holiday, as consumers realize they need a last minute gift now. This is shown in our survey data, where 38% of shoppers say their last-minute purchases take place instore, 23% plan to research online and buy instore, and 18% will order products online and pick up instore.

Sites like Amazon also appeal to a sense of urgency, given its one- or two-day shipping times. When we look at a list of the top online marketplaces for holiday shoppers, we see Amazon, Walmart, and Target leading the way. Each of these platforms either provides next-day shipping or the ability to buy a product found online inside the store immediately.

Moving beyond the online and offline dynamic, 70% of shoppers showed a propensity for purchasing products like clothing and apparel. These numbers have stayed relatively consistent, with a slight increase in beauty product purchases and a slight decrease in jewelry over the past five years. This might explain why sites like Temu and Shein have maintained the attention of holiday shoppers – these are well known for selling apparel and beauty products at rock-bottom prices.

Key Statistics for Online & Offline Holiday Shopping
  • 96% of shoppers expect to shop online at least once for a gift.
  • 59% plan to shop both online and offline.
  • 38% of shoppers say their last-minute purchases take place in-store.
  • 23% plan to research online and buy in-store.
  • 18% will order products online and pick up in-store.
  • 70% of shoppers showed a propensity for purchasing products like clothing and apparel.
  • 80% of shoppers plan to use Amazon for the majority of their holiday shopping
  • 37% of holiday shoppers plan to spend more money online, while 25% plan to spend more in-store
  • 33% of all shoppers purchase gift cards when shopping for presents at the last minute, but only 27% of Gen Z will purchase a gift card in this scenario.
  • 39% of women and 25% of men plan to purchase a beauty product as a holiday gift
  • 34% of men and 22% of women expect to purchase electronics as gifts

Conclusion

Preparation is the cornerstone of holiday success for brands. Understanding the intricacies of consumer behavior, harnessing the power of seasonal sales, and embracing the surge of online and in-store shopping can make all the difference in your bottom line.

Want more stats?

Check out our full research report, 2025 Holiday Shopping Trends, for more exclusive insights.

/* “function”==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn(“The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.”),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener(“gform_main_scripts_loaded”,()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener(“gform/theme/scripts_loaded”,()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener(“DOMContentLoaded”,()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook(“action”,o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook(“filter”,o,r,e,t)},doAction:function(o){gform.doHook(“action”,o,arguments)},applyFilters:function(o){return gform.doHook(“filter”,o,arguments)},removeAction:function(o,r){gform.removeHook(“action”,o,r)},removeFilter:function(o,r,e){gform.removeHook(“filter”,o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+”_”+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){“function”!=typeof(t=o.callable)&&(t=window[t]),”action”==r?t.apply(null,e):e[0]=t.apply(null,e)})),”filter”==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});
/* ]]> */

#gform_wrapper_82[data-form-index=”0″].gform-theme,[data-parent-form=”82_0″]{–gf-color-primary: #204ce5;–gf-color-primary-rgb: 32, 76, 229;–gf-color-primary-contrast: #fff;–gf-color-primary-contrast-rgb: 255, 255, 255;–gf-color-primary-darker: #001AB3;–gf-color-primary-lighter: #527EFF;–gf-color-secondary: #fff;–gf-color-secondary-rgb: 255, 255, 255;–gf-color-secondary-contrast: #112337;–gf-color-secondary-contrast-rgb: 17, 35, 55;–gf-color-secondary-darker: #F5F5F5;–gf-color-secondary-lighter: #FFFFFF;–gf-color-out-ctrl-light: rgba(17, 35, 55, 0.1);–gf-color-out-ctrl-light-rgb: 17, 35, 55;–gf-color-out-ctrl-light-darker: rgba(104, 110, 119, 0.35);–gf-color-out-ctrl-light-lighter: #F5F5F5;–gf-color-out-ctrl-dark: #585e6a;–gf-color-out-ctrl-dark-rgb: 88, 94, 106;–gf-color-out-ctrl-dark-darker: #112337;–gf-color-out-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);–gf-color-in-ctrl: #fff;–gf-color-in-ctrl-rgb: 255, 255, 255;–gf-color-in-ctrl-contrast: #112337;–gf-color-in-ctrl-contrast-rgb: 17, 35, 55;–gf-color-in-ctrl-darker: #F5F5F5;–gf-color-in-ctrl-lighter: #FFFFFF;–gf-color-in-ctrl-primary: #204ce5;–gf-color-in-ctrl-primary-rgb: 32, 76, 229;–gf-color-in-ctrl-primary-contrast: #fff;–gf-color-in-ctrl-primary-contrast-rgb: 255, 255, 255;–gf-color-in-ctrl-primary-darker: #001AB3;–gf-color-in-ctrl-primary-lighter: #527EFF;–gf-color-in-ctrl-light: rgba(17, 35, 55, 0.1);–gf-color-in-ctrl-light-rgb: 17, 35, 55;–gf-color-in-ctrl-light-darker: rgba(104, 110, 119, 0.35);–gf-color-in-ctrl-light-lighter: #F5F5F5;–gf-color-in-ctrl-dark: #585e6a;–gf-color-in-ctrl-dark-rgb: 88, 94, 106;–gf-color-in-ctrl-dark-darker: #112337;–gf-color-in-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);–gf-radius: 3px;–gf-font-size-secondary: 14px;–gf-font-size-tertiary: 13px;–gf-icon-ctrl-number: url(“data:image/svg+xml,%3Csvg width=”8″ height=”14″ viewBox=’0 0 8 14′ fill=”none” xmlns=”http://www.w3.org/2000/svg”%3E%3Cpath fill-rule=”evenodd” clip-rule=”evenodd” d=’M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z’ fill=”rgba(17, 35, 55, 0.65)”/%3E%3C/svg%3E”);–gf-icon-ctrl-select: url(“data:image/svg+xml,%3Csvg width=”10″ height=”6″ viewBox=’0 0 10 6′ fill=”none” xmlns=”http://www.w3.org/2000/svg”%3E%3Cpath fill-rule=”evenodd” clip-rule=”evenodd” d=’M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z’ fill=”rgba(17, 35, 55, 0.65)”/%3E%3C/svg%3E”);–gf-icon-ctrl-search: url(“data:image/svg+xml,%3Csvg width=”640″ height=”640″ xmlns=”http://www.w3.org/2000/svg”%3E%3Cpath d=’M256 128c-70.692 0-128 57.308-128 128 0 70.691 57.308 128 128 128 70.691 0 128-57.309 128-128 0-70.692-57.309-128-128-128zM64 256c0-106.039 85.961-192 192-192s192 85.961 192 192c0 41.466-13.146 79.863-35.498 111.248l154.125 154.125c12.496 12.496 12.496 32.758 0 45.254s-32.758 12.496-45.254 0L367.248 412.502C335.862 434.854 297.467 448 256 448c-106.039 0-192-85.962-192-192z’ fill=”rgba(17, 35, 55, 0.65)”/%3E%3C/svg%3E”);–gf-label-space-y-secondary: var(–gf-label-space-y-md-secondary);–gf-ctrl-border-color: #686e77;–gf-ctrl-size: var(–gf-ctrl-size-md);–gf-ctrl-label-color-primary: #112337;–gf-ctrl-label-color-secondary: #112337;–gf-ctrl-choice-size: var(–gf-ctrl-choice-size-md);–gf-ctrl-checkbox-check-size: var(–gf-ctrl-checkbox-check-size-md);–gf-ctrl-radio-check-size: var(–gf-ctrl-radio-check-size-md);–gf-ctrl-btn-font-size: var(–gf-ctrl-btn-font-size-md);–gf-ctrl-btn-padding-x: var(–gf-ctrl-btn-padding-x-md);–gf-ctrl-btn-size: var(–gf-ctrl-btn-size-md);–gf-ctrl-btn-border-color-secondary: #686e77;–gf-ctrl-file-btn-bg-color-hover: #EBEBEB;–gf-field-img-choice-size: var(–gf-field-img-choice-size-md);–gf-field-img-choice-card-space: var(–gf-field-img-choice-card-space-md);–gf-field-img-choice-check-ind-size: var(–gf-field-img-choice-check-ind-size-md);–gf-field-img-choice-check-ind-icon-size: var(–gf-field-img-choice-check-ind-icon-size-md);–gf-field-pg-steps-number-color: rgba(17, 35, 55, 0.8);}

*” indicates required fields

This field is for validation purposes and should be left unchanged.

/* = 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find(‘#gform_wrapper_82’);var is_confirmation = jQuery(this).contents().find(‘#gform_confirmation_wrapper_82’).length > 0;var is_redirect = contents.indexOf(‘gformRedirect(){‘) >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery(‘html’).css(‘margin-top’), 10) + parseInt(jQuery(‘body’).css(‘margin-top’), 10) + 100;if(is_form){jQuery(‘#gform_wrapper_82’).html(form_content.html());if(form_content.hasClass(‘gform_validation_error’)){jQuery(‘#gform_wrapper_82’).addClass(‘gform_validation_error’);} else {jQuery(‘#gform_wrapper_82’).removeClass(‘gform_validation_error’);}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ jQuery(document).scrollTop(jQuery(‘#gform_wrapper_82’).offset().top – mt); }, 50 );if(window[‘gformInitDatepicker’]) {gformInitDatepicker();}if(window[‘gformInitPriceFields’]) {gformInitPriceFields();}var current_page = jQuery(‘#gform_source_page_number_82’).val();gformInitSpinner( 82, ‘http://tinuiti.com/wp-content/themes/tinuiti/assets/images/pixel.gif’, true );jQuery(document).trigger(‘gform_page_loaded’, [82, current_page]);window[‘gf_submitting_82’] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find(‘.GF_AJAX_POSTBACK’).html();if(!confirmation_content){confirmation_content = contents;}jQuery(‘#gform_wrapper_82’).replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery(‘#gf_82’).offset().top – mt);jQuery(document).trigger(‘gform_confirmation_loaded’, [82]);window[‘gf_submitting_82’] = false;wp.a11y.speak(jQuery(‘#gform_confirmation_message_82’).text());}else{jQuery(‘#gform_82’).append(contents);if(window[‘gformRedirect’]) {gformRedirect();}}jQuery(document).trigger(“gform_pre_post_render”, [{ formId: “82”, currentPage: “current_page”, abort: function() { this.preventDefault(); } }]); if (event && event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( “gform_wrapper_82” ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( “span” ); visibilitySpan.id = “gform_visibility_test_82”; gformWrapperDiv.insertAdjacentElement( “afterend”, visibilitySpan ); } const visibilityTestDiv = document.getElementById( “gform_visibility_test_82” ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; gform.core.triggerPostRenderEvents( 82, current_page ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === ‘attributes’ && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ ‘style’, ‘class’ ], }); } else { triggerPostRender(); } } );} );
/* ]]> */