Main Session

Main Session storage for parameters and Local Storage for persistent user experiences and measurement.

Developer Features

Cookieless support

Main JS controls full cookieless support using local and session storage, defining page, session and user data retention and controls outside of the browsers cookie jar and storage.

Consented sessions

Main JS features easily implemented consent preferences and consent data types switches to be easily rendered or overridden or redacted on your website at any time of the session, meeting the strictest compliance requirements.

Session-level data

Main JS session level data storage and persistence offers detailed session data of detail like landing page, browser versions, language and region signals.

Session URL parameters

Main JS session data also includes all non-conflicting URL parameters as part of the session storage, suitable for UTM parameters, personalisations overrides and AB testing persistence.

Session data recovery

Main JS session data is recovered automatically when page navigation is broken through hardcoded page intercepting normal page navigation flow or interstitial scripts,

Seamless session journey

Main handles back, forward and page reloads seamlessly within the page, session and user states to unparalleled user experience and best possible analytics accuracy throughout the user journey.

Tracking session persistence

Main JS handles your consent, event tracking, tag managers, data layers, google tag, tag gateways, enhanced ecommerce, standard events and custom events and session persistence

Statefulness sessions

Main JS page level data storage and persistence offers detailed engagement, focus, scroll, page depth, screen orientation, statefulness and all stages of user timings.

Why Main HTML

Main HTML is a downloadable template that makes designing and building websites easier and faster. Leveraging server-less architecture for performance and millions of styling possibilities, you can build a small website in minutes or maintain a significant digital presence with Main. Main HTML or as it's affectionately called <main> after the element and ARIA role, is perfect for;

  • students looking to learn web dev;
  • professionals looking for a high performance and low cost website;
  • small businesses needing fast content updates, local brand visibility and SEO built-in;
  • SME who need versatile content and have regional consent and measurement responsibilities;
  • companies who demand higher functionality from their websites including powerful personalisation and A/B testing;
  • governments where browser compatibility, high availability and accessibility are top priority;
  • corporations who demand everything including high fault tolerance and multi-domain cookie less architectures.