Sony BMG — Production Guide

Web Analytics Tagging

Before a site is tagged, the Web Applications group at SONY BMG IS&T must do the following:

Please let David Peris or Roshan Shetty know if you have any questions and let us know once you've tagged a site so we can confirm everything is correct and stats are being compiled.

1. Creation of "wt" Directory

Make a directory called wt in the top level dir of each artist site/project you wish to tag.
This directory will contain two HTML files which will be pulled into your site's various pages as server-side includes.
Flash sites will reference this code as well, and they will be pulled into the main HTML page that contains the Flash site (generally, index.html).

2. Javascript Header File

Make a file in the wt directory called header.html which contains only the following code: (use respective code per label as per below)

RCA

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/rca/wt_rca.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

J / Arista

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/j/wt_j.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Zomba

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/zomba/wt_zomba.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Columbia

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/columbia/wt_columbia.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Legacy

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/legacy/wt_legacy.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Musicbox

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/musicbox/wt_musicbox.js"></script> lt;script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Nashville

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/nashville/wt_nashville.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Sony Wonder

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/sonywonder/wt_sonywonder.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Masterworks

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/masterworks/wt_masterworks.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Epic

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/epic/wt_epic.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

Strategic Marketing

<script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/stratmar/wt_stratmar.js"></script> <script language="JavaScript" type="text/javascript" src="http://sonybmg.com/wt/wt_sonybmg.js"></script>

3. Footer

Next make a file in the wt directory called footer.html which contains only the following code: (again, use respective code per label as per below)

RCA

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcsfmeuym10000wc3o16u646o_3k3p/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

J

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcs8cubmu0000082vzgags6rn_5g4i/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Masterworks

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcsp0g2a1000000sdh476hqrn_2e7s/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Columbia

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcsn7lp6u00000oejv8pguilk_2n5v/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Epic

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcs82k41g100004ns8lqes16h_2q4b/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Legacy

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcscpnt9510000w4ticw16uaj_5i7p/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Musicbox

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcsvtttus000004vaobiovetk_5g8o/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Nashville

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcsb67zep00000omp9qv2nnqn_2o5q/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Sony Wonder

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcscfiqpo10000omx7yusogml_8i9y/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Zomba

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcsabjepe00000w45kt3w246o_8q8w/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

Strategic Marketing

<noscript> <img alt="" border="0" name="dcsimg" width="1" height="1" src=" http://statse.webtrendslive.com/dcsh9ouk4100004fu0qvn3yp4_7j7b/njs.gif?dcsuri=/nojavascript&wt.js=no&wt.tv=8.0.0"> </noscript>

4. Including the above files in HTML sites

Every HTML page in a site will have to be set up to reference the above files so that they will show up in the WebTrends analytics tool. For Flash sites, place this on any pages that contain your main Flash movie's navigation.

Place this code anywhere between <head> and </head> area of your page:

<!--#include virtual="/wt/header.html"-->

Place this code at the end of the page, just before the </body> tag.

<!--#include virtual="/wt/footer.html"-->

ANY PAGE WITH THESE TAGS MUST HAVE 775 UNIX PERMISSIONS.

4. Referencing the above files in Flash sites

Since Flash sites do not contain multiple "pages" as HTML sites do, this method uses Actionscript to pass variables to the tracking Javascript from each navigation item in your site. So, rather than explicitly tagging a "news page" or a "discography page" as one would do in order to track traffic in HTML, we are tracking traffic from the actual nav clicks in Flash.

Add this to your "Actions" layer: function trackEvent(domain,URL,Title,offSite){ getURL("javascript:dcsMultiTrack('DCS.dcssip','"+domain+"','DCS.dcsuri','"+URL+"','WT.ti','"+Title+"','WT.os','"+offSite+"')"); }

Tagging Detail

The following outlines tagging specifications for each of the items identified on the site.

For each of the variables, a value is passed to the WebTrends javascript:

domain: JessicaSimpson.com is used as reference only. Feel free to substitute any domain as needed as the host.
URL: is given in the format /pageName.flashPage. If the URL is external, only the relative pathname needs to be given, starting with a forward slash.
Title: is the title of the page
offSite: default value is null, meaning that the link is not off of the site being tagged. If the link is external, set this to 1

Sample code below:

News
On click of the "News" link: trackEvent('jessicasimpson.com','/news.flashPage','News',''); Discography
On click of the "Discography" link: trackEvent('jessicasimpson.com','/discography.flashPage','Discography',''); Schedule
On click of the "Schedule" link: trackEvent('jessicasimpson.com','/schedule.flashPage','Schedule',''); Bio
On click of the "Bio" link: trackEvent('jessicasimpson.com','/bio.flashPage','Bio',''); Video
Track on click of the "Video" link. Note that this is an external link that launches the following URL: http://sonybmg.com/musicbox/video/jessicasimpson/
NOTE: This URL is currently tracked within the "MusicBox Site Level Profiles" parent profile under the "musicboxvideo" child profile. trackEvent('sonybmg.com','/musicbox/video/jessicasimpson/','Video','1'); Blog
On click of the "Blog" link: trackEvent('jessicasimpson.com','/blog.flashPage','Blog',''); Win
On click of the "Win" link: trackEvent('jessicasimpson.com','/win.flashPage','Win',''); Message Board
Track on click of the "Message Board" link. Note that this is an external link that launches the following URL: http://forums1.epicrecords.com/Artists/JessicaSimpson/ trackEvent('forums1.epicrecords.com','/Artists/JessicaSimpson/','Message Board','1');

For any issues, do not hesitate to contact the SONY BMG IS&T Team.

Contents