-
AuthorPosts
-
December 16, 2019 at 3:45 pm #1166457
Hello,
In the Cookie Modal there is a tab called “Statistik mit Matomo”
There is a Iframe for the opt-out but it does not show.
Why?Danny
December 18, 2019 at 3:20 am #1167073Hey Flugtraeumer,
Thank you for the update.
Try to replace the protocol in the iframe src attribute from http to https.
Blocked loading mixed active content “http://piwik.flugtraeumer.de/index.php?module=CoreAdminHome&…anguage=de&backgroundColor=&fontColor=&fontSize=&fontFamily=”Blocked loading mixed active content “http://piwik.flugtraeumer.de/index.php?module=CoreAdminHome&…anguage=de&backgroundColor=&fontColor=&fontSize=&fontFamily=”
It doesn’t display because it’s being blocked as shown in the error above.
Best regards,
IsmaelJanuary 31, 2020 at 7:31 pm #1180369I updated it last week and the iframe is visible now,,,,BUT….
It seems as if the cookie-modal blocks the tracking.
Please see this….the date i setted up the cookie modal matches exactly with the date matomo stopped tracking:
https://flugtraeumer.de/temp/visits.jpgDanny
February 2, 2020 at 6:50 am #1180607Hi,
Thanks for the update. First off, could you try updating the theme to the latest version (4.7.2) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Also, this might be related to the other problem you were having with replaced http/https strings in the database. I would suggest that you try to get that fixed first.
Best regards,
RikardFebruary 2, 2020 at 6:47 pm #1180692Like i alrady said in my other post:
I dont want to be “supported” by you anymore.
Please skip my threads in the future!for @yigit
Although we use Auto-Update the Updater says:Theme Updates
No Updates available. You are running the latest version! (4.6.3.1)So we found another issue?
Danny
February 3, 2020 at 3:07 pm #1180941Hey,
Could you please contact your hosting provider and ask them to whitelist api.envato.com. They might be blocking it for security reasons.
Another user who was having the same issue contacted their hosting provider and replied:
our hoster has updated the Linux distribution of the server.
The cause of the problem was probably the incompatibilities of the versions of OpenSSL with cURL.Now the token API works :-)
This happens when there is connection issue between your host and Envato API. This is not related to Enfold, it is related to server settings.
Regards,
YigitFebruary 3, 2020 at 3:09 pm #1180942Hi,
Thank you for the update.
Another tab opens and closes automatically whenever we toggle the checkbox in the “Statistik mit Matomo” tab. Is that how it’s supposed to work? Is that the iframe ?
Best regards,
IsmaelMarch 11, 2020 at 2:49 pm #1192301March 16, 2020 at 4:12 am #1193373Hi,
A “piwik” tab opens whenever we tick the checkbox in the “Statistik mit Matomo” tab. Is that how it’s supposed to work?
Best regards,
IsmaelMay 13, 2020 at 12:51 pm #1212598There is NO TAB that opens when you tick!!
Its an absolutely normal behaviour:
[video src="https://flugtraeumer.de/temp/cookie-matomo.mp4" /]May 13, 2020 at 3:42 pm #1212640Hi,
It is actually visible in your screencast as well. Please see my screenshot in private content field and note the link in address bar. You can see that it happens each time you check/uncheck the option.
Also, it seems like your Matomo cookie was set with “SameSite=None” but missing “Secure” attribute. Please see – https://web.dev/samesite-cookies-explained/#samesitenone-must-be-secure
Best regards,
YigitMay 19, 2020 at 7:35 pm #1214408Yes, its the URL that changes for a split of a second but there is NO ADDITIONAL TAB, like Ismael stated here:
“A “piwik” tab opens whenever we tick the checkbox in the “Statistik mit Matomo” tab”However…i need to inform users that we track and i need to give users the opportunity to disable tracking prior they surf the site
2: I dont set anything.
The only thing i do is putting the code prevented from matomo in your cookie modal.
The code is this:
<iframe style="border: 0; height: 250px; width: 900px;" src="https://piwik.flugtraeumer.de/index.php?module=CoreAdminHome&action=optOut&language=de&backgroundColor=&fontColor=&fontSize=&fontFamily="></iframe>
The tracking code does not set any cookies at all (by purpose) – see line 3:
<script type="text/javascript"> var _paq = _paq || [] _paq.push(['disableCookies']); // Ab sofort verteilt Matomo keine Kekse (Cookies) mehr _paq.push(['enableHeartBeatTimer', 5]); // Matomo bekommt Herzrasen: Der "Herzschlag" von Matomo wird auf alle 5 Sekunden erhöht _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); function embedTrackingCode() { var u = '//piwik.flugtraeumer.de/'; _paq.push(['setTrackerUrl', u + 'matomo.php']); _paq.push(['setSiteId', '1']); // Bei "X" steht normalerweise die ID der Seite die getrackt werden soll var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0] g.type = 'text/javascript'; g.async = true; g.defer = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s); } setTimeout(function () { embedTrackingCode(); // Die Matomo Tracking Funktion wird ausgeführt }, 5) // Die 5 steht für die Millisekunden anzahl in der die Funktion ausgeführt wird (kann man natürlich beliebig anpassen) </script>
3: If i remove the iframe from your cookie modal the tracking works normal, so the reason for not tracking is somehow connected with your cookie modal
MEANWHILE….
1: I removed the iframe from the cookie modal:
No change, no tracking2: I edited the settings of the tracking code
No change, no tracking3: I made a copy from my website, published it on a testarea, changed the theme:
Tracking worksFor me it looks like the theme blocks the tracking.
MEANWHILE 2:
– I deleted the tracking code of the mataomo-Standalone-Installation
– I installed the Matomo-Plugin
The tracking seems to work – at least i see 3 visitors in the last minutesBut like i said before……the trackingcode works if i install another theme.
So please investigate that cause i dont want to use the plugin since it probably will have effect on our page speedLAST
I checked 5 different themes now and the tracking code works & Matomo tracks.
If i activate Enfold it stops tracking.
So there cant be any doubt that it the issue is theme relatedJuly 22, 2021 at 9:30 pm #1311635hint for: https://kriesi.at/support/topic/problem-with-cookie-modal/#post-1212640
you can solve the samesite cookie message by adding this to your wp-config.php:define( 'WP_SAMESITE_COOKIE', 'Lax' );
you can try strict or none – but for me lax is enough to get rid of that.
and here is a good place for it:
August 4, 2021 at 12:10 pm #1314359 -
AuthorPosts
- The topic ‘Problem with Cookie Modal’ is closed to new replies.