- This topic has 7 replies, 4 voices, and was last updated 3 years, 8 months ago by
David.
-
AuthorPosts
-
July 16, 2022 at 7:54 am #2284551
Jesse
Hello,
I have the Mediavine Grow widget enabled on my site. When you visit my site there is a small heart icon and social share button in the bottom right-hand corner. The buttons are unresponsive on mobile when you tap them. You have to double-tap them very quickly in order to get them to work. In my case, I’m using an iPhone with the Safari browser.
However, as soon as I disable the GP Premium plugin, the Mediavine Grow buttons work normally (i.e., you don’t have to double tap for them to work). What would be causing this to happen? Obviously, I need to have GP Premium enabled, so I’m stuck!
Best regards,
JesseJuly 16, 2022 at 11:05 am #2284649Ying
StaffCustomer SupportHi Jesse,
Can you try activating the GP premium plugin, then go to appearance > GeneartePress, and disable all its premium modules.
If that works, try to activate the modules one at a time to see which one is causing it?
I would recommend disabling your cache plugin when trying to debug.
July 17, 2022 at 7:14 am #2285156Jesse
Hello Ying,
Good idea! I followed your advice and narrowed it down to the “Elements” module. From there, I narrowed it down to a site-wide hook that I added a while back to address an issue with WP Rocket.
When “Delay JavaScript execution” in WP Rocket is turned on, and using Safari on iOS, the first click doesn’t register. For example, if the user’s first click is on a link, nothing will happen when they initially tap the link. They need to tap it a 2nd time for it to work. WP Rocket suggested this fix which involves adding the FastClick library to my header, which I did by adding a hook in the Elements module.
Once I disabled that hook, the issue with the Mediavine Grow widget resolved and is working normally now. However, with the FastClick fix removed, the other double tap issue returned. Fortunately, there is a newer fix for that issue mentioned in that same GitHub thread here. This fix involves adding a “fakeuserinteraction” script to the footer, which I did by creating a new hook, and it fixed the original double tap issue while also not conflicting with the Mediavina Grow widget.
So all seems to be working normally now, but I wanted to ask if you could please take a look at that “fakeuserinteraction” script posted here and tell me if you think it could have a negative impact on my SEO at all? It’s sounds kind of black hat.
Best regards,
JesseJuly 17, 2022 at 10:06 am #2285383David
StaffCustomer SupportHi there,
that scripts looks to be simply ‘triggering’ a fake touch when the site loads on iOS devices.
The only repercussions i see is it effectively disables the Delay JS that is causing the issue to begin with. So on iOS all scripts will load as normal….September 12, 2022 at 9:46 pm #2341176John
WP Rocket needs to address this issue (or hope that GP can fix this as it affects their GP Premium product). There are so many instances of double tap/double click issues and I’m sure it’s frustrating the user experience on each page load.
September 13, 2022 at 3:17 am #2341414David
StaffCustomer SupportFor general info, here is WP Rockets docs on compatibility issues:
https://docs.wp-rocket.me/article/1560-delay-javascript-execution-compatibility-exclusions
And here is their recommendations on which scripts to exclude from GP.
Reading the GitIssue on this matter, it looks as though WP Rocket has yet to find a fix for it.
September 13, 2022 at 5:18 am #2341508Jesse
The fix mentioned here has been working great for me to address the double tap issue on iOS and without conflicting with anything else. Everything on my site is working great and the site is blazing fast.
September 13, 2022 at 5:41 am #2341536David
StaffCustomer SupportThanks for confirming that Jesse !
-
AuthorPosts
- You must be logged in to reply to this topic.