Manually Embed Google Analytics 4 Code (advanced method)

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000093352-manually-embed-google-analytics-4-code-advanced-method-

Important Notice:


If you have already pasted your Google Analytics 4 ID into the General Settings of your website (recommended method), no further action is required and the steps in this article DO NOT need to be followed. Installing Google Analytics Tracking Code (easy method)


Inside Google Analytics 4 Admin settings, copy the code in the "INSTALL MANUALLY" section.




This code would then be pasted inside Settings > Design Settings > Custom HEAD/CSS > Additional HEAD:




This would complete the process and the data would then be sent over to Google.


However this is an outdated method of adding Google Analytics and we recommend removing this code and adding the Measurement ID into the new GA4 field inside the Integrations tab of the General Settings. 


Installing Google Analytics Tracking Code (easy method)


To add the ID go to:


Settings > General Settings > Integrations > Google Analytics ID