Recent Posts

Loading Weather Conditions into Google Analytics

Filed in Analytics by on January 15, 2014

All credit belongs to Simo for this post http://www.simoahava.com/web-development/universal-analytics-weather-custom-dimension/

This code is implementable through Google Tag Manager, if you want to implement it straight on your site just let me know.

I took Simo’s work and modified it to work with wunderground API since I was having issues with open weather. A couple really cool notes about the WUnderground API is that you’re able to utilize a lot of different options for data.

 Javascript |  copy code |? 
01
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
02
<script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script>
03
<script>
04
  <!--DVFMTSC-->var lat = geoip_latitude();
05
  var lon = geoip_longitude();
06
  var weather = "";
07
  var weatherAPI = "http://api.wunderground.com/api/f9cd393f5c0298a3/geolookup/conditions/q/"+lat+","+lon+".json";
08
 
09
  $.ajax({
10
    type : "POST",
11
    dataType : "jsonp",
12
    url : weatherAPI,
13
    async : true,
14
    success : function(data) {
15
      weather = data['current_observation']['weather'];
16
      dataLayer.push({"weather": weather});
17
      dataLayer.push({"event": "weatherDone"});
18
    },
19
    error : function(errorData) {
20
      console.log("Error while getting weather data :: "+errorData.status);
21
    }
22
  });
23
</script>

Google Analytics Ecommerce for Yahoo Store Using Google Tag Manager

Filed in Analytics by on October 18, 2013

 Javascript |  copy code |? 
01
// Create the array for the products
02
gtm_products = []; 
03
 
04
// Look through items and push each product into the array created above
05
for (var i = 0; i < items.length; i++) {
06
gtm_products.push({ 
07
'name': items[i], 
08
'sku': ids[i], 
09
'category': 'Category', 
10
'price': price[i], 
11
'quantity': qtys[i] 
12
}); }
13
 
14
 
15
// Push the necessary elements from local variables to the datalayer
16
dataLayer.push({ 
17
'event': 'trackTrans', 
18
'transactionId': orderNum, 
19
'transactionAffiliation': 'MicroGroupStore', 
20
'transactionTotal': orderTotal, 
21
'transactionTax': orderTax, 
22
'transactionShipping': orderShipping, 
23
'transactionPaymentType': 'Unknown', 
24
'transactionCurrency': 'USD', 
25
'transactionPromoCode': '', 
26
'transactionProducts': gtm_products 
27
});
28

How Do I Stop Getting [Facebook Application] Invites?

Filed in Social Media by on July 24, 2013

Matt! Help me block Facebook application invites!

Whether you are a recovering Candy Crush addict or just tired of getting invites to a specific Facebook application there is an easy way. No, it’s not to unfriend anyone that sends you an invite (although, you could do this… but that’s mean!)

This requires that you use the web interface, sorry folks, but Facebook hasn’t added App blocking to their mobile apps yet!

 

Click on the little Lock and Lines icon next to your name and then click “See More Settings”

Privacy Settings

Click on “Blocking”

Privacy Blocking

Scroll to the bottom and find the spot to “Block Apps” and start typing in the offending App Name

Block Candy Crush

 

That’s it!

A quick, note, this page is the same place you can block app invites from your friends… no longer do you need to pester them to stop sending you invites, you can just block App Invites from them and remain friends!

Keeping Up to Date with a Facebook Page

Filed in Social Media by on July 18, 2013

I’ve been busy lately, very busy. I’m working on a guest blog entry for Exact Target and client work has me running around. However, I feel I’ve neglected you, so I’m sharing a quick tip on how to stay updated with a page on Facebook when you truly want to see everything.

Facebook EdgeRank determines what posts you see from a Facebook page. Long story short, the more engaged you are with a page the more likely you are to see updates (but there’s no guarantee), Facebook is trying to do you a favor by suppressing the noise, but what if you want to see EVERYTHING a page posts? unless you follow these 3 steps.
Step 1: Navigate to the Facebook page and clicks on the Like button
Step 2: Click on Settings in the dropdown

Step1

 

 

 

 

 

 

Step 3: Change the option to “All Updates”

Step2

 

 

 

 

 

 

That’s it, now you’ll see everything that page posts. You can do the same thing with people in your news feed too.

My Experience with Twitter Advanced Advertising & Twitter Analytics!

Filed in Analytics, Social Media by on April 1, 2013

I received a $50 credit to play around with Twitter Advertising so I figured I’d give it a shot. Instead of using the basic ad interface I switched to advanced Ads because it opens the door to a ton of features and reporting not available in the basic.

Naturally, since I’m not selling any products, I figured I’d just promote my account. Here’s some of the interesting screenshots. Note, I’m a contributor to Web Analytics World, and a lot of what I write/tweet about involves search engines… so that explains why I chose the 2 accounts to target.

Also note, because some of the folks that follow me are friends/family or just people I’ve met, I chose not to target people like my followers.

Twitter-AdvancedAds-Users

The impression graph is pretty interesting, comparing that and the follow graph (not attached because it’s only 7 followers), the first thing I’d do is start dayparting my advertising to hit the most relevant times of days to get followers… but Twitter doesn’t have that option, yet.

Twitter-AdvancedAds-Impressions

This section of the reporting is pretty interesting, you get a sense of what interests people are in, I chose NOT to target by interest because I felt people that followed the 2 accounts was enough targeting for me.

Twitter-AdvancedAds-Interests

I’m really loving the advanced advertising dashboard in Twitter… but the real reason to switch to advanced? Analytics!

