seomatic
seomatic copied to clipboard
turn off Automatic Render Enabled and manually render scripts
Question
If I disable Automatic Render Enabled in the admin panel and in the code in the head tag I add scripts, for example {% do seomatic.script.render ()%} {% do seomatic.link.render ()%} any seomatic scripts are not displayed in google chrome console ( GTM, etc) When Automatic Render Enabled is enabled, they are displayed correctly What could be the reason?
Additional context
<head>
<link rel="dns-prefetch" href="//maps.googleapis.com" />
<link rel="dns-prefetch" href="//connect.facebook.net" />
<link rel="dns-prefetch" href="//fonts.googleapis.com" />
<link rel="dns-prefetch" href="//www.googletagmanager.com" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"/>
<meta name="referrer" content="origin-when-cross-origin"/>
{% include '/thirdPartySnippet/headBlock.html' %}
<meta property="og:type" content="website">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<link rel="shortcut icon" type="image/png" href="/dist/img/favicon.png"/>
<link rel="preload" as="image" href="/dist/img/preloader.gif">
{% do seomatic.script.render() %}
{{ head() }}
</head>
PHP version | 7.2.19 Linux 4.19.76-linuxkit MySQL 5.7.22 Imagick 3.4.4 (ImageMagick 6.9.7-4) Craft Solo 3.4.29 Yii 2.0.35
SEOmatic | 3.3.8