WPIntell

Source evidence

issues with re-organizing JS code

Average Head & Footer Code · support · 2014-11-07T21:25:00+00:00

complaintsentiment
mediumseverity
0.86relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 28 rows with source links

21.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
trysh816 unresolved
When I add JS to the header for google content experiments the code gets switched around <script> large script </script> <script> small script </script> is how it is entered, but it reverses the order, when trying to enter it in reverse order it still displays the small script first. https://wordpress.org/plugins/average-head-footer-code/ Did you enter both scripts into the same field at the same time? Do you have any other Google Analytics plugins or scripts in your website? Yes both were entered into the header field at the same time. We have other analytics code in our site, but not placed in the plugin. Can you provide the scripts (blocking out any identifying references, such as your Google Analytics ID)? I think I ran into the same problem, which is actually the plugin no longer saving to the database. This must have been due to some change in your install occurring after you initially pasted your scripts in there (such as a new plugin being activated). However, Head & Footer Code shouldn’t let that sort of thing interfere with its operations, so I’ve fixed the problem. Please update to the latest version. Thanks! Did this work for you? Otherwise, have you tried AddFunc Head & Footer Code? https://wordpress.org/plugins/addfunc-head-footer-code/

Comments

5 shown
Joe Rhoney 2014-11-14T00:52:00+00:00

Did you enter both scripts into the same field at the same time? Do you have any other Google Analytics plugins or scripts in your website?

trysh816 2014-11-14T02:11:00+00:00

Yes both were entered into the header field at the same time. We have other analytics code in our site, but not placed in the plugin.

Joe Rhoney 2014-11-15T00:45:00+00:00

Can you provide the scripts (blocking out any identifying references, such as your Google Analytics ID)?

Joe Rhoney 2014-12-04T02:22:00+00:00

I think I ran into the same problem, which is actually the plugin no longer saving to the database. This must have been due to some change in your install occurring after you initially pasted your scripts in there (such as a new plugin being activated). However, Head & Footer Code shouldn’t let that sort of thing interfere with its operations, so I’ve fixed the problem. Please update to the latest version. Thanks!

Joe Rhoney 2015-03-02T22:51:00+00:00

Did this work for you? Otherwise, have you tried AddFunc Head & Footer Code? https://wordpress.org/plugins/addfunc-head-footer-code/