Drupal Google Analytics Advanced Configuration

I recently had to set up a Google Tag Manger container on a development environment to evaluate how refactoring JavaScript used for third party advertisements would improve performance. To grasp the full scale of the improvement, some tags, triggers, and variables from Google Tag Manager would not be required and in fact were conflicting with…

Read More

So this you might have been able to figure this out if you read my post on how to account for an IF statement that might have undefined variables but I had a situation where I wanted to check if an Array DID NOT INCLUDE a value in an IF statement to determine if I completed…

Read More

I was looking for a way to replace a common pattern in a URL path and maintain the ID specific integer in the string. I tried a few various options on stack overflow but I kept having the number before .pdf replaced. This regex statement finally worked. Sample Value: http://www.example.com/directory/abc_abc_pre11_6.pdf Desired Value: http://www.example.com/directory/abc_abc_pre11P6.pdf Regex Statement:…

Read More
User at desk with Shopify Admin Open

I was using Google Tag Manager and custom event tracking to track time on site and was noticing a console error ReferenceError: datalayer is not defined – after investigating I found a good summary on how to use the data layer from Lunametrics. Here is how I changed the Custom HTML tag to resolve the…

Read More
GOOGLE ANALYTICS FOR SHOPIFY OWNERS

The most successful Shopify store owners use data to inform their long term decision making process – and validate success or failure. I get it – Google Analytics and eCommerce reporting can be overwhelming. What’s more overwhelming is that If you aren’t diving in to Google Analytics at least once a month – you’re missing…

Read More

You can learn a lot about your users when you track shopify search terms using Google Analytics. You can better inform your site navigation and segment the searches by device or term to see if you aren’t providing information to users in certain contexts. Your website’s navigation is important and while lots of customers will…

Read More

Track Average Engagement time using Google Tag Manager to better understand active time a user is on a page or website. These days customers may find your site or product and keep a tab open for hours in between other tasks while spending. This visit is recorded in Google Analytics and the time where the user is…

Read More
User at desk with Shopify Admin Open

If you have a website or page that embeds multiple podcasts or audio files on a single page – you’ll want to Track Audio Using Google Analytics like plays, pauses, and completions. Background:  I encountered a request to track the number of audio plays on a website. I’d prefer to track this using Google Tag…

Read More

Mailchimp has lots of great features for content creators. One feature I recently used was an RSS feed that passes content for specific categories rom specific categories to Mailchimp AND include the featured image in the RSS feed. I accomplished this by including the featured image in the RSS feed by updating functions.php. Best practice…

Read More

I was talking with a friend who was beginner to transition from Project Management to Web Development. I started to talk about all the great resources that were out there to level up when you are starting out. Here is a list of my favorite resources – Take a look! 1. Learn to Code With Me…

Read More