Where to insert Meta Pixel Code on the Thank You page?

Where to insert Meta Pixel Code on the Thank You page?

Yuly0423
Tourist
8 0 1

I need the Meta Pixel code inserted at the "Thank you for your purchase page" at the end of the header. I tried a few options in the thread but couldn't find where to put it. I would appreciate it if anyone could help. Thank you!

 

The code I need to be inserted: 

 

<!-- Meta Pixel Code -->

<script>

!function(f,b,e,v,n,t,s)

{if(f.fbq)return;n=f.fbq=function(){n.callMethod?

n.callMethod.apply(n,arguments):n.queue.push(arguments)};

if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';

n.queue=[];t=b.createElement(e);t.async=!0;

t.src=v;s=b.getElementsByTagName(e)[0];

s.parentNode.insertBefore(t,s)}(window, document,'script',

'https://connect.facebook.net/en_US/fbevents.js');

fbq('init', '1005917446806776');

fbq('track', 'Purchase');

</script>

<noscript><img height="1" width="1" style="display:none"

src="https://www.facebook.com/tr?id=1005917446806776&ev=PageView&noscript=1"

/></noscript>

<!-- End Meta Pixel Code -->

 

Reply 1 (1)

PaulNewton
Shopify Partner
7721 678 1626

@Yuly0423 wrote:

I tried a few options in the thread but couldn't find where to put it.

 

What thread?

When dealing with technical issues and some other page/post/url is referenced link to it.

This can drastically increase chances someone gets the proper context and could understand it enough for a solution.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org