Hi I am trying to implement GA4 on my website. In addition to adding the Google ID in the Google Services section it says to “Additionally, paste this code immediately after the opening <body> tag” – code in private content.
What is the best way to do this without using a plug in?
Thank you for the inquiry.
You can add the analytics script directly in the Enfold > Google Services > Google Analytics Tracking Code field. The theme will automatically place the script where it needs to be. Also, please note that the script that you posted above will only display if the browser doesn’t support scripting.