Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

turn off Automatic Render Enabled and manually render scripts #394

Open
kos76 opened this issue Jul 30, 2020 · 1 comment
Open

turn off Automatic Render Enabled and manually render scripts #394

kos76 opened this issue Jul 30, 2020 · 1 comment
Labels

Comments

@kos76
Copy link

kos76 commented Jul 30, 2020

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>
@kos76 kos76 added the question label Jul 30, 2020
@kos76
Copy link
Author

kos76 commented Jul 30, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant