Embedding tracking code into IAS



Similar documents
Using Google Analytics With PeopleSoft

Embedding a Data View dynamic report into an existing web-page

Online Marketing for Credit Unions

Web Analytics and the Importance of Location Targeting

Improving Magento Front-End Performance

Usage Tracking for IBM InfoSphere Business Glossary

BDW ICOM Digital Workshop. Digital metrics and analytics

Click-To-Talk. ZyXEL IP PBX License IP PBX LOGIN DETAILS. Edition 1, 07/2009. LAN IP: WAN IP:

All SABMiller websites, as defined in this document should have Google Analyitcs implemented as a mandatory requirement.

IMRG Peermap API Documentation V 5.0

TRACKING CHAT DRIVEN CONVERSIONS

Improving Madcap Flare SEO

Integrating KIMBIA form widget data with Google Analytics. What's Inside? KIMBIA. What s required...

Boosting Campaign Performance Through Web Analytics. David Kamerer, PhD, APR Loyola University Chicago

How to Enable the Persistent Player

Google Analytics workbook

Slide.Show Quick Start Guide

WEB ANALYTICS. Presented by Massimo Paolini MPThree Consulting Inc

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

Google Analytics Playbook. Version 0.92

Performance Testing for Ajax Applications

Hybrid Approach to Search Engine Optimization (SEO) Techniques

Hermes.Net Web Campaign Page 2 26

Portals and Hosted Files

InPost UK Limited GeoWidget Integration Guide Version 1.1

Startup Guide. Version 2.3.9

Blythe Dunham RailsConf 2010 snowgiraffe.com. Analyze This! Thursday, June 10, 2010

MONITORING YOUR WEBSITE WITH GOOGLE ANALYTICS

Integration Guide. Integrating Extole with Adobe Target. Overview. Before You Begin. Advantages of A/B Testing

DISCOVERING OUR PATRONS USING GOOGLE ANALYTICS

About Google Analytics

Scout Link: An Integration Overview

Visualizing a Neo4j Graph Database with KeyLines

Flare Tips and Tricks. Tips and tricks. Importing content Lists. Variables and snippets Condition tags Printed documentation WebHelp.

AIRTEL WEBSITE BUILDER

Administrator s Guide

Your Blueprint websites Content Management System (CMS).

IBM Unica emessage Version 8 Release 6 February 13, User's Guide

BASIC CLASSWEB.LINK INSTALLATION MANUAL

... Asbru Web Content Management System. Getting Started. Easily & Inexpensively Create, Publish & Manage Your Websites

Setup The package simply needs to be installed and configured for the desired CDN s distribution server.

Understanding Banners

Quick Start Guide. Installation and Setup

3dCart Shopping Cart Software Release Notes Version 3.0

Introducing our new Editor: Creator

Client-side Web Engineering From HTML to AJAX

Adding a CareCredit link to your practice website can help increase its ranking in online search engines like Google

MASTERTAG DEVELOPER GUIDE

STEP 1: TRACKING USERS AND CONTENT

Getting Started Guide

Online sales management software Quick store setup. v 1.1.3

Google Analytics Integration Guide

AD Self Update 2.2. Installation and configuration. Dovestones Software

Getting Started with Google Analytics 7 Easy but comprehensive steps

Analysis and web structures optimization

WebSphere Business Monitor V7.0 Script adapter lab

Website Implementation

EBOX Digital Content Management System (CMS) User Guide For Site Owners & Administrators

Google Sites: Creating, editing, and sharing a site

31 Examples of how Microsoft Dynamics CRM Integrates with Marketing Automation

Google Analytics Basics:

Multiple Qwidget Insertion Guide V.2 Created: 9/5/13 Contents

MARKETING AND TRACKING

Sphere Friends Asking Friends Guide

Table of Contents. Overview Supported Platforms Demos/Downloads Known Issues Note Included Files...

If you have signed up for a free trial and want some guidance on the next steps, check out our Quick Start Guide.


!!!!!!!! Startup Guide. Version 2.7

Intell-a-Keeper Reporting System Technical Programming Guide. Tracking your Bookings without going Nuts!

SkyGlue Technology Inc., all rights reserved SkyGlue User Manual SkyGlue Technology Inc.

ANALYTICS. Geek Speak for the Technically Meek

shweclassifieds v 3.3 Php Classifieds Script (Joomla Extension) User Manual (Revision 2.0)

Working with Indicee Elements

JTouch Mobile Extension for Joomla! User Guide

Demystifying Digital Introduction to Google Analytics. Mal Chia Digital Account Director

Release Notes for ACM 10.1

Reports and Documents Generator for SharePoint ver.: 2.2

SiteWit JavaScript v3 Documentation

VMware vcenter Operations Manager Administration Guide

An Oracle White Paper May Creating Custom PDF Reports with Oracle Application Express and the APEX Listener

Is Your Google Analytics Data Accurate?

Tracking Campaigns with G-Lock Analytics

KWizCom SharePoint SEO Toolkit

ibex Property Management System (PMS)

TOP 10 things. In Google Analytics. Your Association Should Measure. weblinkinternational.com

How to Create a Mobile Responsive Template in ExactTarget

Website Report for by Cresconnect UK, London

InstantAtlas TM Server Data Transfer Tools User Guide

ACTIVE DIRECTORY DEPLOYMENT

Committee guide to club features on UWESU Website Version 1.1

Yandex.Widgets Quick start

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 03 Major Subject

Quick Start Policy Patrol Disclaimers 10

Canadian Association for Research Libraries Toronto, Ontario 14 October 2015

