Improving ROI through Website Analytics and Search & Conversion Marketing
Use these statistical testing tools to analyze your ppc split tests, conversion marketing tests, estimate sample sizes, and more
Contact Us | Careers | Client Login | Social Responsibility | Blog
WebShare Search and Conversion Marketing, Google Consulting Services Logo
Website Analytics
Conversion Marketing
Search Marketing
PPC Management
Website Design
eCRM & E-mail Marketing
Training
Google Consulting Services
Your website has never before meant more to your bottom line. Make sure you're getting the most out of your online investment through advanced website analytics, search and conversion marketing, usability and website design, traffic acquisition strategies and online advertising management with WebShare, LLC.
Website Analytics are crucial to the measurement and improvement of your website. WebShare can help you define your online success metrics and track how visitors get to your site, what they do while they're there, how they're monetized or converted into customers, and how they eventually leave.
Your website is perhaps the most effective testing ground you'll find for understanding how your marketing messages resonate with your customers. Through statistical experimentation, very small changes to the elements on your pages can have a profound impact on your conversion rates and your bottom line.
Leveraging the power of search as a traffic acquisition strategy can help drive highly targeted, qualifed traffic to the most relevant pages of your website. WebShare helps clients understand how search engines can attract new customers and creates customized programs that fit the specific needs and goals of client websites.
Using Google Adwords, Yahoo! Search Marketing, MSN adCenter, or any other paid advertising campaigns? If so, you need to make sure you're managing these programs correctly. From fully outsourced management to training programs, WebShare helps you manage your online advertising to profitability metrics.
WebShare's wealth of experience in conversion and usability testing and search engine optimization is key to the website design and deployment services we offer. We build websites that ensure your potential customers not only find you, but have an experience that contributes to your goals and financial success.
If you're managing your online marketing programs in-house, WebShare's training programs can help you understand, manage, and improve upon topics ranging from website analytics and statistical conversion testing to search marketing and online advertising campaign management.
WebShare is a Google Analytics Authorized Consultancy, a Google Website Optimizer Authorized Consultancy, and a Google Adwords Qualified Company. Let our experts help you get the most out of the Google programs and services that drive your business - and your bottom line.
Leveraging your CRM data to drive traffic and conversions on your website can open up new doors to your online strategies. From eCRM integration solutions to Email marketing campaign management, WebShare can help make the most of your customer relationships.

WebShare Blog
WebShare's Search and Conversion Marketing Blog - Blog posts about website analytics, search and conversion marketing and more from a Google consulting services firm
Most Recent Posts:

Search & Conversion Marketing Blog Categories:

Search & Conversion Marketing Blog Archives:

Search & Conversion Marketing Blog
Search & Conversion Marketing Newsletter
Get Our Feed (RSS)

Enabling cross domain tracking with unsupported navigation - Part 3

This is a 3 part series on cross domain tracking with Google Analytics in non-standard situations:

  1. Part 1
  2. Part 2
  3. Part 3

In this final of our three part series, we’re going to look at adding the Google Analytics query string parameters used to accomplish cross domain tracking to other variables we may be passing.

If we want to append additional query string variables to the end of our destination URL string we might try something along the lines of the following:

<code>
function redirectFunction()
{
window.location.replace(GoogleAnalyticsCookieAppend('http://www.xxx.yyy/
RedirectTarget.html?mookie=pookie'));
}
</code>

If we do this, it’s possible that we might also notice that our cookie passing solution no longer works.

Uh-oh.

If you find yourself in this situation, it might be because of this:

<code>
http://www.xxx.yyy/RedirectTarget.html?mookie=pookie#__utma=
1.283748562613819500.1212185562.1212185562.1212189988.2&__utmb=
-&__utmc=1&__utmx=-&__utmz=1.1212185562.1.1.utmcsr=
(direct)|utmccn=(direct)|utmcmd=(none)&__utmv=-&__utmk=100666753
</code>

The Google query string parameters were appended at the end of our query string, but with a “#” separator. Not exactly what we were expecting.

A cheap, quick and dirty fix is obvious: replace the “#” with a “&” and be on our way. But keep in mind that a simple replacement may create a problem with existing query string variables if being built dynamically, since we must have a “?” to start the query string parameters and must separate them with a “&” in a URL.

One solution is to extract the existing query string variables first, then call the GA function, then deal with the #/?/& issue,  and then append the old variables at the end.  We update our function to take care of this below:

<code>
function GoogleAnalyticsCookieAppend(uri)
{
//grab existing query string variables
var queryStringIndex = uri.indexOf('?');
var queryString =(queryStringIndex == -1) ? "" : uri.slice(queryStringIndex+1);
var myURI = (queryStringIndex == -1) ? uri : uri.slice(0, queryStringIndex-1);
//Use the Google Analytics function to get GA variables
var c = pageTracker._getLinkerUrl(myURI, window);
//Explicitly check in case GA is using #
c = c.replace("#", "?");
alert(c);
//reappend querystring variables
c += "&"+ queryString;
return c;
}
</code>

And that’s it for this mini-series on exploring the ins and outs of Google Analytics with non-standard tracking across top level domains.  Happy Google Analytics-ing!

Go to Part 1 or Part 2

    Leave a Reply