How / Where to add Facebook Checkout pixel? The Next CEO of Stack OverflowMagento code or...

What did the word "leisure" mean in late 18th Century usage?

Fastest algorithm to decide whether a (always halting) TM accepts a general string

How can the PCs determine if an item is a phylactery?

How to implement Comparable so it is consistent with identity-equality

Is it OK to decorate a log book cover?

Compilation of a 2d array and a 1d array

Free fall ellipse or parabola?

Could you use a laser beam as a modulated carrier wave for radio signal?

Physiological effects of huge anime eyes

Calculating discount not working

Mathematica command that allows it to read my intentions

Noise during hard braking

Raspberry pi 3 B with Ubuntu 18.04 server arm64: what pi version

Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?

What is the difference between 'contrib' and 'non-free' packages repositories?

Why did the Drakh emissary look so blurred in S04:E11 "Lines of Communication"?

Can a PhD from a non-TU9 German university become a professor in a TU9 university?

Compensation for working overtime on Saturdays

Is it possible to create a QR code using text?

It it possible to avoid kiwi.com's automatic online check-in and instead do it manually by yourself?

MT "will strike" & LXX "will watch carefully" (Gen 3:15)?

A hang glider, sudden unexpected lift to 25,000 feet altitude, what could do this?

Find the majority element, which appears more than half the time

Variance of Monte Carlo integration with importance sampling



How / Where to add Facebook Checkout pixel?



The Next CEO of Stack OverflowMagento code or extension to add coupon code in last step of onestep checkoutHow to get manufacturer attribute value on Checkout success page?Integrating tracking code into Magento success pageCapturing data on who a product was purchased forHow to make the Shopper Approved code appear only in 1 website? (I have multiple websites setup in my Magento installation)How to get the order html table and shipping address on success page?Magento 2 - How to retrieve the name and quantity for each product ordered in success.phtml fileUnable to get shopping cart data on Success.phtmlMagento 2.3 checkout show company name after radio selectMagento 2.3 use default value problem admin












0















I like to ask where I should place this code snippet:



  fbq('track', 'Purchase', {
value: 1,
currency: 'SEK',
});


I have added the normal facebook tracking code into the head for all pages. But I like to add this specific codesnippet to after the order is completed/success. And what variable name should I use for the value?



Which file, and what is the variable name? This is for Magento 2.3



Many thanks!









share



























    0















    I like to ask where I should place this code snippet:



      fbq('track', 'Purchase', {
    value: 1,
    currency: 'SEK',
    });


    I have added the normal facebook tracking code into the head for all pages. But I like to add this specific codesnippet to after the order is completed/success. And what variable name should I use for the value?



    Which file, and what is the variable name? This is for Magento 2.3



    Many thanks!









    share

























      0












      0








      0








      I like to ask where I should place this code snippet:



        fbq('track', 'Purchase', {
      value: 1,
      currency: 'SEK',
      });


      I have added the normal facebook tracking code into the head for all pages. But I like to add this specific codesnippet to after the order is completed/success. And what variable name should I use for the value?



      Which file, and what is the variable name? This is for Magento 2.3



      Many thanks!









      share














      I like to ask where I should place this code snippet:



        fbq('track', 'Purchase', {
      value: 1,
      currency: 'SEK',
      });


      I have added the normal facebook tracking code into the head for all pages. But I like to add this specific codesnippet to after the order is completed/success. And what variable name should I use for the value?



      Which file, and what is the variable name? This is for Magento 2.3



      Many thanks!







      checkout magento2.3 order-success-page





      share












      share










      share



      share










      asked 4 mins ago









      user3091199user3091199

      362




      362






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268246%2fhow-where-to-add-facebook-checkout-pixel%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f268246%2fhow-where-to-add-facebook-checkout-pixel%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          迭戈·戈丁...

          A phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

          1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...