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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -