dret42
Forum Replies Created
-
Forum: Plugins
In reply to: [Max Mega Menu] Can’t see the “X” close button on off-canvas mobile menuOk, I’ll wait for the fix!
Thanks a lot for supporting!I try with another script in “Integrations > Script Center” menu, as above .
This way seems to works better but the code needs probably to be validatedd and optimized (sorry, I’m not a developer!).
Maybe you can help me to improve it!window._paq=window._paq||[];window._paq.push(['rememberCookieConsentGiven']);
function withdrawConsent() {
window._paq.push(['forgetCookieConsentGiven']);
document.cookie = '_pk_id.2=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/';
document.cookie = '_pk_ses.2=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/';
}
document.addEventListener('DOMContentLoaded', function() {
var denyButton = document.querySelector('.cmplz-deny');
if (denyButton) {
denyButton.addEventListener('click', function() {
withdrawConsent();
});
}
});
document.addEventListener('click', function() {
var denyButton = document.querySelector('.cmplz-deny');
if (denyButton) {
denyButton.addEventListener('click', function() {
withdrawConsent();
});
}
});- This reply was modified 1 year ago by dret42.
I momentary found a partial solution:
1) Under ComplianZ: I set ComplianZ plugin to manage the Matomo Tag Manager Container with standard procedure,
2) Under Matomo Tag Manager: I set my general tracking variable with “Ask for cookie consent” option,
3) Under ComplianZ: go to Integration > Script center > Add Third Part Script > insert here this code:window._paq=window._paq||[];window._paq.push(['rememberCookieConsentGiven']);Now the the situation is this:
1) user enter the site and Matomo cookie is not loaded (but Matomo is still tracking statistic in cookieless mode),
2) if user give the consent then Matomo cookie is correclty loaded,
BUT a problem still persist!
If a user decide later to “Deny” the consent previously given, the cookie is not deleted. 🙁
Any idea to solve this last piece of the puzzle??
Thanks!
Bye.- This reply was modified 1 year, 1 month ago by dret42.
Hi, thanks for support!
Considering your replay I have to change my question (and maybe is not related to your plugin!):When “error” and “spam” events are fired in Contact form 7?
Because I never saw them appearing in my Matomo Logs, even when they should!
For other events (“Sumbit” and “Sent”) Matomo correctly report them on logs.
I’am available in case you need more info!
Thanks, bye!To better understand I expose better the tests executed:
1) FIRST TEST
I tested the performance whith the new plugin.
Than I made a rollback to previous version and I repeated the test again.Results: the old plugin version is bette of 20 score point more than new one.
(in both cases pages are cached)
2) SECOND TEST
Using the new plugin, I made a test with plugin activated and than with plugin de-activated.
Result: with plugin de-activated the score is better of 20 point more than with plugin activated.
(in both cases pages are cached)
Note: all results are made by multiple testing operations (not a single measuring).
Forum: Plugins
In reply to: [Ultimate Addons for Elementor] Disable Font AwesomeThanks for suggestions and supporting!
Forum: Plugins
In reply to: [Ultimate Addons for Elementor] Disable Font AwesomeThanks,
I have temporarily resolved the issue in the following way:
I created a function to override the “search button” widget (where the problem occurred) with this code in the “functions.php”:
function custom_hfe_search_button_output( $output, $widget ) {// Check for Search Button if ( 'hfe-search-button' === $widget->get_name() ) {// Replace CSS class $output = str_replace( 'fas fa-search', 'my-search', $output ); $output = str_replace( 'fas fa-times', 'my-times', $output ); } return $output; } add_filter( 'elementor/widget/render_content', 'custom_hfe_search_button_output', 10, 2 );In this way, the “fas fa-xxx” classes are replaced with my custom classes , and Font-Awesome is no longer loaded on my page.
In this way I can make my own style for search button, without use of external unusel resources!Forum: Plugins
In reply to: [Cache Enabler] no client caching response headers were detectedSame problem for me.
Before adopting Cache Enabler, I used WP Super Cache and this message never appeared.
I’using using Cache Enabler with Elementor page builder and Autoptimize plugin.
Thanks.- This reply was modified 2 years ago by dret42.
Forum: Plugins
In reply to: [WP Super Cache] Homepage not cached anymore by pre-loadI also noticed another strange behavior of the pre-load function :
Setting “0” at pre-load intervals, I expect the preload to never expire. But this does not happen and the cache is always cleared every 24 hours.
Forum: Plugins
In reply to: [WP Super Cache] Homepage not cached anymore by pre-loadI disabled the setting you indicated me but the problem persist:
homepage is not cached during pre-caching operation🙁
Forum: Plugins
In reply to: [WP Super Cache] Homepage not cached anymore by pre-loadForum: Plugins
In reply to: [Max Mega Menu] Icons are not visible for not logged users[SOLVED]
I found the origin on the problem: a part of code, in my function.php theme file, blocked some resources (dashicon included).
Caching systems are not involved.Thanks for support!
Forum: Plugins
In reply to: [Max Mega Menu] Icons are not visible for not logged usersAs i wrote before, I disabled all Plugin for performance optimization but situation in still the same.
The only cache system I can’t disable is the one inside my Page Builder Plugin (there’s no way to do).Forum: Plugins
In reply to: [Max Mega Menu] Icons are not visible for not logged usersThe icons come back when I’m logged into wordpress… I tryed to disable the caching modules (both) but seems unusefull.
- This reply was modified 3 years, 2 months ago by dret42.
Forum: Plugins
In reply to: [Max Mega Menu] Icons are not visible for not logged usersI’m using Autoptimize and Wp Super cache (both controlled by Beaver Builder cache system).
