Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Aweber Sales Tracking...



tnpc
member
Posts: 1


I'm trying to integrate the sales tracking of Aweber into our checkout process. All items use the e-junkie generated Thank You pages.

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


#
POSTED ON: January 24, 2012 @ 10:39 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


Item-specific template variables will only work in product-specific Message (HTML) fields; they will not work in the Common Thank-you Page HTML field because that field is not associated with any particular product. Your E-junkie-generated thank-you pages will include both your Common Thank-you Page HTML at the bottom of the page and the Message (HTML) for each item ordered.

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


#
POSTED ON: January 24, 2012 @ 15:19 GMT -7
MODIFIED ON: January 24, 2012 @ 15:26 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam