{"id":25205,"date":"2021-12-09T10:32:54","date_gmt":"2021-12-09T15:32:54","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=25205"},"modified":"2021-12-09T10:35:13","modified_gmt":"2021-12-09T15:35:13","slug":"magento-checkout-success-page-v3-devguide","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide","title":{"rendered":"Magento 2 Checkout Success Page v3.x Developer Guide and API Reference"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-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 <a href=\"\/magento-checkout-success-page\">Magento 2 Checkout Success page<\/a> manually, follow the instructions below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1. Copy this file:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-markup\" data-line=\"\">\/app\/code\/Plumrocket\/Checkoutspage\/view\/frontend\/templates\/page.phtml<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">To the folder with your theme:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-markup\" data-line=\"\">\/app\/design\/VENDOR_NAME\/THEME_NAME\/Plumrocket_Checkoutspage\/templates\/page.phtml<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">2. 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-php\" data-line=\"\">&lt;?php\n     \n    \/**\n     * Plumrocket Inc.\n     *\n     * NOTICE OF LICENSE\n     *\n     * This source file is subject to the End-user License Agreement\n     * that is available through the world-wide-web at this URL:\n     * http:\/\/wiki.plumrocket.net\/wiki\/EULA\n     * If you are unable to obtain it through the world-wide-web, please\n     * send an email to support@plumrocket.com so we can send you a copy immediately.\n     *\n     * @package Plumrocket Checkoutspage v2.x.x\n     * @copyright Copyright (c) 2015 Plumrocket Inc. (http:\/\/www.plumrocket.com)\n     * @license http:\/\/wiki.plumrocket.net\/wiki\/EULA End-user License Agreement\n     *\/\n    ?&gt;\n    &lt;?php $order = $this-&gt;helper(&#039;PlumrocketCheckoutspageHelperData&#039;)-&gt;getOrder(); ?&gt;\n    &lt;?php echo $this-&gt;getChildHtml(&#039;checkout.success.style&#039;); ?&gt;\n    &lt;div id=&quot;csp-extension&quot; class=&quot;mod-checkoutspage&quot;&gt;\n        &lt;?php \/\/echo $this-&gt;getMessagesBlock()-&gt;getGroupedHtml() \n        ?&gt;\n        &lt;div class=&quot;csp-cf&quot;&gt;\n            &lt;div class=&quot;csp-left-col&quot;&gt;\n                &lt;?php echo $block-&gt;getChildHtml(&#039;checkoutspage.left.section&#039;); ?&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;csp-right-col&quot;&gt;\n                &lt;?php echo $block-&gt;getChildHtml(&#039;checkoutspage.right.section&#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 $block-&gt;getChildHtml(&#039;checkoutspage.bottom.section&#039;); ?&gt;\n        &lt;\/div&gt;\n    &lt;\/div&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; 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>","protected":false},"excerpt":{"rendered":"<p>Adding Tracking Code Manually In order to add tracking code on Magento 2 Checkout Success page manually, follow the instructions below: 1. Copy this file: To the folder with your theme: 2. At the very end of the copied file please paste the tracking code you have. Example: &lt;?php \/** * Plumrocket Inc. * * &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2 Checkout Success Page v3.x Developer Guide and API Reference&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","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":[339],"tags":[],"class_list":["post-25205","post","type-post","status-publish","format-standard","hentry","category-magento-checkout-success-page-v3","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Magento 2 Checkout Success Page v3.x Developer Guide and API Reference - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"Adding Tracking Code Manually In order to add tracking code on Magento 2 Checkout Success page manually, follow the instructions below: 1. Copy this file:\" \/>\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-checkout-success-page\/v3\/devguide\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 Checkout Success Page v3.x Developer Guide and API Reference - Plumrocket Documentation\" \/>\n<meta property=\"og:description\" content=\"Adding Tracking Code Manually In order to add tracking code on Magento 2 Checkout Success page manually, follow the instructions below: 1. Copy this file:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-09T15:32:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-09T15:35:13+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=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magento 2 Checkout Success Page v3.x Developer Guide and API Reference - Plumrocket Documentation","description":"Adding Tracking Code Manually In order to add tracking code on Magento 2 Checkout Success page manually, follow the instructions below: 1. Copy this file:","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-checkout-success-page\/v3\/devguide","og_locale":"en_US","og_type":"article","og_title":"Magento 2 Checkout Success Page v3.x Developer Guide and API Reference - Plumrocket Documentation","og_description":"Adding Tracking Code Manually In order to add tracking code on Magento 2 Checkout Success page manually, follow the instructions below: 1. Copy this file:","og_url":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide","og_site_name":"Plumrocket Documentation","article_published_time":"2021-12-09T15:32:54+00:00","article_modified_time":"2021-12-09T15:35:13+00:00","author":"Plumrocket","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide#article","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide"},"author":{"name":"Plumrocket","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"headline":"Magento 2 Checkout Success Page v3.x Developer Guide and API Reference","datePublished":"2021-12-09T15:32:54+00:00","dateModified":"2021-12-09T15:35:13+00:00","mainEntityOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide"},"wordCount":56,"articleSection":["v3"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide","url":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide","name":"Magento 2 Checkout Success Page v3.x Developer Guide and API Reference - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"datePublished":"2021-12-09T15:32:54+00:00","dateModified":"2021-12-09T15:35:13+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"Adding Tracking Code Manually In order to add tracking code on Magento 2 Checkout Success page manually, follow the instructions below: 1. Copy this file:","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3\/devguide#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 Checkout Success Page","item":"https:\/\/plumrocket.com\/magento-checkout-success-page"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page"},{"@type":"ListItem","position":4,"name":"v3","item":"https:\/\/plumrocket.com\/docs\/magento-checkout-success-page\/v3"},{"@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\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/30d7e8cb4567485b56880a1658849a1252ac12806e8f95b3be71e986bf5eabee?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/30d7e8cb4567485b56880a1658849a1252ac12806e8f95b3be71e986bf5eabee?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/30d7e8cb4567485b56880a1658849a1252ac12806e8f95b3be71e986bf5eabee?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25205","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=25205"}],"version-history":[{"count":1,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25205\/revisions"}],"predecessor-version":[{"id":25206,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25205\/revisions\/25206"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=25205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=25205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=25205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}