Digital Marketing Training Institute

Cloud Administration Guide for Service Cloud. August 2015 E

Richmond Systems. Self Service Portal

Cleo Communications. CUEScript Training

Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps. JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc.

Transcription:

Embedding tracking code into IAS Author: GeoWise User Support Released: 23/11/2011 Version: 6.4.4

Embedding tracking code into IAS Table of Contents 1. Introduction... 1 2. Pre-requisites... 1 2.1. Sign up for a Google account and obtain the necessary code... 1 2.2. Ensure you are using a custom MasterPage.master file... 1 3. Including code in your MasterPage... 2 4. Including code in your MasterPageNoDecoration... 3 5. Support... 3

Embedding tracking code in IAS Page 1 1. Introduction This short guide documents how tracking code can be embedded into the IAS solution in order to provide additional tools for reporting on IAS use. Google analytics is currently the most popular service used to capture usage information for your website, but other services are available such as Yahoo Web Analytics, Woopra, Statcounter etc. It can be used to capture a wide range of information on your site visitors including the incoming and outgoing links, the time they spend on the site, their geographic location etc. These instructions can be modified to support any script that may be embedded into the IAS page, however it uses Google Analytics as an example. However each application may have its own set of instructions that will dictate how the code is embedded. Google analytics, like many others, require the same code to be embedded on each page that needs to be tracked. Rather than edit each page however, InstantAtlas Server uses a template that it re-uses for each page. This template is called the MasterPage and is used for nearly all the IAS pages. By embedding the code in the MasterPage this will allow the IAS pages to be tracked. 2. Pre-requisites Prior to being able to embed the code into IAS you may need to follow some preliminary instructions according to the instructions for the service you will be using. For our example using Google Analytics, you must first sign up for a Google analytics account. Once that is done we can then set up a custom MasterPage.master as explained below. 2.1. Sign up for a Google account and obtain the necessary code If you are using a tracking tool other than Google, you will need to follow those application specific instructions to obtain the code you need to embed. If you are using Google Analytics, you will receive some code after signing up that looks like this: <script type="text/javascript"> var gajshost = (("https:" == document.location.protocol)? "https://ssl." : "http://www."); document.write(unescape("%3cscript src='" + gajshost + "googleanalytics.com/ga.js' type='text/javascript'%3e%3c/script%3e")); </script> <script type="text/javascript"> try { var pagetracker = _gat._gettracker("xx-12345678-1"); pagetracker._trackpageview(); } catch(err) {} </script> Where XX-12345678-1 will be your unique code assigned to you via your Google account it is called the Web Property ID or UA code. Please note, there is an older snippet of code that uses an urchin.js file. We recommend that you upgrade and obtain the latest code from Google that utilises the ga.js file. 2.2. Ensure you are using a custom MasterPage.master file As we will be placing the code into the MasterPage.master file, this should be done on a version that is customisable. This can be done by following the standard customisation instructions (repeated below).

Embedding tracking code in IAS Page 2 a) Are you using a custom master page already? If yes, go to step d) otherwise, proceed to b) You can check this in your admin site, by browsing to the settings page and looking at the key: Master Page URL. If this is pointing at something other than ~/App_Content/MasterPage.master then you are using a customised page. Typically this will be ~/Custom/MasterPage.master for most customised solutions. b) If you are not using a custom MasterPage, change the current setting to point at ~/Custom/MasterPage.master (e.g. replace where it says App_Content with Custom) c) On the web server itself, ensure that this file exists by taking a copy of {Install Location}/Webs/User/App_Content/MasterPage.master and copy it to {Install Location}/Webs/User/Custom d) Edit the custom MasterPage.master file in a text editor using the instructions in section 3, below. 3. Including code in your MasterPage The code snippet now needs to be placed into an appropriate place in the MasterPage. This will require you to edit your custom MasterPage.master file in a text editor. 1) Locate the custom MasterPage.master file (see section 2.2) and edit it in a text editor 2) Browse to the appropriate place in the file to embed the code. Google recommends this is near the file header. As such, we recommend you find the closing body tag </body> and place the code just before this as per the screenshot below. Code for other solutions may vary.

Embedding tracking code in IAS Page 3 Note the 11 lines of code highlighted that have been inserted directly below the closing </asp:contentplaceholder> tag and before the closing </body> tag. Line 1 and 11 of this snippet are additional HTML comments we have inserted these are optional. 3) Save the file and test this has worked by checking the source of the page. It should now contain the code. If it does not, you may need to recycle the IIS application pool as the old file may be kept in memory. Alternatively you should check you are editing the correct MasterPage.master file. Data should now be getting sent to your tracking provider. For Google analytics data will become available over the next 48 hours in your Google account. 4. Including code in your MasterPageNoDecoration By adding the code to the MasterPage.master file you will be able to track and analyse the majority of pages in your IAS site. However there are a small number of pages that use the MasterPageNoDecoration.master template file instead such as the full screen dynamic report page.. To be able to track and analyse these pages you should edit the customisable version of this file in exactly the same way as is described above in sections 2.2 and 3. Additionally if you have set up any stand-alone custom pages (under Customize > Pages in the admin console) that do not use the master page template you should add the code to these pages so that they are tracked and analysed in the same way as the other pages. 5. Support If after consulting the user documentation you require further support for IAS please contact the GeoWise User Support Team. Email: support@geowise.co.uk Telephone: United Kingdom: +44 131 624 8935 North America: 1-800-961-8948 (toll-free) Hours: Monday-Friday UK: 9:00am-5:00pm USA: 4:00am-12:00 noon EST