This repository was archived by the owner on Oct 15, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 44
turn off Automatic Render Enabled and manually render scripts #394
Copy link
Copy link
Open
Labels
Description
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>
Reactions are currently unavailable