Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,494 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,064 people online right now. Registration is fast and FREE... Join Now!




Yahoo Tracking Code not working

 
Reply to this topicStart new topic

Yahoo Tracking Code not working, Is Overture Services, Inc Needed For Yahoo Tracking In Asp Net

Notasco
post 15 Sep, 2008 - 10:56 PM
Post #1


New D.I.C Head

*
Joined: 15 Sep, 2008
Posts: 3

Is Overture Services, Inc Needed For Yahoo Tracking In Asp Net



This post has been edited by Notasco: 15 Sep, 2008 - 10:59 PM


Attached File(s)
Attached File  YahooTrack.txt ( 1.96k ) Number of downloads: 9
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 16 Sep, 2008 - 12:58 AM
Post #2


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 8,927



Thanked 118 times

Dream Kudos: 8525

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions


Why don't you post the code you've written in an attempt to resolve this and we will help the best we can. Most of us will not download a file from someone we don't know. When posting your code, remember to put it in code blogs to make it easier for us to read, like so => code.gif

Thanks smile.gif
User is online!Profile CardPM

Go to the top of the page

Notasco
post 16 Sep, 2008 - 06:30 AM
Post #3


New D.I.C Head

*
Joined: 15 Sep, 2008
Posts: 3

QUOTE(PsychoCoder @ 16 Sep, 2008 - 01:58 AM) *

Why don't you post the code you've written in an attempt to resolve this and we will help the best we can. Most of us will not download a file from someone we don't know. When posting your code, remember to put it in code blogs to make it easier for us to read, like so => code.gif

Thanks smile.gif


Hi

here is the code

CODE

strHtml += "<script LANGUAGE='JavaScript'>" & vbNewLine
        strHtml += "<!-- Overture Services, Inc" & vbNewLine
        strHtml += "var pm_tagname = 'conversionTag.txt';" & vbNewLine
        strHtml += "var pm_tagversion = '1.3';" & vbNewLine
        strHtml += "window.pm_customData = new Object();" & vbNewLine
        'strHtml += "window.pm_customData.segment = 'name=conversion, transId=<jsp:getProperty name=''order'' property=''orderID''/>, amount=<%=new java.text.DecimalFormat('0.00').format(cart.getServiceFee()+cart.getShippingTotal(order)+cart.getSubTotal()+order.getTax()-order.getDiscount())%>';"
        strHtml += "window.pm_customData.segment = 'name=conversion, transId=" & order.OrderID & ", amount=" & Format(order.getServiceFee() + order.getShippingTotal() + order.getSubTotal() + order.getCalculateTax - order.Discount(), "#.00") & "';" & vbNewLine
        strHtml += "// -->" & vbNewLine
        strHtml += "</SCRIPT>" & vbNewLine & vbNewLine
_______________________________________________
        strHtml += "<script LANGUAGE='JavaScript'>" & vbNewLine
        strHtml += "<!-- Yahoo! Inc." & vbNewLine
        strHtml += "window.ysm_customData = new Object();" & vbNewLine
        strHtml += "window.ysm_customData.conversion = 'transId=" & order.OrderID & ",currency=USD,amount=" & Format(order.getServiceFee() + order.getShippingTotal() + order.getSubTotal() + order.getCalculateTax - order.Discount(), "#.00") & "';" & vbNewLine
        strHtml += "var ysm_accountid  = '*****';" & vbNewLine
        strHtml += "document.write(""<SCR"" + ""IPT language='JavaScript' type='text/javascript'""" & vbNewLine
        strHtml += "+ ""SRC=//"" + ""srv3.wa.marketingsolutions.yahoo.com"" + ""/script/ScriptServlet"" + ""?aid="" + ysm_accountid " & vbNewLine
        strHtml += "+ ""></SCR"" + ""IPT>"");" & vbNewLine
        strHtml += "// -->" & vbNewLine
        strHtml += "</SCRIPT>" & vbNewLine


thanks

This post has been edited by Notasco: 16 Sep, 2008 - 06:32 AM
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 16 Sep, 2008 - 06:33 AM
Post #4


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 8,927



Thanked 118 times

Dream Kudos: 8525

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions


Now for question number two, how is it not working? Are you getting any errorsa, what isnt it doing that you need it to do? Also, this line

CODE

'strHtml += "window.pm_customData.segment = 'name=conversion, transId=<jsp:getProperty name=''order'' property=''orderID''/>, amount=<%=new java.text.DecimalFormat('0.00').format(cart.getServiceFee()+cart.getShippingTotal(order)+cart.getSubTotal()+order.getTax()-order.getDiscount())%>';"


Tells me this is JSP and not ASP.NET? Am I correct?
User is online!Profile CardPM

Go to the top of the page

Notasco
post 16 Sep, 2008 - 08:48 PM
Post #5


New D.I.C Head

*
Joined: 15 Sep, 2008
Posts: 3

QUOTE(PsychoCoder @ 16 Sep, 2008 - 07:33 AM) *

Now for question number two, how is it not working? Are you getting any errorsa, what isnt it doing that you need it to do? Also, this line

CODE

'strHtml += "window.pm_customData.segment = 'name=conversion, transId=<jsp:getProperty name=''order'' property=''orderID''/>, amount=<%=new java.text.DecimalFormat('0.00').format(cart.getServiceFee()+cart.getShippingTotal(order)+cart.getSubTotal()+order.getTax()-order.getDiscount())%>';"


Tells me this is JSP and not ASP.NET? Am I correct?



Hi

The Problem is The Yahoo conversion tracker script is not working

not tracking

it is Asp.net

Thanks
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 16 Sep, 2008 - 09:53 PM
Post #6


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 8,927



Thanked 118 times

Dream Kudos: 8525

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions


Since this is Yahoo!s product have you read their documentation on how to implement their technology?
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 05:04PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month