What's Here?
Members: 132,494
Replies: 471,443
Topics: 73,091
Snippets: 2,540
Tutorials: 666
Total Online: 1,064
Members: 71
Guests: 993
Who's Online?
Loading. Please Wait...
Yahoo Tracking Code not working
Yahoo Tracking Code not working, Is Overture Services, Inc Needed For Yahoo Tracking In Asp Net
PsychoCoder
16 Sep, 2008 - 12:58 AM
using DIC.Core;
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 =>
Thanks
Notasco
16 Sep, 2008 - 06:30 AM
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 =>
Thanks
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
PsychoCoder
16 Sep, 2008 - 06:33 AM
using DIC.Core;
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?
Notasco
16 Sep, 2008 - 08:48 PM
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
PsychoCoder
16 Sep, 2008 - 09:53 PM
using DIC.Core;
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?
Programming
Web Development
Reference Sheets
Bye Bye Ads
Free DIC T-Shirt
Related Sites
Monthly Drawing
Partners
Top Contributors
Top 10 Kudos This Month