Author Topic: How to add conversion code?  (Read 2003 times)

Offline kaitsie22

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
How to add conversion code?
« on: March 18, 2013, 04:43:00 AM »
Hi, trying to add conversion code in the 'Thank You' page of checking out.

Anyone figure out how to do so?


Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4219
  • Karma: +266/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to add conversion code?
« Reply #1 on: March 18, 2013, 07:05:30 AM »
Success template is shared with few different submit processes.  It will not be right to add it to that template.

You can add javascript to success controller. It will be loaded right after order is placed.


Code: [Select]
$this->document->addScript(RDIR_TEMPLATE . 'javascript/[YOUR FILE]');
somewhere after  line:
Code: [Select]
We need your help to build better free open source eCommerce platform for everyone.
See how you can help


Powered by SMFPacks Social Login Mod