javascript - Does it Make Sense to Insert the Google Content Experiements Tag after <meta> tags? -


google instructs put content-experiments javascript after <head> tag.

does make sense insert little later that, such after key compatibility <meta> tags, like:

<head>   <meta http-equiv="content-type" content="text/html; charset=utf-8" />   <meta http-equiv="x-ua-compatible" content="ie=edge;" />   <!-- other important tags? -->   <!-- google analytics content experiment code -->   ... 

... or totally , absolutely best put javascript above else?

this should fine, long it's not nested within other tags. it's same case gtm snippet - ideally should come after <body>, there other meta tags come before (and may loaded dynamically). make sure validate code after you've pasted in on site.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -