Insertion order of global vs page-specific head data
-
Hi Erik,
I found a quirk that I can’t seem to resolve here.
I have your plugin installed and I’m using both the global option under Settings to inject a KISSMetrics setup code and the per-page option to add specific events to pages.
Unfortunately, the order of the script insertion is backwards of what I need it to be. It’s coming out like this:
<head> <page-specific-script> <global-script> </head>
I need it the other way around:
<head> <global-script> <page-specific-script> </head>
Because the variables I’m using in the page-specific script are defined in the global script.
How can I fix that? Or can you add a config option to explicitly order global/page?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Insertion order of global vs page-specific head data’ is closed to new replies.