
{"id":9361,"date":"2020-11-04T16:28:00","date_gmt":"2020-11-04T13:28:00","guid":{"rendered":"http:\/\/blog.travelpayouts.com\/en\/?p=9361"},"modified":"2021-10-02T20:50:32","modified_gmt":"2021-10-02T17:50:32","slug":"aviasales-calendar-widget-update","status":"publish","type":"post","link":"https:\/\/www.travelpayouts.com\/blog\/aviasales-calendar-widget-update\/","title":{"rendered":"We Updated the Aviasales Calendar Widget: What Has Changed"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What the New Widget Looks Like<\/h2>\n\n\n\n<p>Naturally, the new widget looks better than the previous one. It is both tidier and cleaner. We didn\u2019t take away any elements but changed their placement instead.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Before<\/h3>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1578cc5bf2&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/09\/screen-shot-2563-09-15-at-20.00.48-e1600348902510-1024x577.png\" alt=\"\" class=\"wp-image-9368\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/09\/screen-shot-2563-09-15-at-20.00.48-e1600348902510-1024x577.png 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/09\/screen-shot-2563-09-15-at-20.00.48-e1600348902510-300x169.png 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/09\/screen-shot-2563-09-15-at-20.00.48-e1600348902510-768x433.png 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/09\/screen-shot-2563-09-15-at-20.00.48-e1600348902510-1536x866.png 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/09\/screen-shot-2563-09-15-at-20.00.48-e1600348902510.png 1607w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Now<\/h3>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1578cc5fb2&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"719\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-28-at-9.01.02-pm-1024x719.png\" alt=\"\" class=\"wp-image-9788\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-28-at-9.01.02-pm-1024x719.png 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-28-at-9.01.02-pm-300x211.png 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-28-at-9.01.02-pm-768x540.png 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-28-at-9.01.02-pm-1536x1079.png 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-28-at-9.01.02-pm.png 1614w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>By default, the widget is displayed in blue, but you can customize another one that suits your project.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1578cc6303&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"715\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-29-at-8.38.57-pm-1024x715.png\" alt=\"\" class=\"wp-image-9794\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-29-at-8.38.57-pm-1024x715.png 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-29-at-8.38.57-pm-300x209.png 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-29-at-8.38.57-pm-768x536.png 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-29-at-8.38.57-pm-1536x1072.png 1536w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/screen-shot-2020-10-29-at-8.38.57-pm.png 1622w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Will Widgets Already Set Up on Blogs Be Updated Automatically?<\/h2>\n\n\n\n<p>Yes, the new widget is already showing on your blog.<\/p>\n\n\n\n<p>Depending on which target group the user was in, they saw either the old widget or the updated widget on an affiliate site on which the calendar widget is installed. <\/p>\n\n\n\n<p>The A\/B testing shows that the updated version is more efficient \u2014 the conversion of the affiliate\u2019s website visitors to Aviasales website visitors is 36% higher.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What changed in the widget apart from design?&nbsp;<\/h2>\n\n\n\n<p>Widget functionality remained the same. We did it specifically for cleaner A\/B testing. Our goal was to make sure that the new widget is as good as the old one and offers the same functionality.<\/p>\n\n\n\n<p>The only thing we removed is the option to select the currency directly in the widget. According to our stats, this function hasn\u2019t really been used. This means the change won\u2019t affect the results of the A\/B testing.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Changes in the Widget Code<\/h3>\n\n\n\n<p>Even though the widget functionality hasn\u2019t changed much, we fully updated its filling and removed the necessity to add code through iFrame. <\/p>\n\n\n\n<p>The updated calendar widget is set up with a script, just like most Travelpayouts\u2019 widgets, which allows the calendar to display beautifully and work properly on different devices and browsers.<\/p>\n\n\n\n<p>If you notice any problems with the calendar or display or have some ideas on how to improve the calendar widget, feel free to share them with us at support@travelpayouts.com.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Where Do Flight Ticket Prices Come From?<\/h3>\n\n\n\n<p>Flight tickets prices are still added based on API data that we share with our partners. API has access to millions of searches on Aviasales. Based on this data, the calendar shows the minimum price for a ticket to the specified destination.<\/p>\n\n\n\n<p>If the destination is not very popular, the price may be missing. In this case, users need to press the button and launch the search on their own. The calendar widget will redirect the user to the Aviasales website or to the affiliate White Label according to the widget settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">One More Advantage of the Update<\/h2>\n\n\n\n<p>The calendar widget is universal. Using this widget as a basis, we can create widgets for other advertisers in a short time. This means that, in the near future, you\u2019ll see many new cool tools available in affiliate programs!<\/p>\n\n\n\n<p>We very much hope that the travel niche will recover, and our new tools will help you earn more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We continue to actively update our affiliate tools to make them more convenient and beautiful. Now, it\u2019s the calendar widget\u2019s turn, and it shows 36% higher conversion rates! In this post, we\u2019ll share all widget updates.<\/p>\n","protected":false},"author":9,"featured_media":6548,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","footnotes":""},"categories":[5],"tags":[422],"class_list":["post-9361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-widget"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/comments?post=9361"}],"version-history":[{"count":15,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9361\/revisions"}],"predecessor-version":[{"id":9796,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9361\/revisions\/9796"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media\/6548"}],"wp:attachment":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media?parent=9361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/categories?post=9361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/tags?post=9361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}