WSS AAA Custom Elements for Vendor Header and Footer

Header and Footer script


<!-- WSS version 2019.10.21 -->
<script type='text/javascript'>
  (function () {
    if (!window.headerFooterIsLoaded) {
      var a = document.getElementsByTagName('script')[0];
      var b = document.createElement('script');b.type = 'text/javascript';
      b.src = 'https://aaa-vendor-header-footer.millisite.com/init/index.js';
      a.parentNode.insertBefore(b, a);
      window.headerFooterIsLoaded = true;
    }
  })();
</script>
  

Header html snippet


<!-- WSS version 2019.10.21 -->
<wss-aaa-hoosier-header></wss-aaa-hoosier-header>
  
  

Footer html snippet (this also loads the club's gtm script into the page)


<!-- WSS version 2019.10.21 -->
<wss-aaa-hoosier-footer></wss-aaa-hoosier-footer>
  

Verification and Testing

Set Zip Code Cookie to 47868
Club code: 023

Done

Discounts
Stager [SEO Header] and [SEO Bottom]
National
Stager [SEO Header] and [SEO Bottom]
National
Stager [Custom Menu 10] and [Custom Menu 16]
TST Travel
Vendor Managed

TODO

RTJ Membership
Ghost CMS with wss-managed theme
Fuze FAQ's
Vendor Managed