Conversation
supportWhen 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/
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/