ajtatum
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Lazy Loading Images Randomly BreaksNope, had too many issues with RocketLoader so that’s disabled.
Forum: Plugins
In reply to: [Autoptimize] Lazy Loading Images Randomly BreaksIt’s happened with AO, which is why I started seeking out other lazy loading solutions. I’m actually starting to think it may be something with Cloudflare (I use https://www.ads-software.com/plugins/wp-cloudflare-page-cache/) and a Worker to cache everything. It could be generating a “static” version of the site and on initial load, it wouldn’t have the images. Does that make any sense?
Forum: Plugins
In reply to: [OPcache Manager] Unable to query OPcache status: array_key_exists()In DecaLog, the PHP Backtrace is as follows:
0 do_action_ref_array(
opcm_opcache_stats`, Array)
./wp-cron.php:138
1 WP_Hook->do_action(Array)
./wp-includes/plugin.php:522
2 WP_Hook->apply_filters(, Array)
./wp-includes/class-wp-hook.php:331`Does that help?
Thanks for looking into this so quickly!
Forum: Plugins
In reply to: [Autoptimize] Lazy Loading Images Randomly BreaksNope
@jeffsyl – No, unfortunately I ended up kind of moving away from this plugin and building my own way of sending events via code snippets.
I would have:
add_action(‘gform_after_submission’, ‘send_to_gtm’, 10, 2);And within that function, I’d check for form id and do a sitch statement based on ID. Then I’d have different logic, which actually ended up being the best way to go as I could then pass in hashed information. But it would end up looking like:
window.parent.dataLayer.push({ 'event' : 'tdaContactEvent', 'tdaEventDetails': { 'eventName' : 'Generated Lead', 'eventCategory' : 'Form', 'eventAction': 'Contacted', 'eventLabel': 'AJ Tatum Digital', 'eventValue': 0, 'eventData': data } });
Where “data” looked like:
var data = { 'formId': 3, 'formName': 'Newsletter Form', 'firstName': '<?php echo esc_js(rgar($entry, '3.1', '')); ?>', 'hashedFirstName': '<?php echo hash('sha256', esc_js(rgar($entry, '3.1', ''))); ?>', 'lastName':'<?php echo esc_js(rgar($entry, '3.2', '')); ?>', 'hashedLastName': '<?php echo hash('sha256', esc_js(rgar($entry, '3.2', ''))); ?>', 'email': '<?php echo esc_js(rgar($entry, '3', '')); ?>', 'hashedEmail': '<?php echo hash('sha256', esc_js(rgar($entry, '3', ''))); ?>', 'businessName': '<?php echo esc_js(rgar($entry, '7', '')); ?>', 'conversionType': 'Subscriber', 'eventTime': <?php echo $eventTime ?> };
So, for now I went into PostmanSendGridMailEngine.php and disabled the lines that try to add CC addresses.
$ccEmails = array(); //foreach ( ( array ) $message->getCcRecipients() as $recipient ) { // if ( ! in_array( $recipient->getEmail(), $duplicates ) ) { // $recipient->log($this->logger, 'Cc'); // $ccEmails[] = new \SendGrid\Mail\Cc($recipient->getEmail(), $recipient->getName()); // $duplicates[] = $recipient->getEmail(); // } //} $email->addCcs($ccEmails);
AJAX is loading and there are no JavaScript errors. Is there an email address or other means of contacting you so I can send you the debug session of Google Tag Manager so you can see?
- This reply was modified 3 years, 7 months ago by ajtatum.
Hi, this plugin caught my eye as an AWESOME alternative to Google Tag Manager for WordPress, but since it inserts the Google Analytics code it’s not a viable alternative even though I could capture so much more data!
I tried it with your original code and it still doesn’t trigger. I have no idea why…
I was about to post this issue as well. Any time frame when/if we can see this in an upcoming release?
Thanks,
AJForum: Fixing WordPress
In reply to: Custom Image Sizes Aren’t Showing Up In Default EditorIt turned out I had to use their regenerate thumbnails plugin to do the new image sizes and then run the optimizer to optimize the new thumbnails and now all is good in the world! ??
Forum: Fixing WordPress
In reply to: Custom Image Sizes Aren’t Showing Up In Default EditorSo, I uploaded a new image and the image size showed up in the dropdown list! I use ShortPixel to generate thumbnails, so I went to an image and did “regenerate thumbnails” and then went back to the post with the image and, unfortunately, the image sizes didn’t show the new options.
Would this be an issue with ShortPixel then?
Forum: Plugins
In reply to: [Autoptimize] Issue with BasePress Knowledge Base SearchI contacted BasePress and they of course said there was a plugin conflict. Check out this screenshot: https://imgur.com/oPZhV55
The problem doesn’t seem to go away with WP Rocket.
Forum: Plugins
In reply to: [Autoptimize] Image lazy load breaks on mobile devicesJust sent you a DM on Twitter and will eventually send you a URL. Sorry, don’t want to share the staging URL publicly. Thanks for looking into this.
Forum: Plugins
In reply to: [Autoptimize] Image lazy load breaks on mobile devicesI’ve been meaning to create a staging site for some time, I’ll see if I can get to that. Otherwise, let me know when you’re free!