Check this out! This shows engagement by post… not just promoted posts! Look at the second tweet… it tells you how many clicks that link had… this is EXCELLENT if you want to measure clickthrough on Twitter, even without using UTM tracking on your own website…. and obviously if you’re linking to another site you can finally know how many people clicked without having to go out to Bit.ly (you are using a link shorterner right?… right?!)

Twitter-AdvancedAds-TimelineAnalytics

Hey, what about other people that post links to my website?! Well they’ve got you covered! Just add a small line of code to your header to confirm you’re the owner (no different that Google Webmaster tools) and voila, you get an awesome graph showing anyone that linked to your site in their Tweet.

Twitter-AdvancedAds-WebsiteAnalytics

That’s it! Enjoy it folks!

“Social” as Dimension or a Medium in Google Analytics

Filed in Analytics, Social Media by on March 13, 2013

I’ve been working on a blog entry on webanalyticsworld.net (I was recently accepted as an author and I’m ecstatic to write for such a great website) and the publisher made a comment about my suggestion of using “Medium” as Social. This reminded me of a new-ish dimension in Google Analytics labeled Social, with the option of “Yes/No”.

 

MAdotcomSocialinGa1

 

 

You probably aren’t familiar with this… no, not because I’m being a hipster…you probably aren’t familiar with this because this dimension only exists within Multi-Channel Funnels…

MAdotcomSocialinGaHipster

 

Now take a moment and put down the pitchforks. First and foremost “Social” as a dimension isn’t defined in the help files, so the best I can tell it uses some logic mostly looking at referrer and comparing it to a list of known social sites. As fast as Google is at making updates… I always advise people. Where possible, define as much as possible yourself… so my advice of using Traffic Source/Medium is solid.

You can read more about social tracking at Web Analytics World.

A Couple Watch-outs: Analytics implementation for site relaunch

Filed in Analytics by on March 1, 2013 0 Comments

So you’re moving to a new domain/fancy shmancy site and you’ve got all your links documented for your 301s, you’ve dotted your i’s and crossed your t’s and you’re ready to just move everything over, including your Google Analytics code… and in 2 months someone (assuming anyone checks your analytics) is going to ask you where all their traffic went to the #1 page.

Aside from just pointing to the relaunch and saying, “we moved the site, compare Page 1 with Page A from here on out” how about some useful tips or ideas for implementing analytics for the new site?

  • Don’t try to do a 1:1 mapping for pages by name

Your first instinct might be to just change “Locations” on the new site to “Contact Us” from the old site so your analytics matches up. Be careful when you look at this, does the page cater to a different audience? Is the content different?

  • Do thoughtfully consider your naming
  • Do Remember your Goals

Now that you’ve named your pages and events properly remember your goals. If your new site consolidates 10 different “Quote Product1″, “Quote Product2″, “Quote ProductZ” page into one awesome “Quote Now” page with a selected product on the page ensure that your goals are properly setup. In some cases this is just a matter of using regex on your goal “globalquote.*” Remember that your goals don’t get repopulated, so if the old pages are completely gone then don’t worry about making sure your goals accommodate old pages.

Marketing to the Right People at the Right Time with Retargeting

Filed in Analytics, SEM by on February 28, 2013

Facebook Recommends Liking a Page

Filed in Social Media by on February 15, 2013 0 Comments

 

I love this song, not going to hide it, there now that that’s out of the way let’s look at the arrow.

When I liked the post my cousin made I was immediately presented with a small callout (unfortunately I closed it by instinct before I could screenshot). When you post something on Facebook and they are able to determine the applicable page it seems they are not recommending liking the page itself.

Pretty nice feature for Brands, I don’t have enough details yet if it will work this way, but previously it was a little more difficult to leverage product and page likes because the like would get attributed to the person who posted it.

This gives brands a strong justification to implement like/share buttons.

If you see this in the world, or know more about the rollout schedule comment and let me know!

FacebookLikePage

Starting the journey to social media ROI reporting

Filed in Analytics, Social Media by on February 12, 2013 0 Comments

Social ROI is always a hot topic in organizations and while some of us are fortunate to work with executives that get it and don’t require daily numbers on sales and ROI, but not everyone is not that lucky. Using a bit of pre-planning and organization you can get your social impact pretty easily using nothing more than Google Analytics.

The first step of measuring online attribution is ensuring that you have proper URL tagging in play. You can do that manually or using Google’s URL builder. You can go as detailed as you like for campaign source and campaign name, but ensure that you use “Social” as the medium. I’ve included an example below, the highlighted URL is what you’ll want to post (or put into a shortener).

GA Url Builder

 

GA Realtime 1Now is the fun part! Once you’ve posted that message you can immediately go into Google Analytics real time report for traffic sources and, depending on your audience size, see the visitors coming in from your social post. In the example below I filtered to only show social.

GA Realtime 2

So now you’re at the end of the month and it’s time to do your monthly report showing sales by traffic source. Keeping in mind social is not frequently a last touch for a sale you’ll want to show overall impact from social media. I’ve included a screenshot of how to get to this report.

GA Multi Channel 1

The revenue numbers on this page should be close to your internal reports for revenue in the month (obviously exact if you solely use Google Analytics). Really you want to apply a filter to only show social, suddenly your numbers will change to show only revenue conversions that had a touch point in social media. As you can see in the second screenshot, social had early touch points in  revenue.

Filtering Multi Channel

GA Multi Channel 3

Tada! Now you have a number you can use to benchmark and continuously report on your social media ROI. And this is only the beginning of your journey. If you’re interested in learning more about the work I do, you can take a look at our social media offering at Precision Dialogue.

 

shared on wplocker.com