Anyone know how to force the window size of a user with Trafficvance after they click a link on your landing page? It would also be great to get this to work with CPV Lab. I have tried like 5 different scripts and nothing is working for me.
It doesn't work anymore also be careful with this stuff you may get banned if you do it without the reviewers permission.
Wow, really? I must have been out of the PPV game for some time now. How is everyone dealing with this? Only choose offers that fit in an 800x600 window? Do we just assume people will resize the window? I feel like that is gonna make it a lot harder to get conversions on landing pages that don't fit.
Yeah you can try opening in a new window using target=_blank and having an onload resize script... assuming you're using a pre-sell lander and you have a call to action button..
Try this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">body {margin: 0cm}</style>
<script type="text/javascript">
// <![CDATA[
function maximize_window()
{
if (window.resizeTo && (screen.availWidth || screen.width))
{
window.resizeTo((screen.availWidth || screen.width),(screen.availHeight || screen.height));
}
else if (window.outerWidth && (screen.availWidth || screen.width))
{
window.outerWidth = screen.availWidth || screen.width;
window.outerHeight = screen.availHeight || screen.height;
}
if (window.moveTo) window.moveTo(0,0);
else if (window.screenX)
{
window.screenX = 0;
window.screenY = 0;
}
}
if (window.addEventListener) window.addEventListener("load",maximize_window,false);
else if (window.attachEvent) window.attachEvent("onload",maximize_window);
// ]]>
function redirect()
{
window.location = "http://xxxxxxxxx.com/base2.php";
}
</script>
</head>
<body onLoad="redirect();">
</body>
</html>
Thanks! Do you know if this is allowed with TrafficVance?
If it opens in a new window, I don't see why not. Just ask your manager there.
If you use target=_blank the new site will open in a new fullsize windows anyway
It is served in a roughly 800x600 pop under.
When you use target=_blank for the links in that pop under a new fullsize Windows opens on click.
At least this is what my AM told me.
I suppose you could link to an intermediary 'loading' page that resizes the browser window (since should now be separate from anything TV related) and e.g. drops some retargeting goodies before redirecting to the offer.
Kinda what the script above provided does, minus the cookie dropping, which is entirely up to you to do. I have never done any retargeting, but imagine it could be lucrative if used with PPV. Zeno, what's your experience like with retargeting?
TV allows you to open in full window after user interacts with your ad.
Thanks,