{"id":268,"date":"2020-02-28T16:02:36","date_gmt":"2020-02-28T16:02:36","guid":{"rendered":"http:\/\/wiki2.plumserver.com\/knowledge-base\/magento-checkout-success-page-v1-x-developers-guide-and-api-reference"},"modified":"2021-09-24T08:32:47","modified_gmt":"2021-09-24T12:32:47","slug":"magento-1-checkout-success-page-v1-developer-guide","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide","title":{"rendered":"Magento 1 Checkout Success Page v1.x Developer Guide and API Reference"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this developer documentation for the&nbsp;<a href=\"https:\/\/plumrocket.com\/magento-amp\">Magento Checkout Success Page Extension<\/a>, you will find step-by-step instructions, sample code, and API references to fully customize your plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adding-tracking-code-manually\">Adding Tracking Code Manually<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In order to add tracking code on page manually, follow the instructions below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.Cop\u0443 the file:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\" data-line=\"\">\/app\/design\/frontend\/base\/default\/template\/checkoutspage\/page.phtml<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">2. Paste it to the folder with your theme:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\" data-line=\"\">\/app\/design\/frontend\/YOUR_THEME\/default\/template\/checkoutspage\/page.phtml<\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>where YOUR_THEME is the name of your theme.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">3. At the very end of the copied file please paste the tracking code you have.<\/p>\n\n\n<div class=\"example-block\">\n<p class=\"example-block-title\">Example:<\/p>\n<div class=\"wp-block-prismatic-blocks\">\n<div><\/div>\n<pre><code class=\"language-markup\" data-line=\"\">&lt;script type=&quot;text\/javascript&quot;&gt;\n        var checkoutspage = new _checkoutspage({\n            previewMode: &#039;&lt;?php \n                echo ($this-&gt;getRequest()-&gt;getParam(&#039;preview&#039;)) ? &#039;true&#039; : &#039;false&#039;; ?&gt;&#039;\n        });\n    &lt;\/script&gt;\n     \n    &lt;div id=&quot;csp-extension&quot; class=&quot;mod-checkoutspage&quot;&gt;\n        &lt;?php echo $this-&gt;getMessagesBlock()-&gt;getGroupedHtml() ?&gt;\n        &lt;div class=&quot;csp-cf&quot;&gt;\n            &lt;div class=&quot;csp-left-col&quot;&gt;\n                &lt;?php echo $this-&gt;getChildHtml(&#039;csp_left_block&#039;); ?&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;csp-right-col&quot;&gt;\n                &lt;?php echo $this-&gt;getChildHtml(&#039;csp_right_block&#039;); ?&gt;\n            &lt;\/div&gt;\n        &lt;\/div&gt;\n     \n        &lt;div class=&quot;csp-bottom-col csp-cf&quot;&gt;\n            &lt;?php echo $this-&gt;getChildHtml(&#039;csp_bottom_block&#039;); ?&gt;\n        &lt;\/div&gt;\n    &lt;\/div&gt;\n     \n    &lt;script type=&quot;text\/javascript&quot;&gt;\n        pjQuery_1_10_2(document).ready(function () {\n            checkoutspage.documentRead();\n        })\n    &lt;\/script&gt;\n    &lt;!-- Google Code for AdWords Transactions Conversion Page --&gt;\n    &lt;script type=&quot;text\/javascript&quot;&gt;\n            \/ &lt; ![CDATA[\/\n        var google_conversion_id = 85668555;\n        var google_conversion_language = &quot;en&quot;;\n        var google_conversion_format = &quot;3&quot;;\n        var google_conversion_color = &quot;c71414&quot;;\n        var google_conversion_label = &quot;exbPxfsdfsd2wM&quot;;\n        var google_conversion_value = 50.00;\n        var google_remarketing_only = false;\n        \/ ]]&gt; \/\n    &lt;\/script&gt;\n    &lt;script type=&quot;text\/javascript&quot; src=&quot;\/\/www.googleadservices.com\/pagead\/conversion.js&quot;&gt;\n    &lt;\/script&gt;\n    &lt;noscript&gt;\n        &lt;div style=&quot;display:inline;&quot;&gt;\n            &lt;img height=&quot;1&quot; width=&quot;1&quot; style=&quot;border-style:none;&quot; alt=&quot;&quot;\n                src=&quot;\/\/www.googleadservices.com\/pagead\/conversion\/xxxxxxx\/?value=50.00\/&gt;\n        &lt;\/div&gt;\n    &lt;\/noscript&gt;<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this developer documentation for the&nbsp;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\u0443 the file: 2. Paste it to the folder with your theme: where &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 1 Checkout Success Page v1.x Developer Guide and API Reference&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[246],"tags":[],"class_list":["post-268","post","type-post","status-publish","format-standard","hentry","category-magento-1-checkout-success-page-v1","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v28.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Magento Checkout Success Page v1.x Developer Guide and API Reference - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"In this developer documentation for the&nbsp;Magento Checkout Success Page Extension, you will find step-by-step instructions, sample code, and API\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 1 Checkout Success Page v1.x Developer Guide and API Reference\" \/>\n<meta property=\"og:description\" content=\"In this developer documentation for the&nbsp;Magento Checkout Success Page Extension, you will find step-by-step instructions, sample code, and API\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-28T16:02:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-24T12:32:47+00:00\" \/>\n<meta name=\"author\" content=\"Plumrocket\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Magento Checkout Success Page v1.x Developer Guide and API Reference - Plumrocket Documentation","description":"In this developer documentation for the&nbsp;Magento Checkout Success Page Extension, you will find step-by-step instructions, sample code, and API","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide","og_locale":"en_US","og_type":"article","og_title":"Magento 1 Checkout Success Page v1.x Developer Guide and API Reference","og_description":"In this developer documentation for the&nbsp;Magento Checkout Success Page Extension, you will find step-by-step instructions, sample code, and API","og_url":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide","og_site_name":"Plumrocket Documentation","article_published_time":"2020-02-28T16:02:36+00:00","article_modified_time":"2021-09-24T12:32:47+00:00","author":"Plumrocket","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide#article","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide"},"author":{"name":"Plumrocket","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20"},"headline":"Magento 1 Checkout Success Page v1.x Developer Guide and API Reference","datePublished":"2020-02-28T16:02:36+00:00","dateModified":"2021-09-24T12:32:47+00:00","mainEntityOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide"},"wordCount":91,"commentCount":0,"articleSection":["v1"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide","url":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide","name":"Magento 1 Checkout Success Page v1.x Developer Guide and API Reference - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"datePublished":"2020-02-28T16:02:36+00:00","dateModified":"2021-09-24T12:32:47+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20"},"description":"In this developer documentation for the&nbsp;Magento Checkout Success Page Extension, you will find step-by-step instructions, sample code, and API","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1\/devguide#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento Extensions","item":"https:\/\/plumrocket.com\/magento-1-extensions"},{"@type":"ListItem","position":2,"name":"Magento Checkout Success Page","item":"https:\/\/plumrocket.com\/magento-1-checkout-success-page"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page"},{"@type":"ListItem","position":4,"name":"v1","item":"https:\/\/plumrocket.com\/docs\/magento-1-checkout-success-page\/v1"},{"@type":"ListItem","position":5,"name":"Developer Guide"}]},{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/38b360639b934d6c984ee4f3ffce7d20","name":"Plumrocket","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/85ed2f38dbe6a031f443b1949101e9b31bbd6985eae2cac6695629e7ad280aee?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/85ed2f38dbe6a031f443b1949101e9b31bbd6985eae2cac6695629e7ad280aee?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/85ed2f38dbe6a031f443b1949101e9b31bbd6985eae2cac6695629e7ad280aee?s=96&d=mm&r=g","caption":"Plumrocket"},"sameAs":["https:\/\/plumrocket.com\/docs"]}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/268","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=268"}],"version-history":[{"count":2,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/268\/revisions"}],"predecessor-version":[{"id":24431,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/268\/revisions\/24431"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}