Viewing 1 replies (of 1 total)
  • Plugin Support Adam Dunnage

    (@adamdunnage)

    Hi @tuomonurkkala, thanks for opening a support topic with us and sharing your question in detail.

    With each Google service that you?connect in Site Kit, Site Kit will add code snippets to your website to facilitate this connection. To view these code snippets in your site’s code, right-click on any blank part of your site and select?View source?or?View page source?from the pop-up menu that appears.

    Site Kit places each code snippet in the recommended location for that service in source code. It is not possible to move the position of any Site Kit placed code. If you do wish to change the order of your code snippets in your source code, you can manually do this. You can see this guide which explains how to manually place your Tag Manager code on your site.

    If you do choose to manually place code for any Google service you have connected in site Kit, then you can choose for Site Kit not to place the code for this service and it will see the manually placed code on your site and remain connected in the plugin. You can ensure that Site Kit is or isn’t placing code by going to Site Kit > Settings > Connected Services and selecting the module you wish to check. There will be a toggle for allowing Site Kit to place code for that service.

    So to summarise, if you do wish to place your different code snippets in your desired order, you will need to manually place your Google service code snippets. You can then as mentioned above still have these services connected in Site Kit and choose for Site Kit not to place the code snippet for those services.

    I hope this helps to answer your question but please let me know if there is anything else I can help you with.

    • This reply was modified 1 year, 1 month ago by Adam Dunnage.
Viewing 1 replies (of 1 total)
  • The topic ‘GTM script head order’ is closed to new replies.