<!doctype html> <?php $theme = ThemeOption::getInstance(); ?> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?> > <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?> > <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?> > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?> > <!--<![endif]--> <head> <title><?php echo app_get_page_title(); ?> </title> <!-- meta --> <?php include dirname(__FILE__) . '/incl-open-graph-meta.php'; ?>
<?php $analytics_tag_manager_key = ThemeOption::getInstance()->get('analytics_tag_manager_key'); if ($analytics_tag_manager_key) { ?> <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=<?php echo $analytics_tag_manager_key; ?> " height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','<?php echo $analytics_tag_manager_key; ?> ');</script> <!-- End Google Tag Manager --> <?php }