How to place Google Analytics script in head instead of body in nopCommerce
-Saturday, April 18, 2015
written by Lavish Kumar
Many search engine optimization (SEO) experts have different opinions about where to place Google Analytics script. Whether it should be in <head> or </body> section? If you search online, you will find several different opinions from different SEO experts / developers.
In nopCommerce (out of the box), the Google Analytics script (if enabled) is designed to be placed right before your </body> tag. But, there are some users / developers who prefer to place the Google Analytics script in the <head> section.
So, let us go over the process if you wish to change the placement of your Google Analytics script from </body> to <head>.
In nopCommerce (out of the box), the Google Analytics script (if enabled) is designed to be placed right before your </body> tag. But, there are some users / developers who prefer to place the Google Analytics script in the <head> section.
So, let us go over the process if you wish to change the placement of your Google Analytics script from </body> to <head>.