E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Tue, 24 Jan 2012 22:19:08 GMT Sat, 25 May 2013 18:27:21 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #2 http://www.e-junkie.com/bb/topic/5694/pg/0#post20147 http://www.e-junkie.com/bb/topic/5694/pg/0#post20147 Tue, 24 Jan 2012 22:19:08 GMT
This help page lists which template variables will work in which fields, and at the end of the page you can see an example demonstrating which customization fields get inserted where:
http://www.e-junkie.com/ej/help.custom.thankyou-page.htm

If you need to use some Order Specific variables that aren't supported for product-specific Message (HTML) fields, you can split up your tracking javascript to declare JS vars where needed -- e.g., if your tracking code needs to have something like this:

<script type="text/javascript">
var price='[%sale_price%]';
var item='[%item_name%]';
var total='[%gross%]';
</script>

...you could put this part in your product's Message (HTML) field:

<script type="text/javascript">
var price='[%sale_price%]';
var item='[%item_name%]';
</script>

...and put this in your Common Thank-you Page HTML field:

<script type="text/javascript">
var total='[%gross%]';
</script>

One issue with this is that orders for multiple items would have the same item-specific vars declared multiple times, which can be a problem if your tracking code doesn't provide a way to distinguish vars for one item from another. In this case you may need to use our Buy Now buttons, which bypass our cart and take buyers directly to instant checkout for just one item at a time:
http://www.e-junkie.com/ej/help.buttons.buy-now.htm

Finally, bear in mind the caveats about thank-you page visits explained here:
http://www.e-junkie.com/ej/faq.tracking.conversions.htm

Download buyers would need to visit their E-junkie thank-you page at some point to claim their download, but if you're selling tangible goods or services rather than downloads, see the tips here to have buyers auto-redirected to your E-junkie thank-you page after checkout:
http://www.e-junkie.com/ej/tips.tracking.conversions.htm]]>
E-junkie Discussions; E-junkieGuru
Post #1 http://www.e-junkie.com/bb/topic/5694/pg/0#post20147 http://www.e-junkie.com/bb/topic/5694/pg/0#post20147 Tue, 24 Jan 2012 17:39:30 GMT
Aweber has two ways to track sales. One involevs adding parameters to the Thank You page URL. The other involves putting some Javascript on the Thank You page.

I don't see a way to add parameters to the thank you page. If there is that would be the way to go. So first question - is there a way to append parameters to the Thank You page URL when using the built-in Thank You page.

I did try adding the JavaScript. I really don't know JavaScript but can cut and paste. Here is the code Aweber supplies with the e-junkie variables inserted:

<!-- AWeber Analytics Customization Code -->
<script type="text/javascript">
var awt_value='[%sale_price%]';
var awt_note='[%item_name%]';
</script>
<!-- end AWeber Analytics Customization Code -->

Here is the issue. If I put this code into the Global Thank You customization the template variables do not convert to the actual values. If I put the code into a specific product's Thank You customization the variables do convert to actual values.

Obviously it is better to do this globally rather than have to remember to add the code to each product that is created.

To summarize my post:

1. Is it possible to append parameters to the built-in e-junkie Thank You page URL?
2. Why do my template variables convert correctly on products but not in the global customization?

Thank you for any insight.

Dan]]>
E-junkie Discussions; tnpc