Magento 1 Checkout Success Page v1.x Developer Guide and API Reference

In this developer documentation for the Magento Checkout Success Page Extension, you will find step-by-step instructions, sample code, and API references to fully customize your plugin.

Adding Tracking Code Manually

In order to add tracking code on page manually, follow the instructions below:

1.Copу the file:


2. Paste it to the folder with your theme:

  • where YOUR_THEME is the name of your theme.

3. At the very end of the copied file please paste the tracking code you have.


<script type="text/javascript">
        var checkoutspage = new _checkoutspage({
            previewMode: '<?php 
                echo ($this->getRequest()->getParam('preview')) ? 'true' : 'false'; ?>'
    <div id="csp-extension" class="mod-checkoutspage">
        <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
        <div class="csp-cf">
            <div class="csp-left-col">
                <?php echo $this->getChildHtml('csp_left_block'); ?>
            <div class="csp-right-col">
                <?php echo $this->getChildHtml('csp_right_block'); ?>
        <div class="csp-bottom-col csp-cf">
            <?php echo $this->getChildHtml('csp_bottom_block'); ?>
    <script type="text/javascript">
        pjQuery_1_10_2(document).ready(function () {
    <!-- Google Code for AdWords Transactions Conversion Page -->
    <script type="text/javascript">
            / < ![CDATA[/
        var google_conversion_id = 85668555;
        var google_conversion_language = "en";
        var google_conversion_format = "3";
        var google_conversion_color = "c71414";
        var google_conversion_label = "exbPxfsdfsd2wM";
        var google_conversion_value = 50.00;
        var google_remarketing_only = false;
        / ]]> /
    <script type="text/javascript" src="//">
        <div style="display:inline;">
            <img height="1" width="1" style="border-style:none;" alt=""

Was this article helpful?