Simple Ways to Evaluate the Results of Your Strategy in Social Networks
Simple Ways to Evaluate the Results of Your Strategy in Social Networks
How effective is your strategy on social networks? Is it possible for you to analyze the results of your work on social networks and determine how it affects your earnings?
Because marketing in social networks is a very important part of any effort you make in the area of marketing, you must find a way to measure your results in social networks so that you can evaluate whether the time and…
If you perform Internet marketing functions for enough clients, you’re bound to run across this problem at one point or another.
Below are several ways to track these conversions along with examples.
1. Analytics Event Tracking
Event Tracking is a fairly powerful and very underutilized function in Google Analytics that allows you to track things like button clicks, video plays, or file downloads. Event tracking makes a call to ga.js in order to notate non-pageview items on your website. The results will show up in the “Events” reports under the “Content” section of Google Analytics. You can also define an event as a goal. For our purposes, we want to track people who press the “Submit” button on the lead form.
In this example, we only need to focus on the “Submit” button in the code. Below is a generic example of such a button.
To add event tracking to this button, we’ll need a minimum of 3 basic elements:
the _trackEvent function
An event category (a grouping that you determine for the event, i.e. “lead forms”)
An event action (what the user is doing to trigger the event, i.e. “submit”)
Labels (additional information you want to provide about the event) and values (similar to a goal value) can also be added but are not required. We’ll omit them for simplicity.
After adding that information, here is how our new code should look:
Please note that this is not a perfect solution. If a user clicks the “Submit” button more than once, the event may be duplicated. Also, if somebody does not fill out the form in its entirety and receives an error upon submitting, it will still track as an event even if they do not go back and complete the form. If you have some sort of form validation in place, you can modify the code to only run if the submission was successful but that will vary by the type of form you’re using.
2. Analytics On-Click Virtual Pageviews
The _trackPageview function is another call to ga.js that allows you to artificially generate a pageview when an actual pageview does not take place. This is quite useful for many of the same reasons as Event Tracking, and has the added benefit of showing up as a pageview in your content reports. For example, if you have an AJAX shopping cart, you can use this function to tell which step of the checkout a user abandons. This is also common if you have PDFs on your site for sales info, forms, restaurant menus, etc. Virtual pageviews can also be turned into goals, just like a standard pageview goal.
For this tracking function, let’s assume your checkout is all on one page but requires users to click “continue” to reach separate sections. Below is the existing code example:
(user clicks that button, and then, the following div loads)
<div id=”checkout-step-payment”>
With virtual pageviews, we only need to create the call to _trackPageview and provide the naming convention for the virtual URL. There are numerous ways to call these actions but we’ll use an onclick event to do so here. Below is the modified example:
In this example, the semi-colon at the end of the existing onclick event is important so the browser knows to look for additional items when the button is clicked.
3. Conversion Code in a div that Loads after Submission.
In many forms, the user is greeted with a “thank you” message that appears on the page upon hitting submit but the URL does not change. Generally, this type of response is called by PHP and the specifics of it can vary by the type of form you’re using. However, if your site is developed in PHP, there’s a good chance your form page will have a section like the one below:
<?php if ( $success ) echo “<p>Thanks for sending your message! We’ll get back to you shortly.</p>” ?>
This is your opportunity to add your AdWords / AdCenter tracking code. Simply paste the code you get from the PPC channel into the response message and it will appear after a user successfully submits your form. Even though this is pretty straightforward, I have an example below (please substitute with your own PPC conversion code or this won’t work).
<?php if ( $success ) echo “<p>Thanks for sending your message! We’ll get back to you shortly. <!– Google Code for Conversion Page –>
<script type=”text/javascript”>
/* <![CDATA[ */
var google_conversion_id = xxxxxxxxxx;
var google_conversion_language = “en”;
var google_conversion_format = “2”;
var google_conversion_color = “ffffff”;
var google_conversion_label = “xxxxxxxxxx”;
var google_conversion_value = 0;
/* ]]> */
</script>
<script type=”text/javascript” src=”http://www.googleadservices.com/pagead/conversion.js”>
</script>
<noscript>
<div style=”display:inline;”>
<img height=”1″ width=”1″ style=”border-style:none;” alt=”” src=”http://www.googleadservices.com/pagead/conversion/xxxxxxxxxx/?label=xxxxxxxxxx&guid=ON&script=0″/>
</div>
</noscript>
</p>” ?>
4. On-Click Conversions with Call Tracking
This fairly new feature of AdWords allows you to track click-to-call actions on your website as conversions. This is great for mobile traffic or desktop users that have Skype (or a similar VOIP solution) installed. When you create a new conversion in AdWords, you’ll now see a new option.
The conversion code is below, and has a few key differences from a standard conversion.
<!– Google Code for Phone Call Conversion Page
In your html page, add the snippet and call
goog_report_conversion when someone clicks on the
phone number link or button. –>
<script type=”text/javascript”>
/* <![CDATA[ */
goog_snippet_vars = function() {
var w = window;
w.google_conversion_id = xxxxxxxxxx;
w.google_conversion_label = “xxxxxxxxxx”;
w.google_conversion_value = 0;
}
// DO NOT CHANGE THE CODE BELOW.
goog_report_conversion = function(url) {
goog_snippet_vars();
window.google_conversion_format = “3”;
window.google_is_call = true;
var opt = new Object();
opt.onload_callback = function() {
if (typeof(url) != ‘undefined’) {
window.location = url;
}
}
var conv_handler = window[‘google_trackConversion’];
if (typeof(conv_handler) == ‘function’) {
conv_handler(opt);
}
}
/* ]]> */
</script>
<script type=”text/javascript”
src=”http://www.googleadservices.com/pagead/conversion_async.js”>
</script>
For one, it’s all javascript. Due to the nature of this conversion type, there is no way a script-free pixel can fire so users must have javascript enabled.
Beyond that, you need to have some extra code to make this conversion type work. The code above goes on any page with your phone number listed. To activate the conversion (and initiate the phone call), you need some extra code. Below is the most common example, a text phone number:
The action in the “onclick” section tells the conversion script to run and for your phone to start dialing. It’s quite simple to implement and very valuable for companies that receive a lot of phone leads.