Skip Headers
Oracle® CRM On Demand Marketing
Release 5.4.10
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

Configuring Tracking Script

You can generate a generic tracking script (to be used across all pages of a Web site) or page-specific tracking script. A tracking script, which is page specific with page level metadata, such as product name, solution name, and so on, can be embedded within specific pages of a Web site.

Generic Script

One option is to generate a generic script that can be placed in the global header code that is added to all the pages on the Web site. Ensure that the script is added before the closing body tag (</body>). The following is a sample generic script:

<script id="m2lwst" src="https://company.com/wt/m2lwst.js"></script>
<script language="javascript">
   _m2lTracker.tenantId ='1';
   _m2lTracker.tenantCode ='DEMO';
   _m2lTracker.track();
</script>

Page Specific Script

You can also generate specific scripts for individual Web pages. For example, for Web pages that present information about routers you can add additional metadata (up to 5 levels of metadata on a page), and a page specific script can be generated. Ensure that the script is added before the closing body tag (</body>). The following is a sample of a page-specific script:

<script id="m2lwst" src="https://company.com/wt/m2lwst.js"></script>
<script language="javascript">
   _m2lTracker.tenantId ='1';
   _m2lTracker.tenantCode ='DEMO';
   _m2lTracker.category['Products']='Router';
   _m2lTracker.track();
</script>

With the previous script, any visits to this page are tagged as routers for the Web category of products. You can use this information for list segmentation. For example, you can target all contacts who have visited the Web site where Web category is Router for a followup campaign. Although this option yields specific tracking information, it is time consuming to add a specific script to each of the pages on the Web site separately.

You can define page categories that pertain to the main sections of a Web site, such as products, industries, services, and so on. This category-specific script can then be added to all pages within the main Web site section for products. Visits are reported as product visits.

Generating a Tracking Script

A script or code is generated based on the configuration. This script or code can then be inserted in Web site pages to allow you to capture the activities of contacts who are browsing.

To configure a tracking script

  1. Click Admin in the upper-right corner of the screen.

  2. In the Website Tracking Management section, click Tracking Script.

  3. Enter the information, and then generate the code by clicking Generate.

The generated code must be inserted between the <body> and </body> tags in the source code for the Web page.

When the script is added to the Web pages, all anonymous and known visitor activities are tracked. For known contacts, their contact profile is updated.

To display Web site visits in real-time

  1. Navigate to Activities, Contact Activities, and then select the view for All or Recent Known Website Visitors.

  2. To display details for a specific contact or a Web site visit, click the linked Visit Date.

  3. The following details are displayed:

    • Pages viewed

    • Number of unique page views

    • Time spent on a page

    • Total time spent on a visit in one session

    • IP address

    • Contact information, such as the name, company name, and email address

    Web-site activity history is available for individual contacts in their contact record.