Does anyone know how to write the order API that enables Atlas One Point
formerly known as GoToast to pull the sale amount out of each confirmation
screen and send it off to Atlas One Point so I can track our sales amount to
quantify advertising costs?
--
Jay Guliano
jay@ontimemall.com
Atlas One Point
-
- Posts: 2572
- Joined: Fri Aug 04, 2006 12:02 pm
- Location: Anywhere
- Contact:
Re: Atlas One Point
Last time I heard, GoToast gives you JavaScript that you place on the
thankyou screen. With ShopSite Pro v7.0 and newer you have access to the
cart variables in JavaScript variables already so you could just plug
one of these variables into the GoToast-provided JavaScript where it
asks for the cart total. You would probably use the ss_subtotal
variable, see:
http://www.shopsite.com/help/7.1/en-US/ ... ables.html
-Loren
Jay Guliano wrote:
thankyou screen. With ShopSite Pro v7.0 and newer you have access to the
cart variables in JavaScript variables already so you could just plug
one of these variables into the GoToast-provided JavaScript where it
asks for the cart total. You would probably use the ss_subtotal
variable, see:
http://www.shopsite.com/help/7.1/en-US/ ... ables.html
-Loren
Jay Guliano wrote:
Does anyone know how to write the order API that enables Atlas One Point
formerly known as GoToast to pull the sale amount out of each confirmation
screen and send it off to Atlas One Point so I can track our sales amount to
quantify advertising costs?
Re: Atlas One Point
I did as you said and the sale amount is still not being captured. Any ideas
now? Do I need to delete the old API that was created several years ago to
capture the sale amount when Atlas One Point was called Go Toast?
--
Jay Guliano
jay@ontimemall.com
www.ontimemall.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:djmabp$pk8$1@eval.shopsite.com...
now? Do I need to delete the old API that was created several years ago to
capture the sale amount when Atlas One Point was called Go Toast?
--
Jay Guliano
jay@ontimemall.com
www.ontimemall.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:djmabp$pk8$1@eval.shopsite.com...
Last time I heard, GoToast gives you JavaScript that you place on the
thankyou screen. With ShopSite Pro v7.0 and newer you have access to the
cart variables in JavaScript variables already so you could just plug one
of these variables into the GoToast-provided JavaScript where it asks for
the cart total. You would probably use the ss_subtotal variable, see:
http://www.shopsite.com/help/7.1/en-US/ ... ables.html
-Loren
Jay Guliano wrote:
Does anyone know how to write the order API that enables Atlas One Point
formerly known as GoToast to pull the sale amount out of each
confirmation screen and send it off to Atlas One Point so I can track our
sales amount to quantify advertising costs?
-
- Posts: 2572
- Joined: Fri Aug 04, 2006 12:02 pm
- Location: Anywhere
- Contact:
Re: Atlas One Point
Yes, that would probably be a good idea, but also remember that most of
these ROI companies are tracking PAID keywords, so to test them you
really need to search for your PAID keywords on the search engines that
they are tracking for you and click through your PAID links before
placing your test orders.
-Loren
Jay Guliano wrote:
these ROI companies are tracking PAID keywords, so to test them you
really need to search for your PAID keywords on the search engines that
they are tracking for you and click through your PAID links before
placing your test orders.
-Loren
Jay Guliano wrote:
I did as you said and the sale amount is still not being captured. Any ideas
now? Do I need to delete the old API that was created several years ago to
capture the sale amount when Atlas One Point was called Go Toast?
Re: Atlas One Point
I am still trying to resolve my Atlas One Point tracking for ROI on
pay per click advertising. I have code in the footer so it appears in every
page but it does not work. Atlas sent me the following answer.
Thank you for your email. The tracking codes should not be placed in
the footer of the page. They are designed to be placed in the body of
the page. I would highly recommend you move them after the open body
tag as close as possible. Also, for the code on the confirmation page,
in the TrackEvent line the event name is not closed off by single
quotes, and there is no monetary field there for us to track any kind of
orders. You will need to dynamically insert the order amount here in
this field for Atlas to track your sales. Please let us know if you
have any further questions or comments.
Would I place the tracking code presently in the footer in the TEXT 2 field?
What code do I need to pull the total invoice amount out. I followed your
earlier email in that regard but it is still not working. Do you know anyone
I can hire for an hour or 2 to solve this tracking problem? It is driving me
crazy.
--
Jay Guliano
jay@ontimemall.com
www.ontimemall.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:dkb7rf$er8$1@eval.shopsite.com...
pay per click advertising. I have code in the footer so it appears in every
page but it does not work. Atlas sent me the following answer.
Thank you for your email. The tracking codes should not be placed in
the footer of the page. They are designed to be placed in the body of
the page. I would highly recommend you move them after the open body
tag as close as possible. Also, for the code on the confirmation page,
in the TrackEvent line the event name is not closed off by single
quotes, and there is no monetary field there for us to track any kind of
orders. You will need to dynamically insert the order amount here in
this field for Atlas to track your sales. Please let us know if you
have any further questions or comments.
Would I place the tracking code presently in the footer in the TEXT 2 field?
What code do I need to pull the total invoice amount out. I followed your
earlier email in that regard but it is still not working. Do you know anyone
I can hire for an hour or 2 to solve this tracking problem? It is driving me
crazy.
--
Jay Guliano
jay@ontimemall.com
www.ontimemall.com
"Loren" <loren_d_c@yahoo.com> wrote in message
news:dkb7rf$er8$1@eval.shopsite.com...
Yes, that would probably be a good idea, but also remember that most of
these ROI companies are tracking PAID keywords, so to test them you really
need to search for your PAID keywords on the search engines that they are
tracking for you and click through your PAID links before placing your
test orders.
-Loren
Jay Guliano wrote:
I did as you said and the sale amount is still not being captured. Any
ideas now? Do I need to delete the old API that was created several years
ago to capture the sale amount when Atlas One Point was called Go Toast?
Re: Atlas One Point
On a normal store page the script is within the <body> .. </body> tags
so it should be fine.
What is the code you are putting on the thankyou page? (I didn't want to
place an order to get to that screen.)
Jim
Jay Guliano wrote:
so it should be fine.
What is the code you are putting on the thankyou page? (I didn't want to
place an order to get to that screen.)
Jim
Jay Guliano wrote:
I am still trying to resolve my Atlas One Point tracking for ROI on
pay per click advertising. I have code in the footer so it appears in every
page but it does not work. Atlas sent me the following answer.
Thank you for your email. The tracking codes should not be placed in
the footer of the page. They are designed to be placed in the body of
the page. I would highly recommend you move them after the open body
tag as close as possible. Also, for the code on the confirmation page,
in the TrackEvent line the event name is not closed off by single
quotes, and there is no monetary field there for us to track any kind of
orders. You will need to dynamically insert the order amount here in
this field for Atlas to track your sales. Please let us know if you
have any further questions or comments.
Would I place the tracking code presently in the footer in the TEXT 2 field?
What code do I need to pull the total invoice amount out. I followed your
earlier email in that regard but it is still not working. Do you know anyone
I can hire for an hour or 2 to solve this tracking problem? It is driving me
crazy.
Re: Atlas One Point
I'm not an expert of javascript but it looks like the ShopSiteAmount
value got set correctly at the top of the file and is used at the bottom
of the file so it should be working. Is that is the exact code that
they gave you for the thankyou screen?
Jim
Jay Guliano wrote:
value got set correctly at the top of the file and is used at the bottom
of the file so it should be working. Is that is the exact code that
they gave you for the thankyou screen?
Jim
Jay Guliano wrote:
Attached is a copy of the code from the confirmation page cut out of an
actual purchase I made to test it.
html
head
title
Thank you!
/title
script language="JavaScript"
var ShopSiteAmount = 24.30;
/script
/head
!--
Content-type: text/html
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
html
head
title>Thank you!</title
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
script type="text/javascript"
!--
var ss_screen = "Shopping Cart";
var ss_sbid = "SSMSB1129916664.29798";
var ss_ordernum = "21106";
var ss_ordertotal = "32.62";
var ss_subtotal = "24.30";
var ss_taxtotal = "1.97";
var ss_shiptotal = "6.35";
var ss_name = new Array;
var ss_sku = new Array;
var ss_quantity = new Array;
var ss_price = new Array;
var ss_weight = new Array;
var ss_total_price = new Array;
var ss_field1 = new Array;
var ss_field2 = new Array;
var ss_field3 = new Array;
var ss_field4 = new Array;
var ss_field5 = new Array;
ss_name[0]="34A Motor Base";
ss_sku[0]="34A";
ss_quantity[0]=1;
ss_weight[0]=2.00;
ss_price[0]="24.30";
ss_total_price[0]="24.30";
ss_field1[0]="";
ss_field2[0]="";
ss_field3[0]="";
ss_field4[0]="";
ss_field5[0]="";
var number_products=1;
var number_coupons=0;
// --
/script
style type="text/css"
!--
/*********************************************************/
/*** Cascading Style Sheet for ShopSite Classic Theme ***/
/*** Shipping Screen ***/
/*********************************************************/
/***********************/
/*** Page Defaults ***/
/***********************/
body {
color: #000000;
background-color: #CCCCCC;
}
/***********************/
/*** Hyperlinks ***/
/***********************/
a:link {
color: #0000FF;
}
a:visited {
color: #990066;
}
a:hover {
color: #0000FF;
}
a:active {
color: #996633;
}
/**********************************/
/*** Table of Products (Cart) ***/
/**********************************/
table.cart {
width: 100%;
padding-top: 1em;
border-collapse: separate;
border-spacing: 3px;
}
th {
text-align: center;
}
td.cart_quantity, td.cart_cp_quantity {
padding: 3px;
text-align: center;
background-color: #FFFFCC;
}
td.cart_name, td.cart_cp_name {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_sku, td.cart_cp_sku {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_price, td.cart_cp_price {
padding: 3px;
font-style: italic;
text-align: right;
background-color: #FFFFCC;
}
td.cart_total, td.cart_cp_total {
padding: 3px;
text-align: right;
background-color: #FFFFCC;
}
td.cart_op {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_op1, td.cart_op2 {
padding: 3px;
background-color: #FFFFCC;
}
/***************************************/
/*** Table of Totals ***/
/*** Subtotal, Tax, Shipping, etc. ***/
/***************************************/
table.totals {
color: #000000;
vertical-align: middle;
line-height: 150%;
}
td.totals_txt, td.totals_saved_txt, td_totals_blank {
text-align: right;
padding-right: 15px;
}
td.totals, td.totals_saved {
text-align: right;
padding-right: 3px;
}
td.totals_all, td.totals_all_txt {
font-weight: bold;
}
/***********************/
/*** Address Table ***/
/***********************/
table.addr { /* outer table that contains both billing and shipping addresses */
color: #000000;
}
table.bill_addr, table.ship_addr { /* inner table for billing and shipping address */
margin-left: 0px;
margin-right: auto;
}
table.addr_name { /* table of registered name elements */
margin-left: -4px;
margin-right: auto;
}
td.bill_addr_hdr, td.ship_addr_hdr {
font-weight: bold;
text-align: left;
}
td.addr {
text-align: right;
padding-right: 5px;
}
td.addr_val {
text-align: left;
}
td.addr_foot { /* footnote about required fields */
font: bold smaller Arial;
text-align: center;
}
td.sql_addr {
padding-right: 15px;
}
/***********************/
/*** Payment Table ***/
/***********************/
table.payment{
color: #000000;
margin-left: auto;
margin-right: auto;
}
table.pay_holder {
margin-left: auto;
margin-right: auto;
}
td.payment_hdr {
font-weight: bold;
text-align: center;
}
td.paymentselection {
text-align: center;
padding-top: 20px;
}
td.payment {
text-align: left;
}
td.payment_value {
text-align: left;
}
td.sql_pay {
padding-right: 15px;
}
/*************************************/
/*** Ordering Instructions Table ***/
/*************************************/
table.instruct {
padding-bottom: .5em;
}
td.instruct_hdr {
font-weight: bold;
text-align: center
}
/**********************************/
/*** Comments/More Info Table ***/
/**********************************/
table.comm {
padding-bottom: .5em;
}
td.comm_hdr {
font-weight: bold;
text-align: center
}
table.CustomHTML {
text-align: center;
padding-bottom: .5em;
}
td.email {
text-align: center;
padding-bottom: .5em;
}
div.header {
}
div.footer {
padding-top: 1em;
padding-bottom: 1em;
}
div#messages {
}
td.buttons {
text-align: center;
padding-top: .5em;
}
/*********************************/
/*** Table of Error Messages ***/
/*********************************/
td.checkout_err {
color: #000000;
background-color: #FFFFCC;
}
td.ups_error {
vertical-align: middle;
}
--
/style
/head
body
center
A HREF="http://ontimemall.com/index.html"
IMG SRC="https://www.ontimemall.com/shopsite-images/en-US/return_to_store.gif" BORDER=0></A></center
div class="header"
center><h3>THANK YOU FOR SHOPPING AT <U>On Time Mall</U></h3></center
/div
table border="0" width="0" align="center"
tr
td
Use your browsers print feature to <strong>make a hard copy of this receipt:</strong><br>
/td
/tr
tr
td align="center"
b>Order Number: 21106</b
/td
/tr
tr
td align="right"
table class="cart"
tr><th class="cart_quantity">Quantity</th><th class="cart_name">Name</th><th class="cart_sku">SKU</th><th class="cart_price">Each</th><th class="cart_total">Total</th></tr
tr><td class="cart_quantity">1</td
td class="cart_name">34A Motor Base </td
td class="cart_sku">34A</td
td class="cart_price">$24.30</td
td class="cart_total">$24.30</td
/tr
/table
/td
/tr
tr
td align="right"
table class="totals"
tr><td class="totals_txt">Sub Total</td
td class="totals">$24.30</td
/tr
tr
td class="totals_txt">UPS Ground</td
td class="totals">$6.35</td
/tr
input type=hidden name="surcharge" value=-1
input type=hidden name="tax" value="3"><tr
td class="totals_txt">Tax Total: Arizona Tax (8.1%)</td
td class="totals">$1.97</td
/tr
tr
td class="totals_all_txt">Total</td
td class="totals_all">$32.62</td
/tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td align="center"
table class="addr" cellspacing="20"
tr><td valign=top><table class="bill_addr"
tr><td class="bill_addr_hdr">Billing Address</td></tr
tr><td
table class="addr_name"><tr><td class="addr_name_val"></td><td class="addr_name_val">jay</td><td class="addr_name_val"></td><td class="addr_name_val">guliano</td><td class="addr_name_val"></td></tr></table
/td></tr
tr><td class="addr_val">jay@ontimemall.com</td></tr
tr><td class="addr_val">20816 n 20th avenue</td></tr
tr><td class="addr_val">suite 3</td></tr
tr><td class="addr_val">phoenix</td></tr
tr><td class="addr_val">AZ</td></tr
tr><td class="addr_val">85027</td></tr
tr><td class="addr_val">United States</td></tr
tr><td class="addr_val">623 825-1615</td></tr
/table></td
/tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td align="center"
table class="payment"
tr><td class="payment_hdr" colspan=2>Payment -- Credit Card</td></tr
tr><td class="payment"
Payment type: </td><td class="payment_value"> American Express</td></tr
tr><td class="payment">Card Number</td><td class="payment_value"> ***********1007</td></tr
tr
td class="payment">Name on Card</td
td class="payment_value"> jay d guliano</td></tr
tr><td class="payment">Company</td
td class="payment_value"> </td></tr
tr
td class="payment">Expiration Date</td
td class="payment_value"> 08/2006</td></tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td class="email"
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
/table
div align="footer"
center
TABLE
tr><td><a href="http://shopsite.com/cgi-bin/redirect.cgi?key=ups" target="_blank"><img src="https://www.ontimemall.com/shopsite-images/en-US/logo/ups_logo.gif" border=0 alt="UPS®"></a></td
td><Font SIZE="1">NOTICE: These fees do not necessarily represent UPS<br>published rates and may include additional fees levied by <br>On Time Mall Inc.</font></td></tr><tr><td colspan=2><Font SIZE="1">UPS, UPS brandmark, and the Color Brown are trademarks of United Parcel Service of America, Inc. All Rights Reserved.</font></td></tr
/TABLE
/center><p
P
P
CENTER><font color="#000000"><FONT face=arial,helvetica,san-serif size=2>[
A href="http://ontimemall.com/index.html">Home</A> | <A
href="http://ontimemall.com/customerservice.html">Customer Service</A> | <A
href="http://ontimemall.com/manufacturers.html">Find Parts</A> | <A
href="http://ontimemall.com/equipment.html">Find Equipment</A> | <a href="http://ontimemall.com/shop-bin/sc/order.cgi?storeid=*208e86414d099941eefc08ed69999aa0a7b0">View Order</a><p
script language="javascript" src="https://track.roiservice.com/track/trac k.aspx?ROIID= 839820811019" ></script
script language="javascript"
!--
if (typeof(ROIID) + '' != 'undefined')
{
TrackEvent('Sale', ShopSiteAmount);
}
//--
/script
/div
/body
/html
Re: Atlas One Point
First problem I see that you <html><head>..., then you have it again,
there should only be one html and head tag in a document. I'm guessing
that since the var ShopSite Amount is in the first <html><head> that may
be getting lost when the browser hits the second <html><head>... tag.
You document should start like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
TrackEvent('Sale', ss_ordertotal);
Are you using an Order API? Are you using default template or your own?
If you own template, can you send that code?
Scott Norman
YourHost.com
scott@yourhost.com
Jay Guliano wrote:
there should only be one html and head tag in a document. I'm guessing
that since the var ShopSite Amount is in the first <html><head> that may
be getting lost when the browser hits the second <html><head>... tag.
You document should start like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
This code TrackEvent('Sale', ShopSiteAmount); should look like thishtml
head
title>Thank you!</title
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
script type="text/javascript"
!--
var ss_screen = "Shopping Cart";
var ss_sbid = "SSMSB1129916664.29798";
rest of ShopSite Code
TrackEvent('Sale', ss_ordertotal);
Are you using an Order API? Are you using default template or your own?
If you own template, can you send that code?
Scott Norman
YourHost.com
scott@yourhost.com
Jay Guliano wrote:
Attached is a copy of the code from the confirmation page cut out of an
actual purchase I made to test it.
html
head
title
Thank you!
/title
script language="JavaScript"
var ShopSiteAmount = 24.30;
/script
/head
!--
Content-type: text/html
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
html
head
title>Thank you!</title
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
script type="text/javascript"
!--
var ss_screen = "Shopping Cart";
var ss_sbid = "SSMSB1129916664.29798";
var ss_ordernum = "21106";
var ss_ordertotal = "32.62";
var ss_subtotal = "24.30";
var ss_taxtotal = "1.97";
var ss_shiptotal = "6.35";
var ss_name = new Array;
var ss_sku = new Array;
var ss_quantity = new Array;
var ss_price = new Array;
var ss_weight = new Array;
var ss_total_price = new Array;
var ss_field1 = new Array;
var ss_field2 = new Array;
var ss_field3 = new Array;
var ss_field4 = new Array;
var ss_field5 = new Array;
ss_name[0]="34A Motor Base";
ss_sku[0]="34A";
ss_quantity[0]=1;
ss_weight[0]=2.00;
ss_price[0]="24.30";
ss_total_price[0]="24.30";
ss_field1[0]="";
ss_field2[0]="";
ss_field3[0]="";
ss_field4[0]="";
ss_field5[0]="";
var number_products=1;
var number_coupons=0;
// --
/script
style type="text/css"
!--
/*********************************************************/
/*** Cascading Style Sheet for ShopSite Classic Theme ***/
/*** Shipping Screen ***/
/*********************************************************/
/***********************/
/*** Page Defaults ***/
/***********************/
body {
color: #000000;
background-color: #CCCCCC;
}
/***********************/
/*** Hyperlinks ***/
/***********************/
a:link {
color: #0000FF;
}
a:visited {
color: #990066;
}
a:hover {
color: #0000FF;
}
a:active {
color: #996633;
}
/**********************************/
/*** Table of Products (Cart) ***/
/**********************************/
table.cart {
width: 100%;
padding-top: 1em;
border-collapse: separate;
border-spacing: 3px;
}
th {
text-align: center;
}
td.cart_quantity, td.cart_cp_quantity {
padding: 3px;
text-align: center;
background-color: #FFFFCC;
}
td.cart_name, td.cart_cp_name {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_sku, td.cart_cp_sku {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_price, td.cart_cp_price {
padding: 3px;
font-style: italic;
text-align: right;
background-color: #FFFFCC;
}
td.cart_total, td.cart_cp_total {
padding: 3px;
text-align: right;
background-color: #FFFFCC;
}
td.cart_op {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_op1, td.cart_op2 {
padding: 3px;
background-color: #FFFFCC;
}
/***************************************/
/*** Table of Totals ***/
/*** Subtotal, Tax, Shipping, etc. ***/
/***************************************/
table.totals {
color: #000000;
vertical-align: middle;
line-height: 150%;
}
td.totals_txt, td.totals_saved_txt, td_totals_blank {
text-align: right;
padding-right: 15px;
}
td.totals, td.totals_saved {
text-align: right;
padding-right: 3px;
}
td.totals_all, td.totals_all_txt {
font-weight: bold;
}
/***********************/
/*** Address Table ***/
/***********************/
table.addr { /* outer table that contains both billing and shipping addresses */
color: #000000;
}
table.bill_addr, table.ship_addr { /* inner table for billing and shipping address */
margin-left: 0px;
margin-right: auto;
}
table.addr_name { /* table of registered name elements */
margin-left: -4px;
margin-right: auto;
}
td.bill_addr_hdr, td.ship_addr_hdr {
font-weight: bold;
text-align: left;
}
td.addr {
text-align: right;
padding-right: 5px;
}
td.addr_val {
text-align: left;
}
td.addr_foot { /* footnote about required fields */
font: bold smaller Arial;
text-align: center;
}
td.sql_addr {
padding-right: 15px;
}
/***********************/
/*** Payment Table ***/
/***********************/
table.payment{
color: #000000;
margin-left: auto;
margin-right: auto;
}
table.pay_holder {
margin-left: auto;
margin-right: auto;
}
td.payment_hdr {
font-weight: bold;
text-align: center;
}
td.paymentselection {
text-align: center;
padding-top: 20px;
}
td.payment {
text-align: left;
}
td.payment_value {
text-align: left;
}
td.sql_pay {
padding-right: 15px;
}
/*************************************/
/*** Ordering Instructions Table ***/
/*************************************/
table.instruct {
padding-bottom: .5em;
}
td.instruct_hdr {
font-weight: bold;
text-align: center
}
/**********************************/
/*** Comments/More Info Table ***/
/**********************************/
table.comm {
padding-bottom: .5em;
}
td.comm_hdr {
font-weight: bold;
text-align: center
}
table.CustomHTML {
text-align: center;
padding-bottom: .5em;
}
td.email {
text-align: center;
padding-bottom: .5em;
}
div.header {
}
div.footer {
padding-top: 1em;
padding-bottom: 1em;
}
div#messages {
}
td.buttons {
text-align: center;
padding-top: .5em;
}
/*********************************/
/*** Table of Error Messages ***/
/*********************************/
td.checkout_err {
color: #000000;
background-color: #FFFFCC;
}
td.ups_error {
vertical-align: middle;
}
--
/style
/head
body
center
A HREF="http://ontimemall.com/index.html"
IMG SRC="https://www.ontimemall.com/shopsite-ima ... _store.gif" BORDER=0></A></center
div class="header"
center><h3>THANK YOU FOR SHOPPING AT <U>On Time Mall</U></h3></center
/div
table border="0" width="0" align="center"
tr
td
Use your browsers print feature to <strong>make a hard copy of this receipt:</strong><br>
/td
/tr
tr
td align="center"
b>Order Number: 21106</b
/td
/tr
tr
td align="right"
table class="cart"
tr><th class="cart_quantity">Quantity</th><th class="cart_name">Name</th><th class="cart_sku">SKU</th><th class="cart_price">Each</th><th class="cart_total">Total</th></tr
tr><td class="cart_quantity">1</td
td class="cart_name">34A Motor Base </td
td class="cart_sku">34A</td
td class="cart_price">$24.30</td
td class="cart_total">$24.30</td
/tr
/table
/td
/tr
tr
td align="right"
table class="totals"
tr><td class="totals_txt">Sub Total</td
td class="totals">$24.30</td
/tr
tr
td class="totals_txt">UPS Ground</td
td class="totals">$6.35</td
/tr
input type=hidden name="surcharge" value=-1
input type=hidden name="tax" value="3"><tr
td class="totals_txt">Tax Total: Arizona Tax (8.1%)</td
td class="totals">$1.97</td
/tr
tr
td class="totals_all_txt">Total</td
td class="totals_all">$32.62</td
/tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td align="center"
table class="addr" cellspacing="20"
tr><td valign=top><table class="bill_addr"
tr><td class="bill_addr_hdr">Billing Address</td></tr
tr><td
table class="addr_name"><tr><td class="addr_name_val"></td><td class="addr_name_val">jay</td><td class="addr_name_val"></td><td class="addr_name_val">guliano</td><td class="addr_name_val"></td></tr></table
/td></tr
tr><td class="addr_val">jay@ontimemall.com</td></tr
tr><td class="addr_val">20816 n 20th avenue</td></tr
tr><td class="addr_val">suite 3</td></tr
tr><td class="addr_val">phoenix</td></tr
tr><td class="addr_val">AZ</td></tr
tr><td class="addr_val">85027</td></tr
tr><td class="addr_val">United States</td></tr
tr><td class="addr_val">623 825-1615</td></tr
/table></td
/tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td align="center"
table class="payment"
tr><td class="payment_hdr" colspan=2>Payment -- Credit Card</td></tr
tr><td class="payment"
Payment type: </td><td class="payment_value"> American Express</td></tr
tr><td class="payment">Card Number</td><td class="payment_value"> ***********1007</td></tr
tr
td class="payment">Name on Card</td
td class="payment_value"> jay d guliano</td></tr
tr><td class="payment">Company</td
td class="payment_value"> </td></tr
tr
td class="payment">Expiration Date</td
td class="payment_value"> 08/2006</td></tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td class="email"
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
/table
div align="footer"
center
TABLE
tr><td><a href="http://shopsite.com/cgi-bin/redirect.cgi?key=ups" target="_blank"><img src="https://www.ontimemall.com/shopsite-ima ... s_logo.gif" border=0 alt="UPS®"></a></td
td><Font SIZE="1">NOTICE: These fees do not necessarily represent UPS<br>published rates and may include additional fees levied by <br>On Time Mall Inc.</font></td></tr><tr><td colspan=2><Font SIZE="1">UPS, UPS brandmark, and the Color Brown are trademarks of United Parcel Service of America, Inc. All Rights Reserved.</font></td></tr
/TABLE
/center><p
P
P
CENTER><font color="#000000"><FONT face=arial,helvetica,san-serif size=2>[
A href="http://ontimemall.com/index.html">Home</A> | <A
href="http://ontimemall.com/customerservice.html">Customer Service</A> | <A
href="http://ontimemall.com/manufacturers.html">Find Parts</A> | <A
href="http://ontimemall.com/equipment.html">Find Equipment</A> | <a href="http://ontimemall.com/shop-bin/sc/order ... a7b0">View Order</a><p
script language="javascript" src="https://track.roiservice.com/track/trac k.aspx?ROIID= 839820811019" ></script
script language="javascript"
!--
if (typeof(ROIID) + '' != 'undefined')
{
TrackEvent('Sale', ShopSiteAmount);
}
//--
/script
/div
/body
/html
Re: Atlas One Point
First problem I see that you <html><head>..., then you have it again,
there should only be one html and head tag in a document. I'm guessing
that since the var ShopSite Amount is in the first <html><head> that may
be getting lost when the browser hits the second <html><head>... tag.
You document should start like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
TrackEvent('Sale', ss_ordertotal);
Are you using an Order API? Are you using default template or your own?
If you own template, can you send that code?
Scott Norman
YourHost.com
scott@yourhost.com
Jay Guliano wrote:
there should only be one html and head tag in a document. I'm guessing
that since the var ShopSite Amount is in the first <html><head> that may
be getting lost when the browser hits the second <html><head>... tag.
You document should start like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
This code TrackEvent('Sale', ShopSiteAmount); should look like thishtml
head
title>Thank you!</title
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
script type="text/javascript"
!--
var ss_screen = "Shopping Cart";
var ss_sbid = "SSMSB1129916664.29798";
rest of ShopSite Code
TrackEvent('Sale', ss_ordertotal);
Are you using an Order API? Are you using default template or your own?
If you own template, can you send that code?
Scott Norman
YourHost.com
scott@yourhost.com
Jay Guliano wrote:
Attached is a copy of the code from the confirmation page cut out of an
actual purchase I made to test it.
html
head
title
Thank you!
/title
script language="JavaScript"
var ShopSiteAmount = 24.30;
/script
/head
!--
Content-type: text/html
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
html
head
title>Thank you!</title
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
script type="text/javascript"
!--
var ss_screen = "Shopping Cart";
var ss_sbid = "SSMSB1129916664.29798";
var ss_ordernum = "21106";
var ss_ordertotal = "32.62";
var ss_subtotal = "24.30";
var ss_taxtotal = "1.97";
var ss_shiptotal = "6.35";
var ss_name = new Array;
var ss_sku = new Array;
var ss_quantity = new Array;
var ss_price = new Array;
var ss_weight = new Array;
var ss_total_price = new Array;
var ss_field1 = new Array;
var ss_field2 = new Array;
var ss_field3 = new Array;
var ss_field4 = new Array;
var ss_field5 = new Array;
ss_name[0]="34A Motor Base";
ss_sku[0]="34A";
ss_quantity[0]=1;
ss_weight[0]=2.00;
ss_price[0]="24.30";
ss_total_price[0]="24.30";
ss_field1[0]="";
ss_field2[0]="";
ss_field3[0]="";
ss_field4[0]="";
ss_field5[0]="";
var number_products=1;
var number_coupons=0;
// --
/script
style type="text/css"
!--
/*********************************************************/
/*** Cascading Style Sheet for ShopSite Classic Theme ***/
/*** Shipping Screen ***/
/*********************************************************/
/***********************/
/*** Page Defaults ***/
/***********************/
body {
color: #000000;
background-color: #CCCCCC;
}
/***********************/
/*** Hyperlinks ***/
/***********************/
a:link {
color: #0000FF;
}
a:visited {
color: #990066;
}
a:hover {
color: #0000FF;
}
a:active {
color: #996633;
}
/**********************************/
/*** Table of Products (Cart) ***/
/**********************************/
table.cart {
width: 100%;
padding-top: 1em;
border-collapse: separate;
border-spacing: 3px;
}
th {
text-align: center;
}
td.cart_quantity, td.cart_cp_quantity {
padding: 3px;
text-align: center;
background-color: #FFFFCC;
}
td.cart_name, td.cart_cp_name {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_sku, td.cart_cp_sku {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_price, td.cart_cp_price {
padding: 3px;
font-style: italic;
text-align: right;
background-color: #FFFFCC;
}
td.cart_total, td.cart_cp_total {
padding: 3px;
text-align: right;
background-color: #FFFFCC;
}
td.cart_op {
padding: 3px;
text-align: left;
background-color: #FFFFCC;
}
td.cart_op1, td.cart_op2 {
padding: 3px;
background-color: #FFFFCC;
}
/***************************************/
/*** Table of Totals ***/
/*** Subtotal, Tax, Shipping, etc. ***/
/***************************************/
table.totals {
color: #000000;
vertical-align: middle;
line-height: 150%;
}
td.totals_txt, td.totals_saved_txt, td_totals_blank {
text-align: right;
padding-right: 15px;
}
td.totals, td.totals_saved {
text-align: right;
padding-right: 3px;
}
td.totals_all, td.totals_all_txt {
font-weight: bold;
}
/***********************/
/*** Address Table ***/
/***********************/
table.addr { /* outer table that contains both billing and shipping addresses */
color: #000000;
}
table.bill_addr, table.ship_addr { /* inner table for billing and shipping address */
margin-left: 0px;
margin-right: auto;
}
table.addr_name { /* table of registered name elements */
margin-left: -4px;
margin-right: auto;
}
td.bill_addr_hdr, td.ship_addr_hdr {
font-weight: bold;
text-align: left;
}
td.addr {
text-align: right;
padding-right: 5px;
}
td.addr_val {
text-align: left;
}
td.addr_foot { /* footnote about required fields */
font: bold smaller Arial;
text-align: center;
}
td.sql_addr {
padding-right: 15px;
}
/***********************/
/*** Payment Table ***/
/***********************/
table.payment{
color: #000000;
margin-left: auto;
margin-right: auto;
}
table.pay_holder {
margin-left: auto;
margin-right: auto;
}
td.payment_hdr {
font-weight: bold;
text-align: center;
}
td.paymentselection {
text-align: center;
padding-top: 20px;
}
td.payment {
text-align: left;
}
td.payment_value {
text-align: left;
}
td.sql_pay {
padding-right: 15px;
}
/*************************************/
/*** Ordering Instructions Table ***/
/*************************************/
table.instruct {
padding-bottom: .5em;
}
td.instruct_hdr {
font-weight: bold;
text-align: center
}
/**********************************/
/*** Comments/More Info Table ***/
/**********************************/
table.comm {
padding-bottom: .5em;
}
td.comm_hdr {
font-weight: bold;
text-align: center
}
table.CustomHTML {
text-align: center;
padding-bottom: .5em;
}
td.email {
text-align: center;
padding-bottom: .5em;
}
div.header {
}
div.footer {
padding-top: 1em;
padding-bottom: 1em;
}
div#messages {
}
td.buttons {
text-align: center;
padding-top: .5em;
}
/*********************************/
/*** Table of Error Messages ***/
/*********************************/
td.checkout_err {
color: #000000;
background-color: #FFFFCC;
}
td.ups_error {
vertical-align: middle;
}
--
/style
/head
body
center
A HREF="http://ontimemall.com/index.html"
IMG SRC="https://www.ontimemall.com/shopsite-ima ... _store.gif" BORDER=0></A></center
div class="header"
center><h3>THANK YOU FOR SHOPPING AT <U>On Time Mall</U></h3></center
/div
table border="0" width="0" align="center"
tr
td
Use your browsers print feature to <strong>make a hard copy of this receipt:</strong><br>
/td
/tr
tr
td align="center"
b>Order Number: 21106</b
/td
/tr
tr
td align="right"
table class="cart"
tr><th class="cart_quantity">Quantity</th><th class="cart_name">Name</th><th class="cart_sku">SKU</th><th class="cart_price">Each</th><th class="cart_total">Total</th></tr
tr><td class="cart_quantity">1</td
td class="cart_name">34A Motor Base </td
td class="cart_sku">34A</td
td class="cart_price">$24.30</td
td class="cart_total">$24.30</td
/tr
/table
/td
/tr
tr
td align="right"
table class="totals"
tr><td class="totals_txt">Sub Total</td
td class="totals">$24.30</td
/tr
tr
td class="totals_txt">UPS Ground</td
td class="totals">$6.35</td
/tr
input type=hidden name="surcharge" value=-1
input type=hidden name="tax" value="3"><tr
td class="totals_txt">Tax Total: Arizona Tax (8.1%)</td
td class="totals">$1.97</td
/tr
tr
td class="totals_all_txt">Total</td
td class="totals_all">$32.62</td
/tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td align="center"
table class="addr" cellspacing="20"
tr><td valign=top><table class="bill_addr"
tr><td class="bill_addr_hdr">Billing Address</td></tr
tr><td
table class="addr_name"><tr><td class="addr_name_val"></td><td class="addr_name_val">jay</td><td class="addr_name_val"></td><td class="addr_name_val">guliano</td><td class="addr_name_val"></td></tr></table
/td></tr
tr><td class="addr_val">jay@ontimemall.com</td></tr
tr><td class="addr_val">20816 n 20th avenue</td></tr
tr><td class="addr_val">suite 3</td></tr
tr><td class="addr_val">phoenix</td></tr
tr><td class="addr_val">AZ</td></tr
tr><td class="addr_val">85027</td></tr
tr><td class="addr_val">United States</td></tr
tr><td class="addr_val">623 825-1615</td></tr
/table></td
/tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td align="center"
table class="payment"
tr><td class="payment_hdr" colspan=2>Payment -- Credit Card</td></tr
tr><td class="payment"
Payment type: </td><td class="payment_value"> American Express</td></tr
tr><td class="payment">Card Number</td><td class="payment_value"> ***********1007</td></tr
tr
td class="payment">Name on Card</td
td class="payment_value"> jay d guliano</td></tr
tr><td class="payment">Company</td
td class="payment_value"> </td></tr
tr
td class="payment">Expiration Date</td
td class="payment_value"> 08/2006</td></tr></table
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
tr
td class="email"
/td
/tr
tr><td align="center"><hr noshade size="2"></td></tr
/table
div align="footer"
center
TABLE
tr><td><a href="http://shopsite.com/cgi-bin/redirect.cgi?key=ups" target="_blank"><img src="https://www.ontimemall.com/shopsite-ima ... s_logo.gif" border=0 alt="UPS®"></a></td
td><Font SIZE="1">NOTICE: These fees do not necessarily represent UPS<br>published rates and may include additional fees levied by <br>On Time Mall Inc.</font></td></tr><tr><td colspan=2><Font SIZE="1">UPS, UPS brandmark, and the Color Brown are trademarks of United Parcel Service of America, Inc. All Rights Reserved.</font></td></tr
/TABLE
/center><p
P
P
CENTER><font color="#000000"><FONT face=arial,helvetica,san-serif size=2>[
A href="http://ontimemall.com/index.html">Home</A> | <A
href="http://ontimemall.com/customerservice.html">Customer Service</A> | <A
href="http://ontimemall.com/manufacturers.html">Find Parts</A> | <A
href="http://ontimemall.com/equipment.html">Find Equipment</A> | <a href="http://ontimemall.com/shop-bin/sc/order ... a7b0">View Order</a><p
script language="javascript" src="https://track.roiservice.com/track/trac k.aspx?ROIID= 839820811019" ></script
script language="javascript"
!--
if (typeof(ROIID) + '' != 'undefined')
{
TrackEvent('Sale', ShopSiteAmount);
}
//--
/script
/div
/body
/html