Home > Questions and Answers > Traffic Source Questions

FB Traffic Rotate iframe Using STM Tracker v4 (12)


04-26-2014 03:57 PM #1 de_sean (Member)
FB Traffic Rotate iframe Using STM Tracker v4

Hi Guys,

Is there a way to track multiple(let's say 10) iframed Affiliate url's using STM v4(prosper) using the rotate feature? or is there a simpler way to do this?
Worse comes to worse, i'll just create 10 campaigns and have 10 tracking links. A bit tedious but hey, it is what it is

Another question is, will the subid's be passed to the affiliate link when I place the tracking(prosper) link in an iframe?

I'll be sending facebook traffic to the affiliate and they already have multiple landing pages that can be used. I just want to be able to properly track which of those LP's perform the best. I understand cloaking slows down the loading time so I don't want to go that route. Do any of you have suggestions?

Thanks!


04-27-2014 01:24 AM #2 zeno (Administrator)

I'm assuming you are trying to get non-compliant offer landers through by iFraming on your own domain?

Just use the backend offer rotation to rotate between direct links to those offer pages, then use the campaign link as your iFrame URL.

The iFrame URL will need to have subids dynamically inserted to pass these properly. So, on your hosted page you will need to GET variables with some code and insert these into your p202 iFrame URL, effectively passing them from the browser address bar to the iFrame. The iFrame'd page cannot do this directly.


04-27-2014 02:27 AM #3 de_sean (Member)

Thanks for the reply zeno. My AM recommended me to use iframes for this gaming offer. I always use landing pages before but since there are already ready made landing pages, I wanted to test them as well.

Anyway, Is this correct?

Link to be used in Facebook:
www.mywebsite.com/offer or do I manually edit this link to turn it into:
www.mywebsite.com/offer?t202id=xxxx&t202kw=xxxx

iframe code:

<body>
<iframe src="http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=xxxx&t202kw=xxxx"width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0">
<p>Click <a href="http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=xxxx&t202kw=xxxx">here</a>! (Your browser does not support iframes)</p>
</iframe>
</body>

Apologies man, this is really my waterloo. I spent the whole of yesterday trying to figure this out.

and one more thing, the rotate feature in (#3) Campaign tab @ prosper only allows 5 urls. What if I'll be rotating more?


04-27-2014 03:04 AM #4 zeno (Administrator)

Currently there is only support for 5 so I would recommend just keeping things simple and rotating only 5 initially.

For Facebook use www.mywebsite.com/lander.php?key=something&c1=something_else&c2=etc

Lander.php will have to be hosted on your server rather than a CDN.

Then use:

Code:
<?php
$key = $_GET['key'];
$c1 = $_GET['c1'];
$c2 = $_GET['c2'];
$url = "http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=1234&t202kw=".$key."&c1=".$c1."&c2=".$c2;
?>
<body>
<iframe src="<?php echo $url; ?>" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0">
<p>Click <a href="<?php echo $url; ?>">here</a>! (Your browser does not support iframes)</p>
</iframe>
</body>
There are lots of ways you could do this but the above is reasonably simple (code-wise) and should do the trick!


04-27-2014 03:08 AM #5 de_sean (Member)

you my friend just saved me a lot of time.
THANKS!


04-27-2014 05:23 AM #6 de_sean (Member)

Will I be able to see which of the 5 affiliate url's convert in the group overview? Am I missing something?

Quote Originally Posted by zeno View Post
Currently there is only support for 5 so I would recommend just keeping things simple and rotating only 5 initially.

For Facebook use www.mywebsite.com/lander.php?key=something&c1=something_else&c2=etc

Lander.php will have to be hosted on your server rather than a CDN.

Then use:

Code:
<?php
$key = $_GET['key'];
$c1 = $_GET['c1'];
$c2 = $_GET['c2'];
$url = "http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=1234&t202kw=".$key."&c1=".$c1."&c2=".$c2;
?>
<body>
<iframe src="<?php echo $url; ?>" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0">
<p>Click <a href="<?php echo $url; ?>">here</a>! (Your browser does not support iframes)</p>
</iframe>
</body>
There are lots of ways you could do this but the above is reasonably simple (code-wise) and should do the trick!


04-27-2014 07:38 AM #7 zeno (Administrator)

Yes. The STM-modded p202 will show separate rows for each offer that you have in rotation.


04-27-2014 08:11 AM #8 de_sean (Member)

Sorry to be all noobish brother, but what group would that be at the Group Overview Page. I can break it down to c1, c2, keyword and such. Which should I choose to see group them into the 5 redirects?

When I sort it using the redirects it goes like this:


It shows the affiliate links with the unique subids so it's difficult to sort.

Is there a way I can sort it using the Names?


04-27-2014 08:29 AM #9 zeno (Administrator)

Hmmm good point! I may be thinking of the Landing Pages stats section where it shows the multiple offers for each lander (I don't know what it would show you for LP in the group overview, probably just [direct link]).

Not sure what the best workaround would be here.

You could make separate campaigns that each have one offer only, then rotate campaign URLs in the iframe setup. Alternatively, since you could pass detailed subids through to the network and figure out the best offers there.

This may just be an oversight - the lack of "offer" in the group overview list that is.

If you go the multiple campaign route, use something like the following where you paste in the t202id numbers for each campaign URL:

Code:
<?php
$key = $_GET['key'];
$c1 = $_GET['c1'];
$c2 = $_GET['c2']; //and so on!
$url[1] = "http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=0001&t202kw=".$key."&c1=".$c1."&c2=".$c2; 
$url[2] = "http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=0002&t202kw=".$key."&c1=".$c1."&c2=".$c2; 
$url[3] = "http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=0003&t202kw=".$key."&c1=".$c1."&c2=".$c2; 
$url[4] = "http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=0004&t202kw=".$key."&c1=".$c1."&c2=".$c2; 
$url[5] = "http://www.mywebsite.com/offer/tracking202/redirect/tracker.php?t202id=0005&t202kw=".$key."&c1=".$c1."&c2=".$c2; 
$number = mt_rand(1,5);
?>
<body>
<iframe src="<?php echo $url[$number]; ?>" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0">
<p>Click  <a href="<?php echo $url[$number]; ?>">here</a>!  (Your browser does not support iframes)</p>
</iframe>
</body>


04-27-2014 08:58 AM #10 de_sean (Member)

That's what I'm thinking of using as well. Thanks for providing the code That GetKey stuff saved my day.
Do you know if I will be having the same issues when using CPVLab?


04-27-2014 09:34 AM #11 zeno (Administrator)

Quote Originally Posted by de_sean View Post
Do you know if I will be having the same issues when using CPVLab?
I doubt it - offer/lander rotation is native to CPV Lab whereas it was modded in for the tracking202 version available free here at the forum.


04-27-2014 12:18 PM #12 de_sean (Member)

Ended up using multiple campaigns. Works like a charm.
Thanks again zeno. Wouldn't be able to do it without your help!


Home > Questions and Answers > Traffic Source Questions