annemarietn
Forum Replies Created
-
Testing it further, I can trigger the gaOptout() if I put the PHP code in the <body>
What I realise is that it drops the ga-disable-UA-xxx cookie at the point of page load, when the “do you consent to cookies” banner is displayed, but then if the user accepts cookies, the “disable” cookie has already landed.
What I acutally need is the entire GADWP functions to not run until the user has accepted the cookies in the Cookie Notice, so only at that point are the cookies dropped. Thinking this is not possible and I’ll need to incoporate Google Analytics javascript directly into the Cookie Notice plugin custom scripts, but if you have any thoughts I’d be grateful.
It has indeed fixed the issue, thanks so much Anton for a speedy fix!
Thanks so much Anton, that was the piece I was missing, I hadn’t spotted the subsite user access settings in the network settings page for Smush. Have activated that now and am getting the “Bulk Smush Now” option.
Apologies, didn’t consider that the image tags would be rendered as the images.
Image tag before Lazy Load:
src="https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh-300x180.png" alt="" class="wp-image-110389" srcset="https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh-300x180.png 300w, https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh.png 500w" sizes="(max-width: 300px) 100vw, 300px"
Image tag after Lazy Load enabled:
alt="" data-srcset="https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh-300x180.png 300w, https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh.png 500w" sizes="1527px" data-src="https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh-300x180.png" data-sizes="auto" class="wp-image-110389 lazyautosizes ls-is-cached lazyloaded" src="https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh-300x180.png" srcset="https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh-300x180.png 300w, https://35z8e83m1ih83drye280o9d1-wpengine.netdna-ssl.com/wp-content/uploads/2019/04/bh.png 500w"
Forum: Plugins
In reply to: [Reading Time WP] Specify post ID in shortcodeThanks so much Jason!
Forum: Plugins
In reply to: [Reading Time WP] Specify post ID in shortcodeThanks Jason, I’ve added an optional post_id parameter to the shortcode in this pull request: https://github.com/yingles/reading-time-wp/pull/6
Forum: Plugins
In reply to: [Gutenberg] Assigning Bootstrap classes to ColumnsThank you
Forum: Plugins
In reply to: [Gutenberg] Why is plugin needed in WordPress 5.0?Thanks so much, perfectly clear now!!