Home > Paid Traffic Sources > POP / PPV / Redirect

Force Window Size with Trafficvance (13)


08-14-2013 08:16 PM #1 joyjester (Member)
Force Window Size with Trafficvance

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.


08-14-2013 09:39 PM #2 me_media (Member)

It doesn't work anymore also be careful with this stuff you may get banned if you do it without the reviewers permission.


08-14-2013 11:20 PM #3 joyjester (Member)

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.


08-15-2013 02:53 AM #4 andy_d (Veteran Member)

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:

Code:
			
<!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>


08-15-2013 03:02 AM #5 joyjester (Member)

Thanks! Do you know if this is allowed with TrafficVance?


08-15-2013 03:25 AM #6 andy_d (Veteran Member)

If it opens in a new window, I don't see why not. Just ask your manager there.


08-15-2013 02:01 PM #7 twinaxe (Senior Moderator)

If you use target=_blank the new site will open in a new fullsize windows anyway


08-15-2013 06:47 PM #8 andy_d (Veteran Member)

Quote Originally Posted by twinaxe View Post
If you use target=_blank the new site will open in a new fullsize windows anyway
Not true in all browsers. If it comes from a modal-window, which most PPV pops are, size can vary browser-to-browser.


08-15-2013 06:57 PM #9 twinaxe (Senior Moderator)

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.


08-15-2013 09:26 PM #10 zeno (Administrator)

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.


08-16-2013 02:12 AM #11 andy_d (Veteran Member)

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?


04-18-2014 03:28 AM #12 es351045 (Member)

Quote Originally Posted by twinaxe View Post
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.
so....does TV allow this method or not?


04-18-2014 02:24 PM #13 johnnygood (Member)

TV allows you to open in full window after user interacts with your ad.

Thanks,


Home > Paid Traffic Sources > POP / PPV / Redirect