Home >
Paid Traffic Sources >
Facebook & Instagram
fb pixel help - cloaking (12)
04-06-2016 01:54 PM
#1
mitjamg ()
fb pixel help - cloaking
Hey guys, so I'm figuring out the new fb pixel and I'm having issues adding the purchase tag to the php script, currently this is working for me but the sales count as visits to pixel on fb and not as purchase, so I need to figure out which fb purchase tag and purchase value i need to add to this php and where:
<?php
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Thank You!</title>
</head>
<body>
<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=xxxxxxxxxxxxxxxxx&ev=PageView&noscript=1" />
</body>
</html>
Basicaly i put this php file on my safe domain and on offer i call this php script
04-06-2016 11:14 PM
#2
amsterdamer (Member)

Originally Posted by
mitjamg
Hey guys, so I'm figuring out the new fb pixel and I'm having issues adding the purchase tag to the php script, currently this is working for me but the sales count as visits to pixel on fb and not as purchase, so I need to figure out which fb purchase tag and purchase value i need to add to this php and where:
<?php
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Thank You!</title>
</head>
<body>
<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=xxxxxxxxxxxxxxxxx&ev=PageView&noscript=1" />
</body>
</html>
Basicaly i put this php file on my safe domain and on offer i call this php script
Try this
<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=xxxxxxxxxxxxxxxxx&ev=Purchase&noscript=1" />
Add it to your code. Should work.
04-07-2016 05:16 AM
#3
mitjamg ()
tnx testing this out
04-07-2016 07:31 PM
#4
ricvel (Member)
When calling it from the offer, are you using iframe for it or how are you approaching it? Tried this, but the offer im running is not supporting iframe thus i need to figure out another way, any ideas?
04-07-2016 10:36 PM
#5
amsterdamer (Member)
What does your offer support?
You need to place an iframe for this
04-08-2016 06:12 AM
#6
mitjamg ()
Yes I use iframe to call the php file on my domain
<div style="display:none"><iframe width="1" height="1" src="https://domain.com/locationtofile.php"></iframe></div>
04-08-2016 06:19 AM
#7
shakedown (Member)

Originally Posted by
ricvel
When calling it from the offer, are you using iframe for it or how are you approaching it? Tried this, but the offer im running is not supporting iframe thus i need to figure out another way, any ideas?
If its Cake you put the code where it says "Pixel HTML" like this:
http://screencast.com/t/21HoH6zyap
I haven't cloaked it in the screenshot, but you get the idea!
04-18-2016 12:17 PM
#8
ricvel (Member)
Well the issue is, that the offer doesnt support pixel, I tried using it and asked AM why I cant see any conversions via iframe and it turns out that the offer owner only sends conversions via Postback, thus the iframe wont work 
I now am going for the other route, where I try to build an audience from people who clickthrough my cloaked site, but it calls for a redirect and doesnt give the best results.
Any ideas on how to get the actual conversion to fb if iFrame is not possible
Edit: Just to clarify - I tried using iframe with CAKE, but wasn't able to see conversions, can the issue be in the offer owner not allowing the iframe or I misunderstood my AM
04-18-2016 01:56 PM
#9
thuglife (Member)
If you can track where user clicks inside an iframe then you can implement a solution. I'm looking for one as well.
04-21-2016 11:14 PM
#10
irunfb (Member)

Originally Posted by
thuglife
If you can track where user clicks inside an iframe then you can implement a solution. I'm looking for one as well.
(funnelflux)
https://www.youtube.com/watch?v=hcLi...pPLLPK&index=9
04-22-2016 04:01 AM
#11
thuglife (Member)

Originally Posted by
irunfb
That's overly complicated, doesn't work and didn't address what I asked.
I need the JS code that can track what's happening inside an iFrame without touching the code on the source page.
04-23-2016 02:09 PM
#12
mitjamg ()
Anyone tested if adding pixel directly to advertorial lander and then cloaking the offer conversion works, or just gets your account down faster? I seen some landers having fb pixel on their advertorials now, I'll test that soon too to see if it's a go or no go
Home >
Paid Traffic Sources >
Facebook & Instagram