-
Google Analytics 4 (GA4) does not track UTM Parameters
If you trying to track UTM parameters with Google Analytics 4 and GA4 doesn’t track them then it may be happening due to many reasons. I was working on a project in which I was supposed to track UTM parameters in GA4 for which usually we don’t need to do anything. I looked into the…
-
HubSpot Form Conversion Tracking with Google Tag Manager
Note: Here we are going to talk about HubSpot Form Conversion Tracking only if your form is not set to redirect to a page after the successful form submission. If your HubSpot form redirects to a page then this article doesn’t apply to your case. I had a case where my client wanted me to…
-
Create Downloadable CSV File with Ajax Call in WordPress wp-admin page
Recently I was tasked to create add a button to a page in wp-admin which when clicked will create a downloadable csv file and start downloading it. The page in wp-admin was created with Advanced Custom Fields Pro (ACF). Since ACF doesn’t have field for simple button input type so I created one with ACF…
-
Changing starting and ending tags of the products loop in main shop page of a WooCommerce theme
The default starting and ending tags of the loop in main shop page of a WooCommerce theme are <ul class=”products”> and </ul>. Changing starting and ending tags might be needed due to various reasons. Lets say you have customized the content-product.php file of WooCommerce and have added some divs inside the <li> tag which is…
-
How to Exclude Categories From Default WordPress Loop
Recently I was working on a gym WordPress website and I needed to exclude WODs category from the default WordPress loop. The reason of this requirement was that my client wanted to get the WODs from Wodify service which would push daily WODs to a specific category of posts type post. But this lead to…