Monthly Archives: April 2022

AWS – How to fix sending email on whm cpanel

Default WHM email sending will fail. Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed #2061 You need to update setting WHM under Home »Server Configuration »Tweak Settings »Mail. Then the option Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak) was set to Off.

How to add ecommerce tracking with gtag in magento order success

Every merchant wants to track their sales in google analytics. Currently google have changed google analytics (GA) to google tag manager(GTag). If you use gtm.js as your Google Analytics tag and you have Ecommerce reporting enabled, you can measure ecommerce transactions. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’: new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src= ‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f); })(window,document,’script’,’dataLayer’,'{your-gtm-id}’);</script>   To measure a transaction, send a purchase event… Read More »