SOTESHOP 7.3.6

07/06/2017

A new version of SOTESHOP 7.3.6 has been released. From the previous version 7.3.5, we have introduced 65 improvements, updates and new functionalities. We encourage everyone to update their store.

Check out the list of changes that have been released recently.

Description Tab Application

The add-on is used to present descriptions in the form of tabs. It is an alternative to the standard display of descriptions on the product card.

see more

Product Embed Application

The application allows you to generate a product code, after pasting which, on another page (wordpress blog, joomla etc.) the product card will be visible. Thanks to this, you can place a visual representation of the product card directly on other websites.

see more

Store Only for Verified Users

The application hides the store's offer and limits it to the user module. The customer can register, log in and only after being verified by the administrator can they fully use the store.

see more

Integration with Domodi

We have released a new application "Domodi - integration" intended for stores from the fashion and style industry. The add-on integrates SOTESHOP with the virtual fashion shopping gallery domodi.pl
Domodi is a service for presenting, promoting and advertising products offered by your store, as well as a place for "meetings" of fashion enthusiasts, style creators and trend lovers, where they can create sets, exchange opinions and choose their favorite products.

see more

List of Other Changes

  1. Adding the ability to attach a photo gallery to a blog post,
  2. Adding the ability to exclude a single address and domain from https:// redirection when the entire store has SSL enabled,
  3. eCard transaction verification update,
  4. Fixing the product option import/export mechanism,
  5. Fixing the payment mechanism with specific server settings,
  6. Allegro - fixing the sorting of photos for auctions,
  7. Fixing the look of the inquiry form,
  8. Adding automatic window closure after sending a product inquiry,
  9. Invoice mechanism update,
  10. Google meta tag update in the blog module,
  11. Gift voucher mechanism update,
  12. Update of the currency selection mechanism in the store,
  13. Correction of stock states changes for products with set discount,
  14. Correction of importing offers from Allegro,
  15. Update of Credit Agricole payments for products with applied discount,
  16. Adding of bulk status and payment change for orders from Allegro auctions,
  17. Update of category display in the admin panel => Offer => Products,
  18. Update of order information display in the customer panel,
  19. Update of generating address labels for Polish Post,
  20. Update of HTML editor and photo management system in descriptions,
  21. Correction of browse icon display in some places of the panel,
  22. Update of sales report display in the gadget in the panel,
  23. Update of the EU VAT mechanism,
  24. Allegro - adaptation of descriptions for the responsive auction theme,
  25. Allegro - unification of the look of the auction description with the store product card,
  26. Adding of the possibility to extend the product attribute module from the application,
  27. Correction of the delivery country on the Polish Post address label,
  28. Removal of messages after placing an order in the developer mode,
  29. Correction of product collection image scaling for IE 11.9 browser,
  30. Adding of orders search by product or product code,
  31. Update of the import/export file of language definitions,
  32. Update of the alt description display for product photos on the product card,
  33. Adding of product group navigation,
  34. Update of the tag for the post page,</li> <li>Unification of the interface in the order for Paczkomats,</li> <li>Generation of the shipment number in Paczkomats,</li> <li>Adding of the tracking link in the order status,</li> <li>Update of the product filtering mechanism,</li> <li>Update of the customer orders display,</li> <li>Link to the password reminder immediately visible on the login screen in responsive themes,</li> <li>The e-mail address field does not display in the form if the customer is logged in,</li> <li>Allegro - update of auction listing,</li> <li>Specification of the voucher amount entered in the panel,</li> <li>Update of Paczkomats for SSL protocol stores,</li> <li>Correction of product filtering in the category,</li> <p>The texts in the HTML file have been translated from Polish to English. <li>Adding "Show Manufacturer" configuration to product card in responsive themes,</li> <li>Improvements to attachments and product presentation,</li> <li>Improvements to database model building in store update and installation,</li> <li>Paczkomat update for older graphic themes,</li> <li>Adding an ordinal number to the product list in the order,</li> <li>Adding net price to the information about adding a product to the basket,</li> <li>Adding category and subcategory names as words to search for products,</li> <li>Graphic configuration mechanism update in Moderno,</li> <li>Graphic updates in responsive themes for blog module,</li> <li>Graphic editing update in Cutlery theme,</li> <li>Price translation correction in Cutlery theme products,</li> <li>Popup - application mechanism update,</li> <li>Google Translator - adding application for responsive themes,</li> <li>Manufacturer banner - correction of generating spaces with the module enabled,</li> <li>Out of stock products - extending the gadget's functionality to filter active and inactive products,</li> <li>Facebook Remarketing - updating the script display in the basket and eliminating messages in developer mode in the panel,</li> </ol> <hr /> <center></p> <p>Set up your <a href="/soteshop">SOTESHOP store</a> for free for 14 days.<br /> Check out the new version of SOTESHOP 8.</p> <p><a href="/online-store-demo" class="btn btn-primary">Set up your store</a> </center></p> <p><b>Related Pages</b></p> <ul> <li><a href="/category/order" target="_blank" rel="noopener noreferrer">SOTESHOP Store Price List.</a></li> <li><a href="/soteshop" target="_blank" rel="noopener noreferrer">SOTESHOP Store</a></li> <li><a href="/category/webstore" target="_blank" rel="noopener noreferrer">Store Add-ons. Webstore.</a></li> </ul> </div> </div> <div class="sidebar col-sm-4"> <div> <div class="title"> <h3>Search on the website</h3> </div> <div style="margin:20px auto;"> <div class="input-group col-xs-12"> <div class="form-group"> <input id="query" class="form-control" type="text" value=""> </div> <span class="input-group-btn"> <button id="button-submit-return" type="submit" class="btn btn-primary" > <span class="glyphicon glyphicon-search"></span> </button> </span> </div> <!-- Modal --> <div class="modal fade" id="search-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog" style="width: 100%; max-width:900px;"> <div class="modal-content"> <div style="padding: 30px; margin-bottom: 10px;"> <div class="input-group col-xs-12" style="max-width: 50%; margin: 0px auto;"> <div class="form-group"> <input id="query-modal" class="form-control" type="text" value=""> </div> <span class="input-group-btn"> <button id="button-submit-return-modal" type="submit" class="btn btn-primary" > <span class="glyphicon glyphicon-search"></span> </button> </span> </div> </div> <div style="padding: 10px 60px;" id="search-results"></div> </div> </div> </div> </div> </div> <div> <div class="title"> <h3>Recommended articles</h3> </div> <ul> <li> <a href="/post/new-version-soteshop-8">The new version of SOTESHOP 8</a> </li> <li> <a href="/post/how-much-does-an-online-store-cost-pricing-models-subscription-addons-updates">How much does an online store cost? Price of the store, billing models, subscription, add-ons, updates.</a> </li> <li> <a href="/post/how-to-open-an-online-store-and-start-selling-online">How to Set Up an Online Store - A Comprehensive Guide.</a> </li> </ul> <div class="clearfix"></div> </div> <div> <div class="title"> <h3>Categories</h3> </div> <ul> <li> <a href="/posts/wholesalers">Wholesalers</a> </li> <li> <a href="/posts/e-commerce-law">E-commerce Law</a> </li> <li> <a href="/posts/internet-store-soteshop">Internet Store SOTESHOP</a> </li> <li> <a href="/posts/online-sales">Online Sales</a> </li> <li> <a href="/posts/artificial-intelligence-ai">Artificial intelligence (AI)</a> </li> </ul> <div class="clearfix"></div> </div> <div> <div class="title"> <h3 >Internet Store SOTESHOP</h3> </div> <ul> <li><a target="_self" href="/post/new-product-option-presentation-format-clear-presentation-of-sizes-colors-photos-and-prices">New product option presentation format. Clear presentation of sizes, colors, photos, and prices.</a></li> <li><a target="_self" href="/post/greater-knowledge-with-chat-ai-additional-product-and-store-information">Greater Knowledge with Chat AI. Additional Product and Store Information.</a></li> <li><a target="_self" href="/post/why-update-the-graphics-in-your-online-store">Why Update the Graphics in Your Online Store?</a></li> <li><a target="_self" href="/post/chat-ai-and-the-new-gpt-4o-mini-version-now-20-times-cheaper-with-openai-leave-the-competition-behind">Chat AI and the new GPT-4o Mini version, now 20 times cheaper with OpenAI. Leave the competition behind.</a></li> <li><a target="_self" href="/post/soteshop-8-3-1-online-store">SOTESHOP 8.3.1 Online Store</a></li> </ul> <a style="font-size: 0.9rem;" target="_self" href="/posts/internet-store-soteshop"> More in the category: Internet Store SOTESHOP</a> <div style="text-align: center; font-size: 0.9rem;"> <h3>SOTE YouTube</h3> <span style="margin-bottom: 10px;display: inline-block;">Stay up to date with the latest news about the SOTESHOP program. Subscribe to the SOTE channel on YouTube.</span> <br> <div class="g-ytsubscribe" data-channelid="UCPhKrHJANknKpvRnGpccYFg" data-layout="default" data-count="default"></div> </div> </div> </div> </div> <div style="margin-bottom: 45px;"> <!--[mode:html]--><h2 style="text-align: center;">Recommended articles on the blog</h2> </div> <div id="blog" class="row masonry-container wordpress-list"> <div class="product col-xs-12 col-sm-3 col-md-3 item"> <div class="thumbnail"> <div class="row"> <div class="col-xs-12 top"> <div class="image"> <a href="/post/new-version-soteshop-8"><img style="width:100%!important" alt="The new version of SOTESHOP 8" src="https://blog.soteshop.com/wp-content/uploads/2021/10/blog2-15.png"></a> </div> </div> <div class="col-xs-12 top"> <div class="caption" > <h3 class="name"><a style='text-decoration:none;' href='/post/new-version-soteshop-8'>The new version of SOTESHOP 8</a></h3> <div class="data text-muted">06/10/2021</div> <div class="description tinymce_html" onclick="location.href='/post/new-version-soteshop-8';"> After many months of work by our team, the new version of SOTESHOP 8 has been released. The biggest change is the new administrative panel, but in total we have made changes to 146 store modules. This is the biggest update we have ever released and we hope it is the best. </div> </div> </div> </div> </div> </div> <div class="product col-xs-12 col-sm-3 col-md-3 item"> <div class="thumbnail"> <div class="row"> <div class="col-xs-12 top"> <div class="image"> <a href="/post/how-much-does-an-online-store-cost-pricing-models-subscription-addons-updates"><img style="width:100%!important" alt="How much does an online store cost? Price of the store, billing models, subscription, add-ons, updates." src="https://blog.soteshop.com/wp-content/uploads/2022/01/blog-132.png"></a> </div> </div> <div class="col-xs-12 top"> <div class="caption" > <h3 class="name"><a style='text-decoration:none;' href='/post/how-much-does-an-online-store-cost-pricing-models-subscription-addons-updates'>How much does an online store cost? Price of the store, billing models, subscription, add-ons, updates.</a></h3> <div class="data text-muted">05/01/2022</div> <div class="description tinymce_html" onclick="location.href='/post/how-much-does-an-online-store-cost-pricing-models-subscription-addons-updates';"> The price of an online store depends on many elements. In this article we present different billing models, additional costs and we will try to answer how much an online store really costs per year. </div> </div> </div> </div> </div> </div> <div class="product col-xs-12 col-sm-3 col-md-3 item"> <div class="thumbnail"> <div class="row"> <div class="col-xs-12 top"> <div class="image"> <a href="/post/how-to-open-an-online-store-and-start-selling-online"><img style="width:100%!important" alt="How to Set Up an Online Store - A Comprehensive Guide." src="https://blog.soteshop.com/wp-content/uploads/2021/10/blog2-17.png"></a> </div> </div> <div class="col-xs-12 top"> <div class="caption" > <h3 class="name"><a style='text-decoration:none;' href='/post/how-to-open-an-online-store-and-start-selling-online'>How to Set Up an Online Store - A Comprehensive Guide.</a></h3> <div class="data text-muted">28/10/2021</div> <div class="description tinymce_html" onclick="location.href='/post/how-to-open-an-online-store-and-start-selling-online';"> If you are a small business owner or looking to start a business as an online seller, setting up an online store can be highly profitable for you. In the age of growing e-commerce and more and more purchases being made online, the market is highly competitive but also full of opportunities. In this guide, we present comprehensive guidelines for setting up and running an online store that will help you successfully start your e-commerce journey. </div> </div> </div> </div> </div> </div> </div> </div> </div> <footer> <div class="navbar navbar-default navbar-static-top clearfix" role="navigation"> <div class="container"> <div id="webpage_footer"> <div class="panel-group row" id="accordion_footer"> <div id="social" class="col-xs-12 col-sm-3"> <a href="https://www.youtube.com/user/soteshop7" target="_blank" rel="noopener"> <picture> <source srcset="/images/sote-social/sote-youtube.webp" type="image/webp"> <source srcset="/images/sote-social/sote-youtube.png" type="image/png"> <img src="/images/sote-social/sote-youtube.png" alt="Konto SOTE na YouTube" title="SOTESHOP na YouTube" width="43" height="43"/> </picture> </a> <a href="https://twitter.com/soteshop" target="_blank" rel="noopener"> <picture> <source srcset="/images/sote-social/sote-x.webp" type="image/webp"> <source srcset="/images/sote-social/sote-x.png" type="image/png"> <img src="/images/sote-social/sote-x.png" alt="Konto SOTE na X" title="SOTE na X" width="43" height="43"/> </picture> </a> <a href="https://www.facebook.com/Soteshop-409076316336898/" target="_blank" rel="noopener"> <picture> <source srcset="/images/sote-social/sote-facebook.webp" type="image/webp"> <source srcset="/images/sote-social/sote-facebook.png" type="image/png"> <img src="/images/sote-social/sote-facebook.png" alt="Konto SOTE na Facebook" title="SOTE na Facebook" width="43" height="43"/> </picture> </a> <a href="https://www.instagram.com/soteshop/" target="_blank" rel="noopener"> <picture> <source srcset="/images/sote-social/sote-instagram.webp" type="image/webp"> <source srcset="/images/sote-social/sote-instagram.png" type="image/png"> <img src="/images/sote-social/sote-instagram.png" alt="Konto SOTE na Instagram" title="SOTE na Instagram" width="43" height="43"/> </picture> </a> </div> <div class="list-group col-xs-12 col-sm-2 col-md-2 col-lg-2"> <h5>SOTESHOP</h5> <a href="/soteshop" title="Description of SOTESHOP">Description of SOTESHOP</a> <a href="/docs/documentation" title="SOTESHOP Documentation">Documentation</a> <a href="https://serwis.sote.pl" target="_blank">Help and service</a> <a href="/category/order" title="SOTESHOP store price list">Store price list</a> <a href="/integrations" title="SOTESHOP Integrations">Integrations</a> <a href="/soteshop-graphic-layouts" title="SOTESHOP store graphics">Store graphics</a> <a href="/category/webstore" title="SOTESHOP store add-ons">Store add-ons</a> <a href="/post/seo-shop-online-soteshop" title="SOTESHOP store positioning">Store positioning</a> <a href="/online-store-demo" title="SOTESHOP Demo version">Demo version</a> </div> <div class="list-group col-xs-12 col-sm-2 col-md-2 col-lg-2"> <h5>BLOG</h5> <a href="/posts" title="SOTE Blog">SOTE Blog</a> <a href="/posts/internet-store-soteshop" title="SOTESHOP Online Store">SOTESHOP Online Store</a> <a href="/posts/online-sales" title="SOTESHOP Online Sales">Online Sales</a> <a href="/posts/ecommerce-law" title="E-Commerce Law">E-Commerce Law</a> <a href="/posts/wholesalers" title="Wholesalers">Wholesalers</a> </div> <div class="list-group col-xs-12 col-sm-2"> <h5>CUSTOMERS & PARTNERS</h5> <a href="/clients" title="List of SOTESHOP customers">List of our customers' shops</a> <a href="/soteshop/reviews" title="Opinions about SOTE">Opinions about SOTE</a> <a href="/clients#bell_categories" title="Examples of SOTESHOP implementations">Examples of implementations</a> <a href="/partners" title="Become a SOTE partner">Become a SOTE partner</a> </div> <div id="contact-box" class="col-xs-12 col-sm-3 list-group"> <h5>SOTE</h5> <a href="/page/o-firmie" title="About Us">About Us</a> <a href="/page/contact" title="Contact">Contact</a> <div> ul. Wolsztyńska 2<br /> 60-361 Poznań, Polska </div> <span class="nowrap"><a href="tel:+48736382120">+48 736 382 120</a></span> | <span class="nowrap"><a href="tel:+48736382121">+48 736 382 121</a></span><br /> <a href="mailto:office@sote.pl">office@sote.pl</a><br /> </div> </div> </div> <div class="copyright" style="margin-right: 10px;"> <a href="/">online store<img src="/images/frontend/theme/soteshop7/online-store-sote.png" alt="online store sote" width="39" height="12"></a> <div class="clear"></div> </div> </div> </div> </footer> </div> <!-- Modal --> <div class="modal fade" id="ajax-cookie-modal" tabindex="-1" role="dialog" aria-hidden="true" style="z-index:2060"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <div class="modal-title h4" id="myModalLabel">Cookies settings</div> </div> <div class="modal-body panel-body"> <div class="small" style="padding: 0px 30px;"> <div class="row"> <div class="col-sm-12"> <div class="h4">Strictly necessary cookies</div> </div> </div> <div class="row"> <div class="col-xs-12 col-sm-10"> These cookies are necessary for the website to function and cannot be turned off. They are used, for example, to maintain the contents of the user's basket. You can set your browser to block these cookies, but then the website will not function properly. These cookies make it possible to identify e.g. logged in persons. <br/><br/> </div> <div class="col-xs-12 col-sm-2"> Always active </div> </div> <div class="row"> <div class="col-sm-12"> <div class="h4">Analytical cookies</div> </div> </div> <div class="row"> <div class="col-xs-12 col-sm-10"> These cookies allow us to count visits and traffic sources. Thanks to these files, it is known which pages are more popular and how the website visitors navigate. All information these cookies collect is anonymous. <br/><br/> </div> <div class="col-xs-12 col-sm-2"> <label for="checkbox-1" class="toggle-switchy" data-color="green" data-text="false" data-style="square"1 aria-label="Analytical cookies"> <input checked type="checkbox" id="checkbox-1"> <span class="toggle"> <span class="switch"></span> </span> </label> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="h4">Advertising cookies</div> </div> </div> <div class="row"> <div class="col-xs-12 col-sm-10"> Advertising cookies may be used through our site by our advertising partners. They are used to build a profile of your interests based on information about the pages you are viewing, which includes the unique identification of your browser and end device. If you do not allow these cookies, you will still see basic ads in your browser that are not based on your interests. <br/><br/> </div> <div class="col-xs-12 col-sm-2"> <label for="checkbox-2" class="toggle-switchy" data-color="green" data-text="false" data-style="square" aria-label="Advertising cookies"> <input checked type="checkbox" id="checkbox-2"> <span class="toggle"> <span class="switch"></span> </span> </label> </div> </div> <div class="row"> <div class="col-xs-12 col-sm-12"> Our website uses Google services such as Google Analytics and Google Ads. To learn more about how Google uses data from our website, please review <a target="_blank" href="https://policies.google.com/technologies/partner-sites">Google's privacy policy and terms</a>. <br/><br/> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="h4">Sending advertising-related data</div> </div> </div> <div class="row"> <div class="col-xs-12 col-sm-10"> I agree to send data related to advertising to Google. <br/><br/> </div> <div class="col-xs-12 col-sm-2"> <label for="checkbox-4" class="toggle-switchy" data-color="green" data-text="false" data-style="square" aria-label="Sending advertising-related data"> <input checked type="checkbox" id="checkbox-4"> <span class="toggle"> <span class="switch"></span> </span> </label> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="h4">Google personalized ads</div> </div> </div> <div class="row"> <div class="col-xs-12 col-sm-10"> I agree to the use of personalized ads. These ads are tailored to specific user preferences, behaviors, and characteristics. Google collects data on user activities online, such as searches, visited websites, clicks, and online purchases, to better understand their interests and preferences. <br/><br/> </div> <div class="col-xs-12 col-sm-2"> <label for="checkbox-3" class="toggle-switchy" data-color="green" data-text="false" data-style="square" aria-label="Google personalized ads"> <input checked type="checkbox" id="checkbox-3"> <span class="toggle"> <span class="switch"></span> </span> </label> </div> </div> <div class="row"> <button id="cookies-modal-accept" class="btn btn-primary pull-right">Save and close</button> </div> </div> </div> </div> </div> </div> <style type="text/css"> #cookies_message:before{ background: #D9D8D4; } #cookies_content{ color: #000000; } #cookies_frame { width: 1310px; } </style> <a href="#" id="toTop"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 491.996 491.996" style="enable-background:new 0 0 491.996 491.996;" xml:space="preserve" width="20" height="20"> <path d="M484.132,124.986l-16.116-16.228c-5.072-5.068-11.82-7.86-19.032-7.86c-7.208,0-13.964,2.792-19.036,7.86l-183.84,183.848 L62.056,108.554c-5.064-5.068-11.82-7.856-19.028-7.856s-13.968,2.788-19.036,7.856l-16.12,16.128 c-10.496,10.488-10.496,27.572,0,38.06l219.136,219.924c5.064,5.064,11.812,8.632,19.084,8.632h0.084 c7.212,0,13.96-3.572,19.024-8.632l218.932-219.328c5.072-5.064,7.856-12.016,7.864-19.224 C491.996,136.902,489.204,130.046,484.132,124.986z"/> </svg> </a> <script src="/cache/js/b0dfc7a03963f66e0722c1a8504c4851.js?lm=1723624585" type="text/javascript"></script><script> //<![CDATA[ jQuery(function($) { $(document).ready(function(){ $('body [data-equalizer]').equalizer({ use_tallest: true }); $(window).scroll(function () { if ($(this).scrollTop() > 100) { $('#toTop').fadeIn(); } else { $('#toTop').fadeOut(); } }); $('#toTop').click(function () { $("html, body").animate({ scrollTop: 0 }, 300); return false; }); var scroll = false; var $window = $(window); $window.scroll(function() { scroll = true; }); setInterval(function() { if (scroll) { if($window.scrollTop() + $window.height() >= $(document).height()-250) { $('#phone-call').show() }else{ $('#phone-call').hide() } scroll = false; } }, 255); }); }); //]]> </script><script type="text/javascript"> jQuery(function ($) { $(document).ready(function() { !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.agent='plsote';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'); fbq('init', '835705143199631'); if($.cookies.get('cookies_google_targeting') == true) { fbq('track', 'PageView'); } }); }); </script><script type="text/javascript"> var _smartsupp = _smartsupp || {}; _smartsupp.key = 'cd7b48634cdcd6b7debeeafb382fb41473607723'; window.smartsupp||(function(d) { var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[]; s=d.getElementsByTagName('script')[0];c=d.createElement('script'); c.type='text/javascript';c.charset='utf-8';c.async=true; c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s); })(document); smartsupp('logo:set', 'image', { src: 'https://www.sote.pl/images/logo_sote_chat.png' }) smartsupp('language','en'); smartsupp('theme:colors', { widget: '#ed1c23', primary: '#ed1c23' }); </script><script type="text/javascript" src="/js/jquery.cookie.js"></script><script type="text/javascript" src="/js/jquery.md5.js"></script><script type="text/javascript"> jQuery(function ($) { $(document).ready(function() { console.log("ads tracker status: active"); var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = window.location.search.substring(1), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('='); if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]); } } }; function updateDebug(ads_id, ads_tracker_cookie) { var referrer = document.referrer; var browser = "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"; var ip = "3.129.211.116"; var hash = getUrlParameter('hash'); var url = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search var cookie = JSON.stringify(ads_tracker_cookie); console.log("debug url: " + url); console.log("debug referrer: " + referrer); console.log("debug browser: " + browser); console.log("debug ip: " + ip); console.log("debug ads hash: " + hash); console.log("debug ads id: " + ads_id); console.log("debug cookies: " + cookie); $.post( "/adsTracker/debug", { url: url, referrer: referrer, browser: browser, ip: ip, hash: hash, ads_id: ads_id, cookie: cookie }) .done(function( data ) { console.log("debug update"); }); } function updateRemoteAddressData(ads_id, ads_tracker_cookie) { var remote_address = "3.129.211.116"; var hash = getUrlParameter('hash'); var url = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search if(!hash){ hash="###direct###" } var cookie = JSON.stringify(ads_tracker_cookie); console.log("remote url: " + url); console.log("remote address: " + remote_address); console.log("remote ads hash: " + hash); console.log("remote ads id: " + ads_id); console.log("remote cookies: " + cookie); $.post( "/adsTracker/remoteAddressData", { url: url, remote_address: remote_address, hash: hash, ads_id: ads_id, cookie: cookie }) .done(function( data ) { console.log("remote address data update"); }); } function getKeyByValue(object, value) { for (var prop in object) { if (object.hasOwnProperty(prop)) { if (object[prop] === value) return prop; } } } function getDateFormat() { var d = new Date(); d = d.getFullYear() + "-" + ('0' + (d.getMonth() + 1)).slice(-2) + "-" + ('0' + d.getDate()).slice(-2) + " " + ('0' + d.getHours()).slice(-2) + ":" + ('0' + d.getMinutes()).slice(-2) + ":" + ('0' + d.getSeconds()).slice(-2); return d; } function prepareCookies(ads_id, ads_tracker_cookie) { var ads_hash_control = "xff655822a5bd2373aba99ebf04feb33"; var ads_tracker_cookie_json = JSON.stringify(ads_tracker_cookie); console.log(ads_tracker_cookie_json); updateRemoteAddressData(ads_id, ads_tracker_cookie); var expires_at = new Date(); var days = 90; expires_at.setTime(expires_at.getTime() + 1000 * days * 24 * 60 * 60); $.cookies.set('ads_tracker_'+ads_hash_control, ads_tracker_cookie_json, {path: '/', expiresAt: expires_at}); } function addCookiesData(ads_id, ads_path) { var ads_hash_control = "xff655822a5bd2373aba99ebf04feb33"; var date_time = getDateFormat(); var md5 = $.md5(date_time); var ads_tracker_entering = {}; ads_tracker_entering['ads_cookie_hash'] = md5; ads_tracker_entering['ads_id'] = ads_id; ads_tracker_entering['ads_path'] = ads_path; ads_tracker_entering['ads_entering'] = 1; ads_tracker_entering['ads_last'] = "true"; ads_tracker_entering['ads_create'] = date_time; ads_tracker_entering['ads_update'] = date_time; ads_tracker_entering['ads_sum_control'] = ""; var md5control = $.md5(JSON.stringify(ads_tracker_entering)+ads_hash_control); ads_tracker_entering['ads_sum_control'] = md5control; var ads_tracker_cookie = []; ads_tracker_cookie.push(ads_tracker_entering); console.log(ads_tracker_cookie); return ads_tracker_cookie; } function checkSumControl(ads_tracker_entering) { var ads_hash_control = "xff655822a5bd2373aba99ebf04feb33"; var check_sum_entering = Object.assign({}, ads_tracker_entering); var check_hash = check_sum_entering['ads_sum_control']; //console.log("check_hash :"+check_hash); check_sum_entering['ads_last'] = "true"; check_sum_entering['ads_sum_control'] = ""; var md5control = $.md5(JSON.stringify(check_sum_entering)+ads_hash_control); console.log(check_hash + " = " + md5control); if(check_hash==md5control){ console.log("sum control status: true"); return true; }else{ console.log("sum control status: false"); return false; } } function updateCookiesData(ads_tracker_cookie, ads_id, ads_path) { var ads_hash_control = "xff655822a5bd2373aba99ebf04feb33"; var is_exist = 0; $.each( ads_tracker_cookie, function( key, ads_tracker_entering ) { var sum_control_status = checkSumControl(ads_tracker_entering); ads_tracker_entering['ads_last'] = "false"; if(ads_tracker_entering['ads_id'] == ads_id){ console.log("finded"); console.log("sum control:"+ads_tracker_entering['ads_sum_control']); is_exist = 1; var date_time = getDateFormat(); ads_tracker_entering['ads_entering'] = ads_tracker_entering['ads_entering']+1 ; ads_tracker_entering['ads_update'] = date_time; ads_tracker_entering['ads_last'] = "true"; ads_tracker_entering['ads_sum_control'] = ""; var md5control = $.md5(JSON.stringify(ads_tracker_entering)+ads_hash_control); ads_tracker_entering['ads_sum_control'] = md5control; console.log("new sum control:"+ads_tracker_entering['ads_sum_control']); } }); if(is_exist==0){ var ads_hash_control = "xff655822a5bd2373aba99ebf04feb33"; var date_time = getDateFormat(); var md5 = $.md5(date_time); var ads_tracker_entering = {}; ads_tracker_entering['ads_cookie_hash'] = md5; ads_tracker_entering['ads_id'] = ads_id; ads_tracker_entering['ads_path'] = ads_path; ads_tracker_entering['ads_entering'] = 1; ads_tracker_entering['ads_last'] = "true"; ads_tracker_entering['ads_create'] = date_time; ads_tracker_entering['ads_update'] = date_time; ads_tracker_entering['ads_sum_control'] = ""; var md5control = $.md5(JSON.stringify(ads_tracker_entering)+ads_hash_control); ads_tracker_entering['ads_sum_control'] = md5control; ads_tracker_cookie.push(ads_tracker_entering); } return ads_tracker_cookie } //************* start recognize active ads ****************** var ads_hash_control = "xff655822a5bd2373aba99ebf04feb33"; var url_hash = getUrlParameter('hash'); console.log("ads tracker hash: "+url_hash); var ads_array_hash = $.parseJSON('["f9202289239e95fd86e8a7e95d4e6f22","a7534e104a8f498ad8ab123fcc3d5346","69bdd1a1c5a785b66509c23743a57e8e","703ab8400386aee6042b72e5869825c2","53079a5e365902a5a22590b3b73db08b","824d6756562b7a199f74487d5a300ddc","41e2b07228a907571aac2fdd5b3d7446","cfecf8920a6466f44b1273eaa84d92e1","50b05bbff2fd2d8ef8a0e3adc0855dc2","e394723a69ce5da76f13f088fac885f1","03e9ec20dc6e7deb9a6c9048afea8aaa","4bccbaba66fb0dd70dc78518afeed3d8","1567979e4ad118627cbb40623022ea46","f37c9d67c31bf55c09b3816c54717e02","0d55607465921abab38316f7cf672b0d","c01fff47cd412d397eb45301ea2e35e4","923cb9fc86e82538337844bd598b86aa","11bc3188fc171a58c7bfd7ead63fc7aa","1df2dd2ff506fa9532e6ea2acca4cb4b","99b4af776f2ebbf51f9f31a3ffa356ce","0f5e5cf188093e602eddeb0a7b56076f","a64c420338667fd0321d10a93f7147fc","82862652692fb1f42a081e1dfb637122","65a13e57a1180f8f8cc857f44c64d3f1","f6627d7ccb7076779203e051887570ac","913b9f51511b20aa4d7f70ab0869ad1f","ab43e9869babdf43a0f3370e4ac3a04e","a20bf2dd7bb3bb9e6e66175cfb7e876b","b049e37d1c2edddd3b71afc645e3388b","4987e5e7f77bba78af86128414402dd1","213e79f35bb0e8d2e99b842f0f5ae54c","c367e87a185f2eb8efb58c0298950074","adc58a70856554efec6f10d4eac74a08","d17131c081f4b2d8b8aceb8343d73ab9","23d68789af07e3f8f4e718e0293868a2","7ecf032a1293fafdc59ec6142339ca14","ff50f4d1321ac79741b2065a7057443d","ecb48ee13b1019fa2c322799d8cfa807","df0c492d91e0d6e62d7d683b31b52963","74a7595f07bb0204dbe81b3578d79805","c8c12a523201f3f32e2e1d6197b11ba2","fa2652abd2ee8923317d2748b28dd551","direct_entrance","6912f61dc38911b047f120ccb7f7a340","b9128c36510c7013c9054c6fbdac091d","313e529b0da22e38de9269f42fcba714","785250349693c9a39c352eaf9ba77442","5522221d76b7455a1962791539b58c63","d7b7a86ef3da5589babb51d26e1ca9c7","a94648274bef8bf199b2448a2866466b","ffd16f6056be10c5a139912f8d8c1b36","512d3272b6db4f80b3972bdde42fc06e","b4946204a227b8092e0d9d1742903c58","f3f16c1d693e4f7ff23996c42185c43f","94fd46249c8974398e6a996b0c65eaad","50944a86ca172ca72020e564359cb879","4c505d193ee6c6230b140d1d1ac81671","50f59eea0c034dd865fcda7dbe6aa096","1a82320b1b639d11ffc629d8daf19df9","e90a50c5a3a683e5e9dcc34a0ce1a2b3","d57c62a35e7ac504304ee6c9a9241eea","47748e52bbd324628774b2710f9cca51","5b683e77a3c9b6eb7f151385166d8abe","71ab9db8e09c74b4ed33ab3e0e421b50","d31120a38d3c119a6e33bedfcb860b82","77a03a44c3251cacc9efb32fdf62a030","e28b007e2d974dccea6d2305cf912369","87fe01d3926e9aea576616b9159f04c1","8f6b88de9815032ab3950dfdf3bcbf83","c36f04d0419ae1ad47a74b837516db91","f3db359e3d0bdb64b1e1ed0768b56030","9f29acea83d705fe315adf08a021e6f3","9625ecc87b35a2ae477770e59107ee65","b0e28347adab0bcf4fda710078c4df77","63dc9acc7e701b5f58f7ad7deb5e8b70","a40cec2212638ac2ec2f4170e1096188","677187d3c411ad4a7ade41fdaab31365","7f4d2c849e09cf439b8ac49a0d7f95d0","7ca0fa718e315b492670f8cbd80465d2","af6f23309e2f06555d367720a466c41c","871cc4188b33445d74730b0480b47d47","ad95e69346a1eb92740158416783d897","a7551d3c78acc5b6690dec70d81b47ac","734f011f11103190c727cea8393e92ed","68c66c4ec0174fe28fc2c249731aad77","148dff8f9b691f28ba0c63ab5c5fef91","bef16af755dd86db1a12b535a699db22","a1969abd98f302672d276d9538f30cf0","a19a7137f7964997ff25319714ff52ee","5c10e9e58ddf4233e0a5e366877b3823","177307f692116b45180c0ba007f032c1","8fb112d9e376f49f4566dc51a7d84fd8","dc0ed668155d70d57aeec8ccc80c7b4f","085c1d2475cb9de3342947e98937e077","c5963091a024614db403eaaa7b8b2891","d0c717e2afd41495ea7a4a32b79659bd","e0a9f7363c746afc3b199bc416bc6e1a","1eebe64badf52d57ea3626eed0e9d101","979a0e99766d743ecc279c8a666020e6","a1ca0a7ebf232a62a8857178d2deed9d","809e9dad7faf6116b4de9b823d6b7224","b1547d50b589ecf2bfd5b4d568b78224","eaa78f2e383bb537e8ba5efe106828a9","be23b15a28cfc0401a4a10d897813c1a","1defab6cafff34b3fcdd2e6fb5567d8c","8c360d9a849d7444d7c1bb5475ce8f90","23d41b1c37f7b6dbe1a9382d85ba4433","822b405bc7885c387794d781fad35bb0","f2f9f2076419a74232155efddae0b6ef","3b6bfecaa8dff12616916da0d7cf89a2","6e22f70725088fa33c2fcc8610c514d6","1541d966fd60c8f276e7e23a1c81fc57","5eaac4e59cfac2231b0053d35e21a146","2edaf6e3beca32dd57898e836906cddd","0bc243f3aaeb21e6f41bed1b4ebe9a39","0a606ceab31c1a3b1f83649e10743138","e83b33094eef52d6712140bba36f6015","19fd0a3232516b826f246d55369f2569","15cf20334b3ff98351744e2405936a77","6641d9ce4d800cb8a6d2fa9b0df2672e","e15df5ccc18222fec9ee7cf98ae86b10","4e0ca6d11203d6912c0b37505dfb83d6","2d5c97a8774421a0bb4702128a1d850b","b8eeec63a17c46f029ee7b5d358e4f31","98a1d88586c189f4c7a5e9e57562fe06","820823573e807b93297f8a164ca95049","85a427fccd5f38c9af9f323860d2f66a","ff28fe4d0f5067634810a84ae5b1d3ea","ec900fb4b765dcf8724f6fc26e351308","f46099a12c53153b2816db135a64b631","edbd994b2e96ba19028a32b91050b469","f521bf2a253cb5cce5eebd225ebde413","84180fa45fe6481563a3fe6e0d9f2338","de35134b353f653e762c07aaf2a759ee","58fa5b476a578b88c2729a62a04e33ac","a94229092d7e5218e007ae8b4c28532d","32cd6e8b93e561615f2af67a3b1c707f","1d7b0b8fcdf10da69c9f9c8a06f68bde","cdccb7bf00ffe8b3eb87f1c6a5055ca6","12647a8181aa4063ae4e96662f60cd59","64152ccb12cd99184f8ebae0a2b95f6e","4214d2bb08a769265d59f3c5abac5f06","12acd5e486d5de470bb798c52b0ca18a","b5b9ef4422f78ebf13b8e1602c728519","61af651711c1c882d8a7c589cc912184","36ea86ab772cf0ca15d3ff8878dc3256","30ad522205dc42e3686a04964d9740d2","1c9a6ae4f00f1b1b3a0f26faaaaf5c68","05ed62154b5e9ea288c5a486342b42e1","8e146ebb927339a7230cc4204cb6857e","85b7f5cd9f3afc13d955fbe5af4db87e","43f373f66c7a015ce0b6356181b6ff9b","cbdab19409cc9a7f9b696ce5908294ae","83278bbe0b874509fb8c3c612b42cc89","a9955b310e88a59d0d411ee9d864ed77","7e5a3348b18ae2203f2244f4467e4e6a","febb3913b4671d69f038bcac2a650f83","435297d00aea58c4cf08f4159c10f3da","167ac3336337c6cdef2f936cf718857c","5f4e7b28f35c91123d304131c62c5280","fa806e4ecf3096479a8551dbff329bb4","f79e9c0383cae50dd69ecc57938db8aa","82cb7a8a09978ce8bc79c9682dafd313","fb454dd3d517f6e3e40f6dbe66bfbda4","058c293fdb331acb37c9df6262ce8761","c79ba807f4ec2710eaf65bb95e0aff4a","e7e97e70b6737b3afbfdbd5886202b48","c07cdff15a62bafb80462bb01627dba8","84781341ba169f175f13a44e87acd31e","29ec4a5225d312f563a36d7f7d66f019","560362a5c43aeec66396bc4e784c7ac3","c9a2d0a8da848fae248c180a7a49a312","2c9097a8335793c14684a94f6a90901a","bfd5a86f3b17ef98b4387b31b9d1a8fd","cde97cb4098004af75efbefa8338da23","73f1a16cae25c4a9e707bc104792b1e5","a13c4252570cd61ff22d5f265397c564","96a0488dc6ea99b230508427aecb1e88","cef757c83b1fffba673860156c45455a","54fcb1c2a97b4596fe65a06bbb4838dc","ba12595b458a1c2cac2a4f0fd2ecf62d","e240daf7d877f6e7745977abea905181","663247060530033cb658653c7b2d99a9","f242a5d5a6629e5e62096a0d0a3fd467","cc8011d4968ad53535b52d04590ead94","f23ff6e0d912341640be9c7d69866ad4","fe210e33836e67c46d9e5c3cd94a6f81","0dded364c03529dd0a10a5c9100e06d5","98a5890e669b2b61692b5d6f1495826e","31b2329c559156307b3f955827f4abcd","f488e06a73b29475a16ed785da7fd232","94f052136dc59ce30478801d912752d1","9c5c465a088a38a5d1c4dbcab334d60c","713a398c3955e473166d875373543c61","3c5812e6bfc95d4ca878fcbbd15c54fb","799cf086e94fa5eac7b937c2b8948d87","3795216a5a093143a7980157cd53d257","ffd3cf49b09f8f3aba129b84d1ce12f1","98494dec39a6deee6ebf707b65afaefd","fb574162098fab5b247f3d73b6020ce3","e9b08cc3577d4663145d94196692b161","f28d76ecf87bdf186fa1552f5f3e250e","6a87313ecfd377dc33689a5946749f1c","9c57062e9206dad8201bfe8136cbcef3","cff89db1848378bd7a592bcc08049b54","d71bd559863358313c844034fdfc7fd5","c485f8fb367e689fea5319248fca1c20","dbddaf7505eb334846a7b4c5dc18cfa4","30267318477933608b2f401d47c93d64","8878247c546c11091b5fe3e6bd60703d","5ad07f14e285b7feccd22eed27971af8","574b7f45bff4e46a81c982d2fc7cc49a","8b500387e7388b1c3879c7eb256ace26","edd1db72d6cec834f73a10a9b9e1a094","aa01e7be30a77e92bec3388199e0b9e5","e4a0a1673e86853b5afa2557e219a4a8","c0890c9e0a2c7d45e6882c94a125d5a0","967cc6facc88e8a2da2c4e61417ac914","62b90097b1ffef371e0198a928394ac6","be360c5151c9780db219924aafb3dc69","f5262a0be53dea2c027487fc9ca28fb8","616bc85f2b9ec9b0263d5bde302c74a7","7be84c4de26f36a7df439afacc70bb2c","3f02bbaa2b27c909a1097c72647cf7ca","aeeb27efd906ea9419464f034c7693ec","63175687051aa8de389d5f71557c4272","5ee0d27ba153fc44906628a9c1847ab3","7fc028c4893f813a176ced3b5b702ed0","69b1d990f06525c22985332282d832d5","5bd8a3ab937e5ed9bb3e6db5a1a02545","f517f7444c74cb4b870692f6c2495921","139093ecd90537beadbf403a61dfb484","32c9233b7a2363e46a5a2b72f3ddc91f","928fcc3861d8321d38079d4a6a7d1e70","7733f4ac62258ca1028abd3f51315314","a8cd325916287a5a0a8290e8572f22d3","97805af8f6e0e2af02d11de6901c2f23","3edd98cf43956ee18329aabef42d0678","dcc9f98e90116e2bbccd6047e4bdc694","b0ddaa95b623bf74b88ed212a0327261","ceea8d3d4438824892342c58da9771fe","57b720b3cf74721141b9272349446307","28da6b39de0f74cd17b33c2fde5af14e","6ebed821336a17b34f33ba21f5d20c33","fb909ec8f5bd8dc38594c823fa6a70c9","9585c653509428e03929a2e15a624b20","7c342fe6710965c1f60bfd355d9d0698","f2bc3b8660c511182f826b07b65aa8e9","5e178380fdf44763272836f9799d092f","fa3d283ecdc38c04c72550edbb466097","33e18531a35906e901a489fc1b247288","36a18395c7d10a26a70dd24a4979c80a","f6686aa4cb04d4ae106608e38e74c904","88399e897bebd1ca4c214b7125874a13","a2bd313ac59642923b63bf860d34bfaf","09e912180bb353c33189b7ccc998b6f0","313e0b4cd32f5f9f00cb547aee9a3270","cc2fd7c499893f3334c7358d944757df","1faac4e39c5d3ccf38666a721a1182d6","b00230aab24cdf67f24665d3d560f53b","317153fc4b7fc6266ec6e55b3caf61ad","699e5c32b74d0cb4038891da0fe329a7","3e81953bcd613c6ed3e261684e226437","653b3cc6f9603bd829cb32667cb879f8","26e57c02600cb8b80fe8c3a94240a5a6","2d5b28ced7cf43a42e8513c5c71eeead","181bdba8682b399907fc89addea2ded5","2ec99ccc3e2dc569366f94fdd92227f9","767c0762b5ff8ad34f5dfa263a171936","43f4eee4d6b8d046389d1330c3cad900","c754e664cd959ea89e27f9ae9b54361a","cf9213f426ad5f652e798f78278ce266","faf0169294f49b6ea4041ea164c432bf","3a4812c978d2ceeaf4dedb7a624d81da","370884eaf58a0b7ab7295309d2c580f9","9a2f8056e32719d21df33d6ec48f91be","501019f0d6ef5e71d68b83becf2223fc","58891fc69346bd51bb3f841bb2accc07","32356b782c644da3aca40ae015305444","df9f0ee074707a5be38fab301cfdc805","65638c924fd8b648d5b7682b3cce641c","13f59b4da5959d3e09cd018abdd9c876","e778da9c4c091bb78347ef5e22378286","d62c06ead91dbfeee4b891ed876f5952","ce01999151a7dde0fd417829d349be97","935f473049a7375cc684ea6f80acf53d","3767acb22c79fdf3eaeef896cb889545","933d9fae1d6203acb3055d83d9059061","1537dcd68efb13ddd523a05d0631988b","36e92384ec94fb4e033cac6465debc44","582913b078438f87509e8d48d48ef468","29f065e2a18adb13e6fe11c733954971","2ceca0a27fc11ee76b0e5e62cb099cc4","ac4ea5dc8d3b0add9aed92242cca9acb","d5d5175adea8c960bfd09cb6a208891e","b2c87cbbfaf66c4d69f8d5c410adfe91","8101216eed62bc63b6d5d64bafff3789","7a0ec8468c387c45d16b4a05ef555ad8","e290ccd6a51655fc5bf6aec4c5bd485d","53b0946e11df362ae75f173de1d52a7f","d704f49d25452607751c704bdfdecef4","ae80b796eb49fcc4397d6fd6f0d9914e","218e12246c65c801aa94bbe2352726f2","8e3de02511709e52c096a994c0c83291","d7a743c126d93c259385e9cb1ccbf14e","e8bfdb78d26a2e2bf677b1c47906939d","7ab7cf33c699a4e3b28c1759f5c61654","e1c0bdcf83ceaa4ff66e68bd7edda3e5","17626e5643582af920272d8db3c31a6c","5bca3abb2ae3028b0c5052f66ad0f916","7cf000dde6c6085f46057fc299572a45","6bcb394e12894ea2d9ed72659a16f6a0","8f5c8a86c71eee3f89edead3c08955e7","67f6633bbb49be7f8e256684a4c7f1b0","87c58265954bbe32eec77c6ca8495fc5","6dc78927a14a6e6cd90d09051f92e83d","0aaf6735cafb10fb16183039b81a308f","c4472eb11327f77c13b8112378a8a225","fd4342a15b17701569c0c55746e09497","17aea8c7a36c3479c970c77bb17d1b28","f246496f887bc96a058ebf21e3ff9bc3","d450f6faa9dad26ad58274a1ef41434a","5009a49aa8acc61f65e10fe77bd32b33","97ab683002f993be1234e0fe76ecaf77","ab9beaeb66f3d561b0ddfd776eb65a8e","dd8776407b216585c036af154fcc2902","bb8957b0c7bdbd0ba6df089b889b3349","2ba1b2969c9b546f535e3d05205b5b7d","e1f77d78f98e394089855bbaa4f994df","1bb6fc4933a6b75e53f651c8826c0eaa","905c4d0b4616a6cf4f94b006deb4b2b4","29e1002641623a289f6e2c24c67bf1f4","a5b6df71f3446102537ae5ef0c8a2316","2866655d28e5422d1d1a3f85aae64605","0cf7add6006f8f8cb8c0b01b327d78f6","4616bfdc61e4b295511de07d146fb8ef","b37a1c2b995065da9d17215f19ee131f","d022bbb8afdf23b0eae89a43bd252408","460c3c8ade03ca91989ba8f8ed1d35f4","1d3b674ecbb2a82c101c29655e4583dd","6631bcde3fd313d0f71f50a95cdefb01","393a13a960fbfff72cfbdcf43c3a3847","1c5ccf6b349fb48d01dfb0560121443d","73e3f47bf4c867777684fe882b28db8a","c5cb226e7bb852d596fad46e7bf62511","4dcc56fd564733fffd658562354100bc","47d16ba086364744bb4cef76208b9618","d28252e4078f21a4856e658f7b7ce8d3","37cbdc1bfebed2e81f6735c39c9abe40","7de53395db60e82f29b7caf5c9a9c737","db5c70129f4fe06e3d5fd8005858fc51","7505a56e64946af4e26875e67fbddb15","8e0b67a5d80123ae528327f7bd2aa806","f4937abb8b74205dbbaec7ce86d10e11","chat_ai","764d6679e6f47830b7b7344b2ca1d442","34d32aff3d4774db0666945801da2478","5a1cf17c166339d3bb3342b422199fe7","79c78177d6599c3b45355ff222583bb2","b2b29e7b6b5c592578c423f991a90d70","fa4e44ad645a6f564a49d5d12f25df52"]'); var ads_array_ids = $.parseJSON('[13,12,10,9,8,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,33,34,35,36,38,39,56,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384]'); var ads_array_path = $.parseJSON('["Facebook\/CM SOTE Conversion 2020-01-18 Cold","Google\/CM SOTE Smart Conversions 2020-09-03 Cold","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Facebook\/CM SOTE Conversion 2020-01-18 Cold","Google\/CM SOTE Traffic Remarketing 180D 2019-11-17 Warm","Google\/CM SOTE Traffic Remarketing 180D 2019-11-17 Warm","Google\/CM SOTE Traffic Remarketing 28D 2019-11-17 Warm","Google\/CM SOTE Traffic Remarketing 28D 2019-11-17 Warm","Google\/CM SOTE Traffic Remarketing 28D 2019-11-17 Warm","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Facebook\/CM SOTE Traffic 2019-12-11 Warm","Facebook\/CM SOTE Traffic 2019-12-11 Warm","Facebook\/CM SOTE Traffic 2019-12-11 Warm","Google\/CM SOTE Traffic Remarketing 180D 2019-11-17 Warm","Facebook\/CM SOTE Traffic 2019-12-11 Warm","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Conversion Custom Intent 2020-12-05 Cold","Google\/CM SEARCH SKLEPY 2019-09-27","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Google\/CM SEARCH SKLEPY 2019-09-27","Google\/CM SEARCH SKLEPY 2019-09-27","Google\/CM SEARCH SKLEPY 2019-09-27","Google\/CM SEARCH SOTE 2019-09-18","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","Wej\u015bcia bezpo\u015brednie\/Wej\u015bcia bezpo\u015brednie","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","Google\/CM SOTE Video Remarketing 2019-12-27 Warm","Google\/CM SOTE Video Keywords 2019-12-26 Cold","SOTE\/Oprogramowanie SOTE","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Traffic 2019-05-09 Hot","Google\/CM SOTE Traffic Remarketing SOTE 180D 2019-11-20 Hot","SOTE\/Backend SOTESHOP","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Lookalike 1% All 2021-04-28 Cold","Google\/CM SOTE Remarketing All 2021-04-28","Google\/CM SOTE Remarketing All 2021-04-28","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Discovery 2021-04-29","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","Google\/CM SOTE Discovery 2021-04-29","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","Google\/CM SOTE Smart Conversions 2020-09-03 Cold","SOTE\/Backend SOTESHOP","SOTE\/Backend SOTESHOP","SOTE\/Backend SOTESHOP","SOTE\/SOTE Demo","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/Backend SOTESHOP","SOTE\/Backend SOTESHOP","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Google\/CM SOTE Video Remarketing 2019-12-27 Warm","Google\/CM SOTE Video Keywords 2019-12-26 Cold","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","Google\/CM SOTE Video Keywords 2019-12-26 Cold","Google\/CM SOTE Video Remarketing 2019-12-27 Warm","Google\/CM SOTE Video Keywords 2019-12-26 Cold","Google\/CM SOTE Video Remarketing 2019-12-27 Warm","Google\/CM SOTE Video Remarketing 2019-12-27 Warm","Google\/CM SOTE Video Keywords 2019-12-26 Cold","Google\/CM Competitors 2021-10-01","Google\/CM SEARCH SKLEPY 2019-09-27","Google\/CM SOTE Video Remarketing 2019-12-27 Warm","Google\/CM SOTE Video Keywords 2019-12-26 Cold","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","SOTE\/CM SOTE Newsletter","Google\/CM SEARCH SKLEPY 2019-09-27","SOTE\/CM SOTE Newsletter","Google\/CM SOTE Remarketing All 2021-04-28","Google\/CM SOTE Performance Max 2021-11-19","SOTE\/CM SOTE Newsletter","Google\/CM SOTE Remarketing All 2021-04-28","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","Google\/CM SOTE Video Non-skippable Sklepy 2021-12-01 Awareness","Google\/CM SOTE Video Non-skippable Sklepy 2021-12-01 Awareness","Google\/CM SOTE Video Non-skippable Sklepy 2021-12-01 Awareness","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/Regulamin sklepu","SOTE\/CM SOTE Newsletter","Google\/CM SOTE Smart Display 2022-01-04 Cold","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","Google\/CM SOTE Remarketing All 2021-04-28","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","Partnerzy\/Partner Premium","SOTE\/CM SOTE Newsletter","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","Partnerzy\/Partner Premium","SOTE\/CM SOTE Newsletter Partnerzy","Google\/CM SOTE Remarketing All 2021-04-28","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","Partnerzy\/Partner Standard","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/S\u0142ownik e-commerce","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter Partnerzy","Google\/CM SOTE Remarketing All 2021-04-28","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","SOTE\/CM SOTE Newsletter Partnerzy","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Partnerzy\/Partner Standard","SOTE\/CM SOTE Newsletter","Google\/CM SEARCH SOTE 2019-09-18","Google\/CM SEARCH SOTE AI 2023-12-09","SOTE\/CM SOTE Newsletter","Facebook\/SOTE Remarking All 90D 2021-04-26","SOTE\/Autoresponder SOTE","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/Backend SOTESHOP","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/Backend SOTESHOP","SOTE\/CM SOTE Newsletter","SOTE\/Frontend SOTESHOP","SOTE\/CM SOTE Newsletter","Google\/CM SEARCH SOTE AI 2023-12-09","Google\/CM SOTE Remarketing All 2021-04-28","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Facebook\/CM SOTE Conversion 2020-01-18 Cold","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","Soteshop\/Zdarzenia","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/Autoresponder SOTE","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter","SOTE\/CM SOTE Newsletter"]'); if($.inArray(url_hash, ads_array_hash) !== -1){ console.log("recognize active ads"); var key = getKeyByValue(ads_array_hash, url_hash); var ads_id = ads_array_ids[key]; var ads_path = ads_array_path[key]; var active_ads_session = window.sessionStorage.getItem("active_ads_"+ads_id); window.sessionStorage.setItem("active_session", "active"); if(active_ads_session!="active"){ console.log("add to session ads "+ads_id); window.sessionStorage.setItem("active_ads_"+ads_id, "active"); $.post( "/adsTracker/checkAds", { id: ads_id }) .done(function( data ) { // alert( "Data Loaded: " + data ); }); if (!$.cookies.get('ads_tracker_'+ads_hash_control)) { var ads_tracker_cookie = addCookiesData(ads_id, ads_path); prepareCookies(ads_id, ads_tracker_cookie); }else{ var ads_tracker_cookie = $.cookies.get('ads_tracker_'+ads_hash_control); ads_tracker_cookie = updateCookiesData(ads_tracker_cookie, ads_id, ads_path); prepareCookies(ads_id, ads_tracker_cookie); } }else{ console.log("ads was active: "+ads_id); } }else{ console.log("can't ads recognize"); var active_session = window.sessionStorage.getItem("active_session"); if(active_session!="active"){ console.log("welcome to direct enterence"); window.sessionStorage.setItem("active_session", "active"); var ads_id = 55; var ads_path = "Wejścia bezpośrednie"; $.post( "/adsTracker/checkAds", { id: ads_id }) .done(function( data ) { }); if (!$.cookies.get('ads_tracker_'+ads_hash_control)) { var ads_tracker_cookie = addCookiesData(ads_id, ads_path); prepareCookies(ads_id, ads_tracker_cookie); }else{ var ads_tracker_cookie = $.cookies.get('ads_tracker_'+ads_hash_control); ads_tracker_cookie = updateCookiesData(ads_tracker_cookie, ads_id, ads_path); prepareCookies(ads_id, ads_tracker_cookie); } } } let eventFired = false; $('#chat-ai-modal').on('keypress', '#chat-ai-message-input', function(event) { if (event.which === 13) { sendChatAiEvent(); } }); $('#chat-ai-modal').on('click', '#send-chat-ai-arrow', function() { sendChatAiEvent(); }); function sendChatAiEvent() { if (eventFired) return; eventFired = true; console.log("Event Chat AI"); var ads_id = 378; var ads_path = "Chat AI"; $.post( "/adsTracker/checkAds", { id: ads_id }) .done(function( data ) { }); if (!$.cookies.get('ads_tracker_'+ads_hash_control)) { var ads_tracker_cookie = addCookiesData(ads_id, ads_path); prepareCookies(ads_id, ads_tracker_cookie); }else{ var ads_tracker_cookie = $.cookies.get('ads_tracker_'+ads_hash_control); ads_tracker_cookie = updateCookiesData(ads_tracker_cookie, ads_id, ads_path); prepareCookies(ads_id, ads_tracker_cookie); } } }); }); </script><script type="text/javascript"> jQuery(function ($) { $(document).ready(function() { let counter = 0; let interval = setInterval(() => { counter++; if (counter <= 10) { // wywołaj akcję co 1 minutę przez pierwsze 10 minut updateUTCookies(); } else if (counter > 10 && counter <= 20) { // wywołaj akcję co 2 minuty przez kolejne 10 minut if (counter % 2 === 0) { updateUTCookies(); } } else if (counter > 20 && counter <= 30) { // wywołaj akcję co 3 minuty od 20 do 30 minuty if (counter % 3 === 0) { updateUTCookies(); } } else { // przestań wywoływać akcję po upływie 30 minut clearInterval(interval); } }, 60 * 1000); function updateUTCookies() { $.get('/st-user-tracker-level/updateUTL', function(data){ }); } }); }); </script><script type="text/javascript"> jQuery(function ($) { $(document).ready(function() { $( "#ajax-login-button, [data-action='ajax-login-button']" ).click(function() { showAjaxLoginFormModal(); }); function showAjaxLoginFormModal() { $('#modal-user').modal('hide'); $('#ajax-login-form-modal').modal('show'); $.get('/user/ajaxLoginForm', function(data) { $('#ajax-login-form').html(data); }); }; }); }); </script><script type="text/javascript"> //<![CDATA[ jQuery(function($) { var horizontalCategories = $('.horizontal-categories'); var headerContainer = $('#header-navbar .container'); var logo = $('#logo'); var buttons = $('#navbar-buttons'); var categories = horizontalCategories.children(':not(.more)'); var moreContainer = $('<li style="display: none" class="dropdown more"><a data-toggle="dropdown" data-hover="dropdown" class="dropdown-toggle" href="#"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><ul class="dropdown-menu"></ul>'); var update = true; var disableCheck = false; moreContainer.children("a").dropdownHover(); horizontalCategories.append(moreContainer); horizontalCategories.bind('highlight', function(event, href) { var $this = $(this); if (href) { $this.find('a[href="'+href+'"]').parents("li").addClass("active"); $this.data('href', href); } else { $this.find('a[href="'+$this.data('href')+'"]').parents("li").addClass("active"); } }); function more() { if (!update) { return false; } horizontalCategories.css({ visibility: 'hidden', 'height': 0 }); var current = 0; var content = ''; moreContainer.hide(); if (($(window).width() < 768) || ($(window).width() > 1200)) { categories.show(); } else { var widthOffset = logo.width() + buttons.width() + 25 + moreContainer.width(); var width = headerContainer.width() - widthOffset; categories.each(function() { var li = $(this); current += li.width(); if (current >= width) { li.hide(); var link = li.children('a'); content += '<li><a href="'+link.attr('href')+'">'+link.html()+'</a></li>'; } else { li.show(); } }); if (content) { moreContainer.children('.dropdown-menu').html(content); moreContainer.show(); horizontalCategories.trigger('highlight'); } else { disableCheck = false; } } update = false; horizontalCategories.css({ visibility: 'visible', 'height': 'auto' }); } $(window).resize(function() { update = true; }).on('orientationchange', more); window.setInterval(more, 100); more(); }); //]]> </script><script type="text/javascript"> //<![CDATA[ jQuery(function($) { var quantity = 0; $("#nav-button-shopping-cart .quantity").html(quantity ? quantity : ""); $('#nav-shopping-cart [data-toggle=tooltip]').tooltip().on('show.bs.tooltip', function(e) { var target = $(e.target); if (target.hasClass('product-option-label')) { var maxWidth = target.css('max-width'); target.css({ 'max-width': 'none' }); var width = target.width(); target.css({ 'max-width': maxWidth }); return width > target.width(); } return true; }); if (quantity > 0) { $("#nav-button-shopping-cart.empty").removeClass('empty'); }; }); //]]> </script><script type="text/javascript"> //<![CDATA[ jQuery(function($) { if ($('#nav-settings > ul > li:empty').length == 2) { $('#nav-button-settings').hide(); } }); //]]> </script><script src="https://apis.google.com/js/platform.js"></script><script type="text/javascript" language="javascript"> jQuery(function ($) { function sendForm(){ var query_input = $('#query').val(); var query_modal = $('#query-modal').val(); if(query_modal !== '' || query_input !== ''){ if(query_modal !== ''){ var query = query_modal; $('#query').val(query); }else{ var query = query_input; } $('#search-modal').modal('show'); $('#query-modal').val(query); $.get('/app-google-custom-search/searchResults', { 'query':query,'page':1, 'unique_uery':1}, function(data) { $('#search-results').html(data); }); } } $(document).keypress(function(event){ var keycode = (event.keyCode ? event.keyCode : event.which); if(keycode == '13'){ var query_input = $('#query').val(); var query_modal = $('#query-modal').val(); if(query_modal !== '' || query_input !== ''){ if( $('#query').is(':focus') || $('#query-modal').is(':focus')){ sendForm(); } } } }); $(document).ready(function () { $('#button-submit-return').click(function() { sendForm(); }); $('#button-submit-return-modal').click(function() { sendForm(); }); $('#search-modal').on('hide.bs.modal', function (e) { $('#query-modal').val(''); }); }); }); </script><script type="text/javascript"> //<![CDATA[ jQuery(function($) { $('a[href^="#"]').click(function () { var linkLocation = $(this).attr('href').substr(1); var linkLocation = $('[name="' + linkLocation + '"]').offset().top; $('html, body').animate({ scrollTop: linkLocation - 78 }, 500); }); }); //]]> </script><script type="text/javascript"> jQuery(function ($) { $(document).ready(function() { // ustaw jeśli niezdefiniowane if ($.cookies.get('cookies_google_analytics') == null ) { var analytics = 'false'; checkbox1(analytics); } if ($.cookies.get('cookies_google_targeting') == null ) { var targeting = 'false'; checkbox2(targeting); } if ($.cookies.get('cookies_google_personalization') == null ) { var personalization = 'false'; checkbox3(personalization); } if ($.cookies.get('cookies_google_user_data') == null ) { var user_data = 'false'; checkbox4(user_data); } checkAndSetCheckbox1(); checkAndSetCheckbox2(); checkAndSetCheckbox3(); checkAndSetCheckbox4(); $('#checkbox-1').change(function() { if ($('#checkbox-1').prop('checked')) { console.log("checkbox-1 true"); checkbox1("true"); }else{ console.log("checkbox-1 false"); checkbox1("false"); } checkAndSetCheckbox1(); }); $('#checkbox-2').change(function() { if ($('#checkbox-2').prop('checked')) { console.log("checkbox-2 true"); checkbox2("true"); }else{ console.log("checkbox-2 false"); checkbox2("false"); } checkAndSetCheckbox2(); }); $('#checkbox-3').change(function() { if ($('#checkbox-3').prop('checked')) { console.log("checkbox-3 true"); checkbox3("true"); }else{ console.log("checkbox-3 false"); checkbox3("false"); } checkAndSetCheckbox3(); }); $('#checkbox-4').change(function() { if ($('#checkbox-4').prop('checked')) { console.log("checkbox-4 true"); checkbox4("true"); }else{ console.log("checkbox-4 false"); checkbox4("false"); } checkAndSetCheckbox4(); }); function checkAndSetCheckbox1() { checkbox_1_value = $.cookies.get('cookies_google_analytics'); if (checkbox_1_value) { $("#checkbox-1").prop( "checked", true ); }else{ $("#checkbox-1").prop( "checked", false ); } } function checkAndSetCheckbox2() { checkbox_2_value = $.cookies.get('cookies_google_targeting'); if (checkbox_2_value) { $("#checkbox-2").prop( "checked", true ); } else { $("#checkbox-2").prop( "checked", false ); } } function checkAndSetCheckbox3() { checkbox_3_value = $.cookies.get('cookies_google_personalization'); if (checkbox_3_value) { $("#checkbox-3").prop( "checked", true ); } else { $("#checkbox-3").prop( "checked", false ); } } function checkAndSetCheckbox4() { checkbox_4_value = $.cookies.get('cookies_google_user_data'); if (checkbox_4_value) { $("#checkbox-4").prop( "checked", true ); } else { $("#checkbox-4").prop( "checked", false ); } } function checkbox1(value){ var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_analytics', value, {path: '/', expiresAt: expires_at}); } function checkbox2(value){ var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_targeting', value, {path: '/', expiresAt: expires_at}); } function checkbox3(value){ var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_personalization', value, {path: '/', expiresAt: expires_at}); } function checkbox4(value){ var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_user_data', value, {path: '/', expiresAt: expires_at}); } }); }); </script><script type="text/javascript"> jQuery(function ($) { $(document).ready(function() { var cookies = '<div id="cookies_message_modal"><div class="modal fade cookie_modal" id="cookies-message-modal" tabindex="-1" role="dialog" aria-hidden="true" style="margin-top: 30vh;"><div class="modal-dialog"><div class="modal-content"><div class="modal-body panel-body"><div style="padding: 0px 30px; text-align: center;"><div style="margin-bottom: 15px;"><div class="modal-title h4">Information about cookies</div></div><div class="small" style="text-align: left; margin-bottom: 15px;">This site uses cookies. By continuing to browse this site you are agreeing to use of cookies. More information can be found in the <a href="/webpage/privacy-policy.html" >Privacy Policy</a>.</div><button id="cookies-close-settings" class="ajax-cookie-button btn btn-default">Settings</button><button id="cookies-close-deny" class="btn btn-default">Deny</button><button id="cookies-close-accept" class="btn btn-primary">Accept</button></div></div></div></div></div></div>'; $( "footer" ).after(cookies); if (!$.cookies.get('cookies_message_bar_hidden')) { $('#cookies-message-modal').modal({keyboard: false, show: true, backdrop: 'static'}); $(".modal-backdrop:last").css("z-index", "2040"); $('#cookies-message-modal').css("z-index", "2050"); } var cookies_link_modal = '<a class="ajax-cookie-button" style="cursor: pointer;" >Cookies settings</a>'; $( ".foot-group:first-of-type .list-group a:last-of-type" ).after(cookies_link_modal); var cookies_message = $('#cookies_message'); if (!$.cookies.get('cookies_message_bar_hidden')) { cookies_message.show(); } $(".ajax-cookie-button").click(function() { showAjaxCookieModal(); }); $("#cookies-modal-accept").click(function() { $('#ajax-cookie-modal').modal('hide'); $('#cookies-message-modal').modal('hide'); hideCookieMessage(cookies_message); }); function showAjaxCookieModal() { $('#ajax-cookie-modal').modal('show'); }; $("#cookies-close-deny").click(function() { console.log("cookie deny"); checkbox1("false"); checkbox2("false"); checkbox3("false"); checkbox4("false"); checkAndSetCheckbox1(); checkAndSetCheckbox2(); checkAndSetCheckbox3(); checkAndSetCheckbox4(); hideCookieMessage(cookies_message); $('#ajax-cookie-modal').modal('hide'); $('#cookies-message-modal').modal('hide'); }); $("#cookies-close-accept").click(function() { console.log("cookie accept"); checkbox1("true"); checkbox2("true"); checkbox3("true"); checkbox4("true"); checkAndSetCheckbox1(); checkAndSetCheckbox2(); checkAndSetCheckbox3(); checkAndSetCheckbox4(); hideCookieMessage(cookies_message); $('#ajax-cookie-modal').modal('hide'); $('#cookies-message-modal').modal('hide'); }); function hideCookieMessage(cookies_message) { cookies_message.slideUp(300); var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_message_bar_hidden', true, {path: '/', expiresAt: expires_at}); console.log("hide message"); $.get('/compatibility/afterHide', function(html) { $('head').before(html); }); } function checkAndSetCheckbox1() { checkbox_1_value = $.cookies.get('cookies_google_analytics'); if (checkbox_1_value) { $("#checkbox-1").prop( "checked", true ); } else { $("#checkbox-1").prop( "checked", false ); } } function checkAndSetCheckbox2() { checkbox_2_value = $.cookies.get('cookies_google_analytics'); if (checkbox_2_value) { $("#checkbox-2").prop( "checked", true ); } else { $("#checkbox-2").prop( "checked", false ); } } function checkAndSetCheckbox3() { checkbox_3_value = $.cookies.get('cookies_google_personalization'); if (checkbox_3_value) { $("#checkbox-3").prop( "checked", true ); } else { $("#checkbox-3").prop( "checked", false ); } } function checkAndSetCheckbox4() { checkbox_4_value = $.cookies.get('cookies_google_user_data'); if (checkbox_4_value) { $("#checkbox-4").prop( "checked", true ); } else { $("#checkbox-4").prop( "checked", false ); } } function checkbox1(value) { var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_analytics', value, {path: '/', expiresAt: expires_at}); } function checkbox2(value) { var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_targeting', value, {path: '/', expiresAt: expires_at}); } function checkbox3(value){ var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_personalization', value, {path: '/', expiresAt: expires_at}); } function checkbox4(value){ var expires_at = new Date(); var years = 20; expires_at.setTime(expires_at.getTime() + 1000 * years * 365 * 24 * 60 * 60); $.cookies.set('cookies_google_user_data', value, {path: '/', expiresAt: expires_at}); } }); }); </script></body> </html>