Site logo

Archived topic

GP Premium causing conflict with Mediavine Grow Widget

7 replies · Started by Jesse on July 16, 2022

Viewing posts 1–8 of 8

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,
Jesse

Hi 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.

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,
Jesse

Hi 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....

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.

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.

Thanks for confirming that Jesse !

This archived topic is closed to new replies.