GoogleServices/Sources/doku/09_gaTrackingTraffic.html

874 lignes
46 KiB
HTML
Brut Vue normale Historique

2011-02-27 00:25:02 +01:00
<!DOCTYPE HTML>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Traffic Sources - Google Analytics - Google Code</title>
<script type="text/javascript"><!--
(function(){function a(){this.t={};this.tick=function(c){this.t[c]=(new Date).getTime()};this.tick("start")}var b=new a;window.jstiming={Timer:a,load:b};if(window.external&&window.external.pageT)window.jstiming.pt=window.external.pageT;})();
var _tocPath_ = '/html/apis/analytics/_toc.ezt';
var codesite_token = '56328469b0a0a7c65c4a395ddd8cde4c';
var logged_in_user_email = 'dan1978@gmx.net';
//--></script>
<link href="09_gaTrackingTraffic-Dateien/codesite.css" type="text/css" rel="stylesheet">
<script src="09_gaTrackingTraffic-Dateien/codesite_head.js" type="text/javascript"></script>
<script type="text/javascript">CODESITE_CSITimer['load'].tick('bhs');</script>
<link rel="search" type="application/opensearchdescription+xml" title="Google Code" href="http://code.google.com/osd.xml">
<!--[if IE]><link rel="stylesheet" type="text/css" href="/css/iehacks.css"><![endif]-->
<link href="09_gaTrackingTraffic-Dateien/semantic_headers.css" rel="stylesheet" type="text/css">
<link href="09_gaTrackingTraffic-Dateien/local_extensions.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="09_gaTrackingTraffic-Dateien/custom_tracker_min.js"></script>
<script src="09_gaTrackingTraffic-Dateien/ga.js" async="" type="text/javascript"></script></head><body class="gc-documentation">
<div id="gb">
<span>
<b>dan1978@gmx.net</b>
|
<a href="http://code.google.com/u/dan1978@gmx.net/" id="projects-dropdown" onclick="return false;"><span style="text-decoration: underline;">My favorites</span> <span style="font-size: 0.75em;"></span></a>
|
<a id="lang-dropdown" href="http://code.google.com/" onclick="return false;"><span style="text-decoration: underline;">English</span> <span style="font-size: 0.75em;"></span></a>
| <a href="http://www.google.com/accounts/Logout?continue=http%3A%2F%2Fcode.google.com%2Fintl%2Fde%2Fapis%2Fanalytics%2Fdocs%2Ftracking%2FgaTrackingTraffic.html" onclick="CODESITE_click('/gb/sc/signout');"><span style="text-decoration: underline;">Sign out</span></a>
</span>
</div>
<div class="gbh" style="left: 0px;"></div>
<div class="gbh" style="right: 0px;"></div>
<div id="gc-container">
<a id="top"></a>
<div id="skipto">
<a href="#gc-pagecontent">Skip to page content</a>
<a href="#gc-toc">Skip to main navigation</a>
</div>
<div id="gc-header">
<div id="logo"><a href="http://code.google.com/">
<img src="09_gaTrackingTraffic-Dateien/code_logo.gif" alt="Google Code" style="border: 0pt none; margin: 3px 0pt 0pt;" height="40" width="167">
</a></div>
<div id="search">
<div id="searchForm">
<form id="cse" action="http://www.google.com/cse" accept-charset="utf-8" onsubmit="executeGSearch(document.getElementById('gsearchInput').value); return false;">
<noscript>
<input type="hidden" name="cref" value="http://code.google.com/cse/googlecode-context.xml">
</noscript>
<div id="gsc-search-box">
<input id="gsearchInput" name="q" maxlength="2048" class="gsc-input" autocomplete="off" title="Google Code Search" style="width: 345px;" type="text">
<div id="cs-searchresults" onclick="event.cancelBubble = true;"></div>
<input title="Search" id="gsearchButton" class="gsc-search-button" name="sa" value="Search" type="submit">
<div class="greytext">e.g. "adwords" or "open source"</div>
</div>
</form>
</div> <!-- end searchForm -->
</div> <!-- end search -->
</div> <!-- end gc-header -->
<div id="codesiteContent">
<a id="gc-topnav-anchor"></a>
<div id="gc-topnav"><img id="gc-star" src="09_gaTrackingTraffic-Dateien/star_off.gif" height="15" width="15">
<h1 class="mozilla">Google Analytics</h1>
<ul id="docs" class="gc-topnav-tabs">
<li id="home_link">
<a href="http://code.google.com/apis/analytics/" title="Google Analytics home page">Home</a>
</li>
<li id="docs_link">
<a href="http://code.google.com/apis/analytics/docs/index.html" class="selected" title="Official Google Analytics documentation">Docs</a>
</li>
<li id="faq_link">
<a href="http://code.google.com/apis/analytics/docs/gdata/gdataFAQ.html" title="Answers to frequently asked questions about Google Analytics">FAQ</a>
</li>
<li id="articles_link">
<a href="http://code.google.com/apis/analytics/docs/gdata/gdataArticlesCode.html" title="Focused articles and tutorials for Google Analytics developers">Articles</a>
</li>
<li>
<a href="http://analytics.blogspot.com/" title="Official Google Analytics blog">Blog</a>
</li>
<li>
<a href="http://code.google.com/apis/analytics/groups/groups.html" title="Google Analytics developer forum">Forum</a>
</li>
<li>
<a href="http://www.google.com/analytics/tos.html" title="Google Analytics terms of service">Terms</a>
</li>
</ul>
</div> <!-- end gc-topnav -->
<div class="g-section g-tpl-210">
<div class="g-unit g-first" id="gc-toc">
<link href="09_gaTrackingTraffic-Dateien/local_extensions.css" rel="stylesheet" type="text/css">
<ul class="treelist tlw-nested-only tlw-processed tlw-instance-0">
<li>
<ul>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Overview"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Overview" class="tlw-control tlw-plus"></a><span class="tlw-title"><strong>Overview</strong></span></div><ul style="display: none;" id="0-sub-0">
<li><a href="http://code.google.com/apis/analytics/docs/concepts/gaConceptsOverview.html">Functional Overview</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/concepts/gaConceptsAccounts.html">Accounts &amp; Profiles</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/concepts/gaConceptsCookies.html">Cookies</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/concepts/gaConceptsDomains.html">Domains &amp; Directories</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/concepts/gaConceptsSampling.html">Sampling</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="dottedLine"></div>
<div class="sectionTitle"><span class="sectionFont">Tracking Code</span></div>
<ul class="treelist tlw-nested-only tlw-processed tlw-instance-1" style="margin-top: -15px;">
<li>
<ul>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/home.html">Home</a></li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Collapse Getting Started"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Collapse Getting Started" class="tlw-control tlw-minus"></a><a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html">Getting Started</a></div><ul style="display: block;" id="1-sub-0">
<li><a href="http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html">Async Usage</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/asyncMigrationExamples.html">Async Migration</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingEcommerce.html">Ecommerce Tracking</a></li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Event Tracking"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Event Tracking" class="tlw-control tlw-plus"></a><a href="http://code.google.com/apis/analytics/docs/tracking/eventTrackerOverview.html">Event Tracking</a></div><ul style="display: none;" id="1-sub-1">
<li><a href="http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html">Implementing</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/eventTrackerWrappers.html">Extending</a></li>
</ul>
</li>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html">Cross-Domain Tracking</a></li>
<li class="selected"><a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingTraffic.html">Traffic Sources</a></li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Collapse Visitor Configuration"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Collapse Visitor Configuration" class="tlw-control tlw-minus"></a><a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingVisitors.html">Visitor Configuration</a></div><ul style="display: block;" id="1-sub-2">
<li><a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html">Custom Variables</a></li>
<li class="deprecated"><a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingVisitorSegments.html">Custom Visitor Segments</a></li>
</ul>
</li>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingOverview.html">Traditional Snippet</a></li>
</ul>
</li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Tracking Reference"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Tracking Reference" class="tlw-control tlw-plus"></a><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApi.html">Tracking Reference</a></div><ul style="display: none;" id="1-sub-3">
<li>Global Objects
<ul>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gat.html">_gat</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApi_gaq.html">_gaq</a></li>
</ul>
</li><li>Tracker Objects
<ul class="treelist tlw-processed tlw-instance-2">
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiBasicConfiguration.html">Basic Configuration</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html">Campaign Tracking</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html">Domains &amp; Directories</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiEcommerce.html">Ecommerce</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiEventTracking.html">Event Tracking</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html">Search Engines and Referrers</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiWebClient.html">Web Client</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiUrchin.html">Urchin Server</a></li>
</ul>
</li>
</ul>
</li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Libraries"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Libraries" class="tlw-control tlw-plus"></a><span class="tlw-title">Libraries</span></div><ul style="display: none;" id="1-sub-4">
<li><a href="http://code.google.com/apis/analytics/docs/tracking/gadgetTracking.html">Gadgets</a></li>
<li><a href="http://code.google.com/chrome/extensions/trunk/tut_analytics.html">Chrome Extensions</a></li>
<li><a style="text-decoration: none;" href="http://code.google.com/mobile/analytics/docs/"><span style="text-decoration: underline;">Mobile</span><span class="new">&nbsp;&nbsp;Updated</span></a> (Labs <img src="09_gaTrackingTraffic-Dateien/labs-11.png" alt="in Labs" style="padding: 0pt; margin: 0pt;">)</li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Flash/Flex (Labs )"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Flash/Flex (Labs )" class="tlw-control tlw-plus"></a><span class="tlw-title"><a href="http://code.google.com/apis/analytics/docs/tracking/flashTrackingIntro.html">Flash/Flex</a> (Labs <img src="09_gaTrackingTraffic-Dateien/labs-11.png" alt="in Labs" style="padding: 0pt; margin: 0pt;">)</span></div><ul style="display: none;" id="1-sub-5">
<li><a href="http://code.google.com/apis/analytics/docs/tracking/flashTrackingSetupFlash.html">Flash Setup</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/flashTrackingSetupFlex.html">Flex Setup</a></li>
</ul>
</li>
<li><a href="http://code.google.com/apis/analytics/docs/tracking/silverlightTrackingIntro.html">Silverlight</a> (Labs <img src="09_gaTrackingTraffic-Dateien/labs-11.png" alt="in Labs" style="padding: 0pt; margin: 0pt;">)</li>
</ul>
</li>
<li>
<a href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingTroubleshooting.html">Troubleshooting</a>
</li>
<li><a href="http://code.google.com/apis/analytics/docs/gaJS/changelog.html">Changelog - ga.js</a></li>
</ul>
</li>
</ul>
<div class="dottedLine"></div>
<div class="sectionTitle"><span class="sectionFont">Management API <span style="letter-spacing: normal;">(Labs <img src="09_gaTrackingTraffic-Dateien/labs-11.png" alt="in Labs" style="padding: 0pt; margin: 0pt;">)</span></span></div>
<ul class="treelist tlw-nested-only tlw-processed tlw-instance-3" style="margin-top: -15px;">
<li>
<ul class="treelist tlw-processed tlw-instance-4">
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/home.html">Home</a>
</li><li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Getting Started"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Getting Started" class="tlw-control tlw-plus"></a><a href="http://code.google.com/apis/analytics/docs/mgmt/mgmtDeveloperGuide.html">Getting Started</a></div><ul style="display: none;" id="3-sub-0">
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/mgmtAuthentication.html">Authorization</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/mgmtProtocol.html">Protocol</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/mgmtJava.html">Java</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/mgmtJavascript.html">Javascript</a></li>
</ul>
</li>
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/mgmtFeedReference.html">Feed Reference</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/mgmtLibraries.html">Libraries &amp; Examples</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/mgmt/changelog.html">Changelog</a></li>
</ul>
</li>
</ul>
<div class="dottedLine"></div>
<div class="sectionTitle"><span class="sectionFont">Export API <span style="letter-spacing: normal;">(Labs <img src="09_gaTrackingTraffic-Dateien/labs-11.png" alt="in Labs" style="padding: 0pt; margin: 0pt;">)</span></span></div>
<ul class="treelist tlw-nested-only tlw-processed tlw-instance-5" style="margin-top: -15px;">
<li>
<ul>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/home.html">Home</a></li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Getting Started"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Getting Started" class="tlw-control tlw-plus"></a><a href="http://code.google.com/apis/analytics/docs/gdata/gdataDeveloperGuide.html">Getting Started</a></div><ul style="display: none;" id="5-sub-0">
<li><a href="http://code.google.com/apis/analytics/docs/gdata/gdataAuthentication.html">Authorization</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/2.0/gdataProtocol.html">Protocol</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/2.0/gdataJava.html">Java</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/2.0/gdataJavascript.html">Javascript</a></li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Version 1.0"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Version 1.0" class="tlw-control tlw-plus"></a><span class="tlw-title">Version 1.0</span></div><ul style="display: none;" id="5-sub-1">
<li><a href="http://code.google.com/apis/analytics/docs/gdata/1.0/gdataProtocol.html">Protocol</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/1.0/gdataJava.html">Java</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/1.0/gdataJavascript.html">Javascript</a></li>
</ul></li>
</ul>
</li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Feed Reference"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Feed Reference" class="tlw-control tlw-plus"></a><a href="http://code.google.com/apis/analytics/docs/gdata/gdataReference.html">Feed Reference</a></div><ul style="display: none;" id="5-sub-2">
<li><a href="http://code.google.com/apis/analytics/docs/gdata/gdataReferenceAccountFeed.html">Account Feed</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFeed.html">Data Feed</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/gdataCommonQueries.html">Common Queries</a>
</li><li><a href="http://code.google.com/apis/analytics/docs/gdata/gdataExplorer.html">Query Explorer</a></li>
</ul></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDimensionsMetrics.html">Dimensions &amp; Metrics</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gdata/gdataLibraries.html">Libraries &amp; Examples</a></li>
<li style="padding-top: 0pt; padding-bottom: 0pt;">
<div class="tlw-title tlw-branch"><a href="javascript:void(0)" class="tlw-control" title="Expand Changelog &amp; Issues"><img src="09_gaTrackingTraffic-Dateien/cleardot.gif" alt="Expand Changelog &amp; Issues" class="tlw-control tlw-plus"></a><span class="tlw-title">Changelog &amp; Issues</span></div><ul style="display: none;" id="5-sub-3">
<li><a href="http://code.google.com/apis/analytics/docs/gdata/changelog.html">Changelog</a></li>
<li><a href="http://code.google.com/p/gdata-issues/issues/list?can=2&amp;q=label:API-Analytics&amp;colspec=API+ID+Type+Status+Priority+Stars+Summary&amp;cells=tiles">Issue Tracker</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="dottedLine"></div>
<div class="sectionTitle"><span class="sectionFont">Website Optimizer <span style="letter-spacing: normal;">(Labs <img src="09_gaTrackingTraffic-Dateien/labs-11.png" alt="in Labs" style="padding: 0pt; margin: 0pt;">)</span></span></div>
<ul class="treelist tlw-nested-only tlw-processed tlw-instance-6" style="margin-top: -15px;">
<li>
<ul>
<li><a href="http://code.google.com/apis/analytics/docs/gwo/index.html">Getting Started</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gwo/commonTasks.html">Common Tasks</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gwo/feedReference.html">Feed Reference</a></li>
<li><a href="http://code.google.com/apis/analytics/docs/gwo/gwoFAQ.html">FAQ</a></li>
</ul>
</li>
</ul>
<a class="hidden" href="#gc-topnav-anchor">More Google Analytics resource links</a>
</div>
<div style="position: relative;" class="g-unit" id="gc-pagecontent">
<script type="text/javascript">CODESITE_docEarlyProcessing();</script>
<h1 class="page_title">Traffic Sources</h1>
<table class="columns" id="toc-list">
<tbody><tr>
<td>
<ol class="toc">
<li><a href="#Overview">Overview</a></li>
<li><a href="#campaignTracking">Campaign Tracking</a>
<ol>
<li><a href="#generalCampaign">General Campaign Features</a></li>
<li><a href="#customCampaignTracking">Custom Campaign Tracking</a></li>
</ol>
</li>
</ol>
</td>
<td>
<ol class="toc">
<li><a href="#searchEngine">Search Engine Configuration</a>
<ol>
<li><a href="#addingSearchEngine">Adding a Search Engine</a></li>
<li><a href="#removingSearchEngine">Removing a Search Engine as a Referrer</a></li>
<li><a href="#removingKeyword">Defining a Search Terms as Direct Traffic</a></li>
</ol>
</li>
</ol>
</td>
</tr>
</tbody></table>
<h2 id="Overview">Overview</h2>
<p>This document covers how to customize the elements that are displayed
in the Traffic Sources section of the Google Analytics reporting
interface.
Google Analytics tracks traffic to your website from two basic
referring sources: </p>
<ul class="listhead">
<li>organic
<p>Organic campaigns can come from an unpaid search engine results
link, a referral from another website (such as a blog) and direct
traffic.</p>
</li>
<li>paid
<p>Paid campaigns can come from AdWords, paid search engine keywords, or paid ad campaigns from non-Adwords providers.</p>
</li>
</ul>
<p>Once a user reaches your site from one of these sources, that user's
visit is tagged with a campaign tracking cookie as coming from that
source. By default, subsequent visits to your site from other sources,
such as from a paid search engine link, an Adwords link, or a banner ad,
will override the earlier campaign cookie information. In that case,
the visit will then appear in your traffic reports as coming from a
different source. However, a direct traffic visit that follows a
referred visit will never override an existing campaign.</p>
<p class="backtotop"><a href="#top" class="backtotop">Back to Top</a></p>
<h2 id="campaignTracking">Campaign Tracking</h2>
<p>In its broadest definition, campaign tracking refers to a method of identifying
how users discover your site. Specifically, you use campaign tracking in
Google Analytics to accurately track online advertising campaigns to your website,
both from AdWords-generated campaigns as well as from other advertising sources.
You can use some of the campaign tracking customizations to adjust
whether subsequent ad referrals override earlier referrals to your site, either
organic or paid. </p>
<p>Before configuring campaign tracking using the <code>ga.js</code> campaign
tracking settings, you should understand how campaign tracking works in general
and how you can best use it to track advertising referrals to your site. The
following table lists a number of articles in the Help Center that describe
campaign tracking. The rest of this section describes campaign tracking settings
specific to the <code>ga.js</code> tracking code. </p>
<table id="camp-tracking-list">
<tbody><tr>
<th>Article</th>
<th>Description</th>
</tr>
<tr class="alt">
<td><a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55579">Understanding Campaign Tracking</a></td>
<td>A high-level summary of campaign tracking applied to five marketing dimensions.</td>
</tr>
<tr>
<td><a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55540">How Campaign Tracking Works</a></td>
<td>Describes the process of campaign tracking, from setting up and
parsing a link, to logging campaign data in the Analytics reporting and
associating campaigns with goals in order to track user conversion.</td>
</tr>
<tr class="alt">
<td><a href="http://www.google.com/support/googleanalytics/bin/answer.py?answer=55518&amp;topic=10998">Campaign Tracking URLs</a></td>
<td>Explains which types of URLs from referring sources need to be
modified with special variables, or "tagged." Describes the most common
types of fields used when constructing a URL.</td>
</tr>
<tr>
<td><a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55578">URL Builder Tool</a></td>
<td>Tool you can use to automatically generate a campaign tracking URL if necessary.</td>
</tr>
<tr class="alt">
<td><a href="http://www.google.com/support/analytics/bin/answer.py?hl=en&amp;answer=55577">Using Your Own Campaign Tracking Variables</a></td>
<td>Describes how to modify the tracking code to track your own campaign variables for <code>urchin.js</code> tracking. See the information in this section for details on how to use <code>ga.js</code>
method calls to use your own campaign tracking variables with this
model. This article also contains information about filters you can set
if you are manually tagging your AdWords links.</td>
</tr>
</tbody></table>
<p class="backtotop"><a href="#top" class="backtotop">Back to Top</a></p>
<h3 id="generalCampaign">General Campaign Features</h3>
<p>Use these methods to control general characteristics of campaign behavior
on your entire site or a set of pages.</p>
<table id="campaign-methods-general">
<tbody><tr>
<th>Feature</th>
<th>Method</th>
<th>Description</th>
</tr>
<tr class="alt">
<td>Disable Campaign Tracking</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampaignTrack">_setCampaignTrack()</a></td>
<td>Campaign tracking is enabled by default, but you can use this method
to disable campaign tracking and its associated cookies for a given page
or pages.</td>
</tr>
<tr>
<td>Anchors in URLs</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setAllowAnchor">_setAllowAnchor()</a></td>
<td><p>Set this method to use the # sign as a query string delimiter in
campaign tracking URLs. </p>
<p>This method allows you to get reporting data
for campaign tracking parameters even if your site doesn't support query
parameters. For example, if your webserver hosts static content for speed
in page delivery, you will not be able to retrieve campaign tracking
data using the conventional query strings. In this case, you can use
the <code>_setAllowAnchor()</code> method
in your tracking code, which will reconfigure campaign tracking to retrieve
campaign URL strings after the anchor.</p></td>
</tr>
<tr class="alt">
<td>Set Campaign Timeout</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampaignCookieTimeout">_setCampaignCookieTimeout()</a></td>
<td>By default, campaigns are tracked for 6 months, so that you can
determine over a 6-month period if visitors to your site convert based
on a specific campaign. However, you can use this method to adjust the
tracking life span for your campaigns.</td>
</tr>
<tr>
<td>Campaign Overrides</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampNOKey">_setCampNOKey</a></td>
<td>By default, the most recent ad impression is the campaign that
is credited in your conversion tracking. If you prefer to associate the
first-most impressions to a conversion, use this method.</td>
</tr>
</tbody></table>
<h3 id="customCampaignTracking">Custom Campaign Tracking</h3>
<p>Google Analytics automatically
collects your Google AdWords data if you have linked
your Adwords account to your Analytics account. If you have non-AdWords keyword
links using other advertising sources, or if you want to track user clicks
to your site from email campaigns or similar sources, you can create custom
campaigns using the <a href="http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&amp;answer=55578">URL
Builder Tool</a>. The tables below describe
the <code>ga.js</code> methods
you can use to create customize campaign tracking behavior for your site. See
the <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html">Campaign Tracking Reference</a> for specific
examples for these methods.</p>
<table id="campaign-methods-custom">
<tbody><tr>
<th>Variable Type</th>
<th>Method</th>
<th>Description</th>
</tr>
<tr class="alt">
<td>Campaign Name</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampNameKey">_setCampNameKey</a></td>
<td>This variable is used to define the name of your campaign, which
appears in the Analytics reports on the top-level campaign report.</td>
</tr>
<tr>
<td>Campaign Source</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampSourceKey">_setCampSourceKey</a></td>
<td>The source variable is typically used to define where the
campaign is originating from, such as a website name or a company. For
all campaigns, or for a particular campaign, this appears as <em>Source</em> under the <strong>Segment</strong> pull-down in the Analytics Reports.</td>
</tr>
<tr class="alt">
<td>Campaign Medium</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampMediumKey">_setCampMediumKey</a></td>
<td>Typically used to define the type of the campaign, such as a
banner ad, email campaign, or click ad. For all campaigns, or for a
particular campaign, this appears as <em>Keyword</em> under the <strong>Segment</strong> pull-down in the Analytics Reports.</td>
</tr>
<tr>
<td>Campaign Term</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampTermKey">_setCampTermKey</a></td>
<td>Defines the keyword terms for that ad. For all campaigns, or for a particular campaign, this appears as <em>Keyword</em> under the <strong>Segment</strong> pull-down in the Analytics Reports.</td>
</tr>
<tr class="alt">
<td>Campaign Content</td>
<td><a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html#_gat.GA_Tracker_._setCampContentKey">_setCampContentKey</a></td>
<td>Typically used to set the content description for that campaign
ad. For all campaigns, or for a particular campaign, this appears as <em>Ad Content</em> under the <strong>Segment</strong> pull-down in the Analytics Reports.</td>
</tr>
</tbody></table>
<p class="backtotop"><a href="#top" class="backtotop">Back to Top</a></p>
<h2 id="searchEngine">Search Engine Configuration</h2>
<p>By default, Google Analytics identifies the following list of websites as
search engine referrals in your reports. Referrals from search engines not
in the list are listed under the <em>Referring Sites</em> report. This is the
list of search
engines, indicated in order and listed by fully-qualified domain along with
each engine's query parameter.</p>
<p>Identification of a specific search engine occurs when search traffic
comes from a fully qualified domain where any part of that domain name matches
the search engine name, and that search engine uses the corresponding query
parameter. For example, if you have a sub-domain on your site such as
<code>search.example.com</code> which also uses the query parameter <code>q</code>,
then your Search Engine reports will display traffic from the engine <em>Search</em>
even though that traffic is part of your own sit search. To work around this, follow
the instructions below on <a href="#removingSearchEngine">Removing a Search Engine Referrer</a> to configure
search traffic behavior correctly for your setup. </p>
<table border="0" width="450">
<tbody><tr>
<th scope="col">Engine</th>
<th scope="col">Example Domain Names</th>
<th scope="col">Parameter</th>
</tr>
<tr>
<td>Daum</td>
<td><a href="http://www.daum.net/">http://www.daum.net/</a></td>
<td>q</td>
</tr>
<tr>
<td>Eniro </td>
<td><a href="http://www.eniro.se/">http://www.eniro.se/</a></td>
<td>search_word</td>
</tr>
<tr>
<td>
Naver </td>
<td><a href="http://www.naver.com/">http://www.naver.com/</a></td>
<td>query</td>
</tr>
<tr>
<td>Google</td>
<td>All Google Search domains (e.g. www.google.com, www.google.co.uk, etc)</td>
<td>q</td>
</tr>
<tr>
<td>Yahoo</td>
<td><a href="http://www.yahoo.com/">
http://www.yahoo.com/</a></td>
<td>p</td>
</tr>
<tr>
<td>MSN</td>
<td><a href="http://www.msn.com/">
http://www.msn.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Bing</td>
<td><a href="http://www.bing.com/">http://www.bing.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>AOL</td>
<td><a href="http://www.aol.com/">
http://www.aol.com/ </a></td>
<td>query</td>
</tr>
<tr>
<td>AOL</td>
<td><a href="http://www.aol.com/"> http://www.aol.com/ </a></td>
<td>encquery</td>
</tr>
<tr>
<td>Lycos</td>
<td><a href="http://www.lycos.com/">http://www.lycos.com/</a></td>
<td>query</td>
</tr>
<tr>
<td>Ask</td>
<td><a href="http://www.ask.com/">http://www.ask.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Altavista</td>
<td><a href="http://www.altavista.com/">
http://www.altavista.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Netscape</td>
<td><a href="http://search.netscape.com/">
http://search.netscape.com/</a></td>
<td>query</td>
</tr>
<tr>
<td>CNN</td>
<td><a href="http://www.cnn.com/SEARCH/">
http://www.cnn.com/SEARCH/</a></td>
<td>query</td>
</tr>
<tr>
<td>About</td>
<td><a href="http://www.about.com/">
http://www.about.com/</a></td>
<td>terms</td>
</tr>
<tr>
<td>Mamma</td>
<td><a href="http://www.mamma.com/">
http://www.mamma.com/ </a></td>
<td>query</td>
</tr>
<tr>
<td>Alltheweb</td>
<td><a href="http://www.alltheweb.com/">http://www.alltheweb.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Voila</td>
<td><a href="http://www.voila.fr/">
http://www.voila.fr/</a></td>
<td>rdata</td>
</tr>
<tr>
<td>Virgilio</td>
<td><a href="http://search.virgilio.it/">http://search.virgilio.it/</a></td>
<td>qs</td>
</tr>
<tr>
<td>Live</td>
<td><a href="http://www.bing.com/">http://www.bing.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Baidu</td>
<td><a href="http://www.baidu.com/">http://www.baidu.com/</a></td>
<td>wd</td>
</tr>
<tr>
<td>Alice</td>
<td><a href="http://www.alice.com/">http://www.alice.com/</a></td>
<td>qs</td>
</tr>
<tr>
<td>Yandex</td>
<td><a href="http://www.yandex.com/">http://www.yandex.com/</a></td>
<td>text</td>
</tr>
<tr>
<td>Najdi</td>
<td><a href="http://www.najdi.org.mk/">http://www.najdi.org.mk/</a></td>
<td>q</td>
</tr>
<tr>
<td>AOL</td>
<td><a href="http://www.aol.com/"> http://www.aol.com/ </a></td>
<td>q</td>
</tr>
<tr>
<td>Mama</td>
<td><a href="http://www.mamma.com/">http://www.mamma.com/</a></td>
<td>query</td>
</tr>
<tr>
<td>Seznam</td>
<td><a href="http://www.seznam.cz/">http://www.seznam.cz/</a></td>
<td>q</td>
</tr>
<tr>
<td>Search</td>
<td><a href="http://www.search.com/">http://www.search.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Wirtulana Polska</td>
<td><a href="http://www.wp.pl/">http://www.wp.pl/</a></td>
<td>szukaj </td>
</tr>
<tr>
<td>O*NET</td>
<td><a href="http://online.onetcenter.org/">http://online.onetcenter.org/</a></td>
<td>qt</td>
</tr>
<tr>
<td>Szukacz</td>
<td><a href="http://www.szukacz.pl/">http://www.szukacz.pl/</a></td>
<td>q</td>
</tr>
<tr>
<td>Yam</td>
<td><a href="http://www.yam.com/">http://www.yam.com/</a></td>
<td>k</td>
</tr>
<tr>
<td>PCHome</td>
<td><a href="http://www.pchome.com/">http://www.pchome.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Kvasir</td>
<td><a href="http://www.kvasir.no/">http://www.kvasir.no/</a></td>
<td>q</td>
</tr>
<tr>
<td>Sesam</td>
<td><a href="http://sesam.no/">http://sesam.no/</a></td>
<td>q</td>
</tr>
<tr>
<td>Ozu </td>
<td><a href="http://www.ozu.es/">http://www.ozu.es/</a></td>
<td>q</td>
</tr>
<tr>
<td>Terra</td>
<td><a href="http://www.terra.com/">http://www.terra.com/</a></td>
<td>query</td>
</tr>
<tr>
<td>Mynet</td>
<td><a href="http://www.mynet.com/">http://www.mynet.com/</a></td>
<td>q</td>
</tr>
<tr>
<td>Ekolay</td>
<td><a href="http://www.ekolay.net/">http://www.ekolay.net/</a></td>
<td>q</td>
</tr>
<tr>
<td>Rambler</td>
<td><a href="http://www.rambler.ru/">http://www.rambler.ru/</a></td>
<td>words</td>
</tr>
</tbody></table>
<p class="backtotop"><a href="#top" class="backtotop">Back to Top</a></p>
<h3 id="addingSearchEngine">Adding a Site as a Search Engine Referrer</h3>
<p>Use the <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._addOrganic"><code>_addOrganic()</code></a> method
to add additional search engines to the list. When you do this, you will also
specify the query term variable for that search engine, which is commonly a
single character or word (such as <em>q</em> or <em>query</em>) used in the
query parameter to demarcate the search string. Search engines are added to
the list in the order that they are called in your script, or you can set the
optional third parameter to <code>true</code> to add the engine to the beginning of the
list. You can clear our the entire search engine list by using the<code> <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._clearOrganic">_clearOrganic()</a></code> method,
such as if you want to start your search engine list from scratch.</p>
<h3 id="removingSearchEngine">Removing a Search Engine Referrer</h3>
<p>The Referring Sites report lists all websites that refer to your own site,
whether from a search engine result or from a link on another website. In some
cases, there might be sites that you administer that you want to exclude from
the list of referring sites, such as a link from an affiliated or linked site.
Traffic from sites that are excluded from the referrer list are counted as
direct traffic instead. Use the <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html"><code>_addIgnoredRef()</code></a> method
to remove a website from the referrer list. You can clear the excluded referrers
list with the <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._clearIgnoredRef"><code>_clearIgnoredRef()</code></a> method.</p>
<h3 id="removingKeyword">Defining a Search Terms as Direct Traffic</h3>
<p>When visitors reach your site by entering a search phrase into a search engine,
those terms used are listed as <em>keywords</em> in the Keywords report. In
some cases you might want to remove certain keywords or phrases from the Keywords
report and have them treated instead as direct traffic. For example, a user
can type your domain name <code>example.com</code> as a search phrase, and
that phrase is listed as a keyword in the report. You can use the <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._addIgnoredOrganic"><code>_addIgnoredOrganic()</code></a> method
to treat a keyword as direct traffic. To revert to the default behavior, use
the<a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiSearchEngines.html#_gat.GA_Tracker_._clearIgnoredOrganic"><code> _clearIgnoredOrganic()</code></a> method,
which will clear out your keyword ignore list and treat all search engine terms
as keywords once more.</p>
<p class="backtotop"><a href="#top" class="backtotop">Back to Top</a></p>
<div style="height: 3643px;" id="gc-collapsible"></div></div><!-- end gc-pagecontent -->
</div><!-- end gooey wrapper -->
</div> <!-- end codesite content -->
<div id="gc-footer" dir="ltr">
<div class="text">
©2011 Google -
<a href="http://code.google.com/">Code Home</a> -
<a href="http://code.google.com/terms.html">Terms of Service</a> -
<a href="http://code.google.com/privacy.html">Privacy Policy</a> -
<a href="http://code.google.com/more/">Site Directory</a>
<br> <br>
Google Code offered in:
<a href="http://code.google.com/intl/en/">English</a> -
<a href="http://code.google.com/intl/es/">Español</a> -
<a href="http://code.google.com/intl/ja/">日本語</a> -
<a href="http://code.google.com/intl/ko/">한국어</a> -
<a href="http://code.google.com/intl/pt-BR/">Português</a> -
<a href="http://code.google.com/intl/ru/">Pусский</a> -
<a href="http://code.google.com/intl/zh-CN/">中文(简体)</a> -
<a href="http://code.google.com/intl/zh-TW/">中文(繁體)</a>
</div>
</div><!-- end gc-footer -->
</div><!-- end gc-container -->
<script type="text/javascript">CODESITE_CSITimer['load'].tick('ats');</script>
<script src="09_gaTrackingTraffic-Dateien/codesite_tail.js" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(
['projectTracker._setAccount', 'YT-8705592-1'],
['projectTracker._setDomainName', 'code.google.com'],
['projectTracker._setCookiePath', window.location.pathname.substring(0,
window.location.pathname.lastIndexOf('/') + 1)],
['projectTracker._trackPageview'],
['siteTracker._setAccount', 'UA-18071-1'],
['siteTracker._setDomainName', 'code.google.com'],
['siteTracker._setCookiePath', window.location.pathname.substring(0,
window.location.pathname.lastIndexOf('/') + 1)],
['siteTracker._trackPageview']
);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = 'http://www.google-analytics.com/ga.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(ga);
})();
</script>
<div style="display: none;" id="menuDiv-lang-dropdown" class="menuDiv instance0"><div class="menuCategory default"><a href="http://code.google.com/intl/en/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">English</a><a href="http://code.google.com/intl/es/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">Español</a><a href="http://code.google.com/intl/ja/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">日本語</a><a href="http://code.google.com/intl/ko/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">한국어</a><a href="http://code.google.com/intl/pt-BR/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">Português (Brasil)</a><a href="http://code.google.com/intl/ru/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">Pусский</a><a href="http://code.google.com/intl/zh-CN/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">中文 (简体)</a><a href="http://code.google.com/intl/zh-TW/apis/analytics/docs/tracking/gaTrackingTraffic.html" style="display: block;" class="menuItem">中文 (繁體)</a></div></div><div id="gc-collapsible-arrow"></div><div id="cs-searchresults"><div id="cs-recommended">Suggestions</div><div id="searchResult1"></div><div id="searchResult2"></div><div id="searchResult3"></div><div id="searchResult4"></div><div id="searchResult5"></div><div id="searchResult6"></div><div id="searchResult7"></div></div><div style="display: none;" id="menuDiv-projects-dropdown" class="menuDiv instance1"><div class="menuCategory controls"><hr class="menuSeparator"><a href="http://code.google.com/more/" style="display: block;" class="menuItem">Find developer products...</a><a href="http://code.google.com/hosting/" style="display: block;" class="menuItem">Find open source projects...</a></div></div></body></html>