Version 1.3 Needs Some Fixes
-
Hey, love the new update! But there are a couple issues.
#1
The Analytics bounce rate code should be placed after the UA and pageview functions for analytics. Right before the closing script for analytics.#2
You are missing double quotes on the timeout line. See my codeshare with 1.3 comparing what should be.
https://codeshare.io/sHBtU#3
Can you either add option to change enqueue order or just force it? ??
For example, on mine I change it to 0 order so that GA is the first script that fires in the footer. I think in every scenario GA should be the first to fire, so probably just adding the enqueue order would be fine.
add_action('wp_footer', 'add_ga_header_script', 0 );
Thanks again! Loving where this is heading.
https://www.ads-software.com/plugins/host-analyticsjs-local/
- The topic ‘Version 1.3 Needs Some Fixes’ is closed to new replies.