Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28
  1. #21
    Join Date
    Nov 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Where to put my Affiliate Tracking Code??

    That ended up comming up blank and $0 too. Here is an example of a seperate cart with a totally different account/aspect for the business that the companies old developer inserted into their cart. It worked for them. It looks like it was inserted into their checkout success page in a .cfm page. I'm not sure what cart they were using but here it is:

    <!-- PayneMason Tag Begins Here -->
    <script language='Javascript'>
    document.write( '<scr'+'ipt language="Javascript" src="https://hits.affiliatetraction.com/cgi-bin/convert?js=1&offer=4656&amount=#currentCart.orderTotal#&uid=#currentCart.orderNu mber#"><\/scr'+'ipt>' );
    </script>
    <noscript><img src='https://hits.affiliatetraction.com/cgi-bin/convert?offer=4656&amount=#currentCart.orderTotal#&uid=#currentCart.orderNumber# ' border=0 width=1 height=1></noscript>
    <!-- PayneMason Tag Ends Here -->

    Does this help any??

  2. #22
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Where to put my Affiliate Tracking Code??

    Quote Originally Posted by danwebman View Post
    ZenCart: v1.3.7
    When was this site installed?
    Has this site ever been upgraded from prior versions? Which versions?
    What addons have you installed?
    What customizations have you made?
    Which files do you have overrides for?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #23
    Join Date
    Nov 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Where to put my Affiliate Tracking Code??

    When was this site installed? ==1 month ago (1.3.7 Because the FedEx Module was not working properly with 1.3.8)
    Has this site ever been upgraded from prior versions? ==Nope
    What addons have you installed? ==FedEx Shipping Module, Order Export Module so I can export them to Excel Spreadsheets
    What customizations have you made? ==Just a few colors in the template stylesheet - Background Black, text white, etc...
    Which files do you have overrides for? ==Just the tpl_footer in the checkput_success folder

    There have been a couple posts earlier from people with the exact same problem of not geting a correct tag that communicated with their affiliate tracking, but no one ever said if or how they came up with a solution. I messaged them with no response


    http://www.zen-cart.com/forum/showthread.php?t=85871
    http://www.zen-cart.com/forum/showthread.php?t=107506
    http://www.zen-cart.com/forum/showthread.php?t=73075

    I am dying over this!

  4. #24
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Where to put my Affiliate Tracking Code??

    Quote Originally Posted by danwebman View Post
    I am dying over this!
    nice.


    As I said earlier, there were numerous important fixes in 1.3.8 to allow order information to be easily accessible on the checkout-success page. Lots of good reasons to use current code, including the ability for support folks to help you. There are lots of reports of people successfully using the fedex module on 1.3.8. Maybe you have a bad version of it.

    I've dug up the old v1.3.7 code from the archives once again, and it looks like you'll have to do similarly to what the others used in the threads you linked to.

    For the order number, use <?php echo $orders_id; ?>
    For the final order price, use <?php echo $orders->fields['order_total']; ?>

    That "order_total" value will include taxes and shipping. With v1.3.8, you can get the amount before taxes and shipping very easily using the instructions I gave earlier.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #25
    Join Date
    Jun 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Where to put my Affiliate Tracking Code??

    I'm having a VERY STRANGE problem here... (running 1.3.8)

    I placed the following two tags on my checkout success page:

    <?php echo $order_summary['commissionable_order'];?>
    <?php echo $order_summary['order_number'];?>

    When I view the success page normally in the browser, it CORRECTLY displays the Order Number value and Sub-Total value as text on the page. Good.

    However, when I VIEW THE SOURCE from the browser, these text values are invisible! WTF!?

    I need to add these two values as part of an HTML image tag, which is a tracking pixel for Commission Junction.

    Why can I see these values in the page, but not in the page source?? How do I fix this??

  6. #26
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Where to put my Affiliate Tracking Code??

    No idea.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #27
    Join Date
    May 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Where to put my Affiliate Tracking Code??

    I am running into the very same problem and am curious if one has any insight on what may be going on.

    We are currently using Zen Cart version 1.3.8a and are using the silverfish template. We are starting to look into some affiliate marketing and they provided their tracking code which was submitted by Zen Cart support. I created a directory called "checkout_success" in the /includes/templates/silverfish directory and then created a file called "tpl_footer.php" and inserted the tracking code which is written in PHP. I then run a test transaction and upon viewing the source code it does not include the tracking code. To ensure that I was in the correct directory I added the text "TESTING" and it appears on the checkout success page as well as in the source code but the tracking code will just not appear. I have looked through other posts but have not seen a solution to this.

    Any help would be greatly appreciated. Our website link is below. Thanks in advance.

    http://www.tonerrefillstore.com

  8. #28
    Join Date
    May 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Where to put my Affiliate Tracking Code??

    Would anyone have any thoughts on this one. I am still having this issue and its preventing us from starting our affiliate marketing.

    Again I had created the "checkout_success" directory and added the "tpl_footer.php" file including our affiliate tracking code but it will not show up in the source code nor does it send the sale information to our affiliates. If I just enter the word "TEST" in that same file it will show up at the bottom of the checkout_success page. I have also noticed that our footer(which contains links to the home page and our about us page, along with the copyright 2011 information) does not show up on our checkout_success page but does on all of our other pages.

    Any help would be greatly appreciated.

    Thanks

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Where to put google analytics tracking code???
    By cmike in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Apr 2014, 08:05 AM
  2. where 2 put PaidOnResults affiliate tracking code
    By barricades in forum General Questions
    Replies: 8
    Last Post: 20 Oct 2010, 12:52 PM
  3. Replies: 5
    Last Post: 27 May 2009, 07:50 PM
  4. Where do I put a tracking pixel for an affilaite network?
    By beejeebers in forum General Questions
    Replies: 2
    Last Post: 27 Nov 2008, 01:48 PM
  5. How do I put a Google tracking code in my checkout-success file?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 25 Jul 2008, 07:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg