| SWREG |
| |
Integration with SWREG is very simple - you only need to place sale tracking script into the template of order confirmation page.
If you use Advanced ordering method, then you probably don't need to follow the steps below. Use the General Solution tracking code and put it to your own custom order confirmation page.
If you use standard ordering, follow the steps below.
|
| |
1 Login
|
Log in to SWREG admin panel and click to edit your look and feel templates
If your templates are disabled, you should enable them by clicking on the top link enable templates.
|
|
2 Edit Credit Card Confirmation Template
|
Open Credit Card Confirmation Template and edit it's code. If you don't have this template customized yet, you should download the system template and make the changes there.
Put one of the following codes anywhere inside the <body> </body> tags of the template.
|
|
Javascript Code
|
|
|
| OR |
|
Image Code
|
|
|
| |
Please take care to replace
<?=$orderId?>
and
<?=$orderAmount?>
in the sale code with your server side script notations for the orderid and total amount variable used in your website.
|
| If you want to use secure images, only replace http:// with https:// in script src.
|
|
3 Finished
|
| This way you added tracking code to Credit Card Confirmation Template. You should do the same for other ordering methods, like PayPal Template, Wire Transfer Ordering Template and Check/Cheque Ordering Template
|
|
| |