ivanrlio
Forum Replies Created
-
Hey Socialdude,
Sorry I didn’t see your reply (for whatever reason) until Juan messaged.
This screenshot shows that I’m only “sharing” a post (https://snag.gy/Pzrb1D.jpg), and this here shows how I still get the tooltip (https://snag.gy/BHrzcL.jpg).
Any idea why?
Thanks,
IvanHi there,
It turns out that I New Relic (which we use to measure performance) is causing the Javascript issues.
For some reason, none of the methods that I have attempted to resolve the issue have worked. You can see my post on the New Relic forums here: https://discuss.newrelic.com/t/google-amp-user-authored-javascript-found-on-page-critical/46875
If you take a look at twobyfore.com/blog/amp vs. twobyfore.com/blog, you will see the difference in markup.
I just checked the HTML of your mobiletest.me/iphone_5_emulator/amp (via web inspector), and it doesn’t look like it’s being AMP-ed.
- This reply was modified 8 years ago by ivanrlio.
Forum: Plugins
In reply to: [WordPress Social Login] Add Google Analytics onclick tracker to WSL elementsNevermind! Got it using jQuery! For those interested, the code is here:
$(document).ready(function() {
$(‘.wp-social-login-provider-facebook’).on(‘click’, function(){
ga(‘send’, ‘event’, ‘Navigation’, ‘WSL-Facebook’);
});
$(‘.wp-social-login-provider-google’).on(‘click’, function(){
ga(‘send’, ‘event’, ‘Navigation’, ‘WSL-Google’);
});
$(‘.wp-social-login-provider-twitter’).on(‘click’, function(){
ga(‘send’, ‘event’, ‘Navigation’, ‘WSL-Twitter’);
});
});