Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8928569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:28:13+00:00 2026-06-15T08:28:13+00:00

I have a project that has the standard, borderline unreadable Omniture JavaScript tracking code

  • 0

I have a project that has the standard, borderline unreadable Omniture JavaScript tracking code in it that is below.

<script language="JavaScript">
    var s_account = "{MY ACCOUNT}";
</script>
<!-- START OMNITURE -->
<!-- SiteCatalyst code version: H.1.
Copyright 1997-2005 Omniture, Inc. More info available at
http://www.omniture.com -->
<script type="text/javascript" src="http://MYDOMAIN.com/javascripts/metrics/s_code_trb.js"></script>
<script language="JavaScript">

    s.pageName="Project name"   
    s.server="MYDOMAIN.com" 
    s.prop38="3rd Party";
    s.eVar21="3rd Party";    


/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code) 
</script>
<!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.1. -->
<!-- END Omniture code -->

However, this code always generates a pageview.

This project needs to be iframed into our CMS, which means that the container page in the CMS has already generated a pageview. We want to be able to track clicks within the project (e.g. a click on a particular button) but right now, this results in duplicate pageviews, one for the CMS page and one for the page inside the iframe.

Adobe documentation says that s.t() must always be called before s.tl() but vaguely hints that s.t() can be modified so that instead of generating a pageview, it generates a tracking link.

A quick Googling turned up this almost incomprehensible Twitter conversation that seems to hint at the solution to send as parameters pev1, pev2 and pe=lnk_o. But that is still beyond my understanding.

Is this true? Any Omniture gurus out there who can help me figure out how I would do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T08:28:14+00:00Added an answer on June 15, 2026 at 8:28 am

    You don’t need to call s.t() before you call s.tl(). Loading the s_code.js file and then calling the s.t() function will generate a page view as you have seen, but you can just as easily load the s_code.js file and only call s.tl() from onclicks in the links you need to track.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that has a non-standard file format something like: var foo
We have a sub-project 'commonUtils' that has many generic code-snippets used across the parent
We have a client that has Oracle Standard , and a project that would
I have a lot of code in a big project that has two general
I have a finished Ruby project that has the standard structure for a multiple
I have a project that has several build configurations (FREE version, male-only, female-only, etc.).
I have a project that has a GUI (written in QT) and a command-line
I have a project that has components in several different directories and would like
We have a project that has been built in Flash and as3. It is
My use case is this... I have a project that has two production branches.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.