Home > Paid Traffic Sources > Facebook & Instagram

LP for the sole purpose of placing FBPixel (5)


10-14-2016 03:16 PM #1 mihalis09 (Member)
LP for the sole purpose of placing FBPixel

So I'm direct test linking an offer on Facebook and I want to hold data with the pixel for remarketing/lookalike audiences purposes.

Only way Iv come up with to do this is create a bridge blank page to link from Facebook whose only purpose is to html redirect to Thrive Tracker and also hold the facebook pixel code.

I have trouble doing this since I'm not sure what to do with those two links:
Facebook->Bridge page
Bridge page->Tracker

Tracker will only give me a link such as http://mydomain.com/t/path/lp.php?tr...ampid=&creaid= which is supposed to go into Facebook to send traffic directly to tracker.

How could I work around this?


10-15-2016 01:24 PM #2 mihalis09 (Member)

So yeah bottomline, is it possible to track direct linking traffic with the facebook pixel? I guess that's all it comes down to


10-15-2016 10:37 PM #3 circa (Member)

The only way to really do this that I know of would be to send traffic to a html page that you host with the fb pixel on it with a meta/javascript redirect to your offer.


10-16-2016 10:21 AM #4 mihalis09 (Member)

Ok, but the thing is what link do you insert on facebook to do that? Tracker will give me a mydomain.com/...out.php link to direct link from facebook->tracker. It's supposed to also carry through custom variables info I set in my facebook ads to track conversions from specific ads + more.

If I do like you say wouldn't I need to edit that php link to send traffic to that html file first instead? And if that is the case, would my custom variables from facebook still carry through the information I want from my ads to the tracker?


10-18-2016 11:31 AM #5 zeno (Administrator)

Easy. Just make an intermediate PHP page that fires your JS and meta refreshes > passes all query strings as you have set them, so you don't need to alter structure.

Code:
<?php $queries= ltrim($_SERVER["QUERY_STRING"], "?") ?>
<html>    
  <head>      
    <title>Redirecting, please wait...</title>      
    <meta http-equiv="refresh" content="0.5;URL='http://mytackingurl.com/something?campaign=some_id&<?php echo $queries ?>'" />
  <script>YOUR FB PIXEL CODE HERE</script>
  </head>    
  <body> 
    <p>Some basic page content here to let user know they are being redirected, e.g. loader gif etc.</p>
  </body>
</html>
Test and adjust meta refresh timing if needed. FB pixels should generally fire in <200 ms...

Result would be:

FB Ad: hxxp://domain.com/myfile.php
FB URL parameters: a=1&b=2&c=3
URL loaded by users: hxxp://domain.com/myfile.php?a=1&b=2&c=3
Users then redirected to: hxxp://mytackingurl.com/something?campaign=some_id&a=1&b=2&c=3


Home > Paid Traffic Sources > Facebook & Instagram