?
Solved

Web analytics-using omniture in a js file and page tags

Posted on 2009-02-20
6
Medium Priority
?
1,025 Views
Last Modified: 2013-12-07
Hi,
i need to put page tags on my site to point to a js file. I'm unsure of where and what I do to code these page tags, can someone give me an example of how to do this? I need to  put the domain path , pagename and server in the page tag.

Thanks
0
Comment
Question by:CharlieDev
  • 4
  • 2
6 Comments
 
LVL 39

Accepted Solution

by:
abel earned 2000 total points
ID: 23692442
Sounds to me that you should put a code snippet or a js reference on your pages (there's no such thing as a page tag, afaik). Can you point us to the reference where you got this information and a reference to your website? Then we can help you out with how and where to put it exactly.
0
 

Author Comment

by:CharlieDev
ID: 23692537
I dont really have any info, i think i need to put something like the following code in my page head, does it look like it could be right?

<head runat="server">
    <script language="javascript" type="text/javascript" src="http://company.co.uk/js/etf_s_code.js">
    </script>
  <title>home</title>

My request is as follows: In the page tags please populate the domain and path to the central js file. PageName & Server must also be identified and plugged in the tag.
thanks
0
 
LVL 39

Expert Comment

by:abel
ID: 23693021
> http://www.python.org/doc/2.5.2/lib/encodings-overview.html

It looks like it could be right, syntactically it is correct. Depending on the rest of the page (assuming that was already a correct page), this is a correct way putting an external javascript in.

Not sure if the browser will like it if the script source is from another domain. You also said something of having to transfer some data to that script.... It might be that that script is capable of getting that data automatically? Or it might need to be added at the end of the script-call (question-mark after ".js" and then the data, like: .....js?name=value&othername=othervalue")
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 39

Expert Comment

by:abel
ID: 23693031
Sorry about that added link. That was from another post and I have no idea why the Rich Text formatter puts that in.... I had that before...
0
 

Author Closing Comment

by:CharlieDev
ID: 31549247
thanks for trying to help me!! I have sorted it now. i realise that I gave virtually no info for you to be able to help me, but i didnt know what else to do!!
0
 
LVL 39

Expert Comment

by:abel
ID: 23693066
Well, I tried regardless... ;)
Glad it works now!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Over time, the online landscape has altered considerably, but that’s nothing compared to the up-and-coming trends that will shape the web design industry in the coming year. Keep reading to find out which trends will shape B2B web design in 2018.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question