Friday, 19 October 2012

Remarketing with Google Analytics

Google

Update Your Analytics Tracking Code to Support Display Advertising



 


If you choose to enable Remarketing with Google Analytics, then the update to the Analytics tracking code involves replacing only a single line of the code. Once you have made that change, Google Analytics collects the information it normally does, as well as the DoubleClick cookie when that cookie is present. The DoubleClick cookie enables remarketing for products like AdWords on the Google Display Network.
This change is compatible with both the synchronous and asynchronous versions of the tracking code. This modification does not impact any customizations you have previously made to your code.
When you make this update to your tracking code, you also need to update your privacy policy.
To implement remarketing, replace the bold text in this example:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxx-y']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 


ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + 'google-analytics.com/ga.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

with the bold text in the example below:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxx-y']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 


ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

 

5 comments:

  1. Thanks for the wonderful tips that you have posted in this article. Great source!!! Bookmarked it!!!
    seo Leicester

    ReplyDelete
  2. SEO link buildings or link exchanges are considered to be very helpful and essential services that bring improvements in the
    website ranking in different search engines.

    Bangalore web development companies

    ReplyDelete
  3. Google Analytic code could help to track our website's traffics and referral source.
    Web Design Companies | Top web designing companies

    ReplyDelete
  4. A quality website design must be 'on brand'. An integrated brand identity provides a visual language that communicates your company and values consistently across all media,both online and offline.
    Web Designing Company Bangalore | Web Design Company India

    ReplyDelete
  5. Online reputation management is the practice of consistent research and analysis of your business or industry reputation as represented by the content across all types of online media. Manage your brand and listen to what is said about your company and your products or services, then someone else can or indeed will.
    Web Designing Companies in Bangalore | Web Development Companies in Bangalore

    ReplyDelete