Adwords – How To Send All Mobile Users To Specific URLs

Hi, unhealthy

this is a cool trick to let you quickly change Final URL for mobile devices in all your campaigns at once. With just a line of code.

Imagine that you have set a specific landing page for each of your ads, keywords, … very granular. Now you developed a mobile version of your landing pages (not responsive, but specialized landing page). But the problem is… how to send all ppc mobile users to this new landing page?

Option A: detect device on your site (client side with javascript) and redirect user to mobile landing page. Problem: another redirection that slow down your site, and degrade user experience.

Option B: detect device on your site (server side with php) and return the new mobile landing page. Problem: you will use the same URL but with different content depending on user.. this will not be good for analytics.

Option C: in URL Option, add Value Track «device» variable in your tracking template.

click in shared library

Captura de pantalla 2016-03-16 23.49.46


then in URL options

Captura de pantalla 2016-03-16 23.49.59

then edit tracking template with this value





Captura de pantalla 2016-03-17 00.11.43

Then, go to your site, detect «d» variable in your PHP and return your new mobile landing page.

if( isset($_GET[‘d’]) &&$_GET[‘d’]==’m’)

Option D: The one I’m using. Just put this conditionals in your Tracking Template:


Captura de pantalla 2016-03-17 00.26.35

and thats it!

NOTE: in my case, my lpurl is always a root URL of several domains (one per country). In the web site I implemented this it is a 1 product niche website, thats why I send all trafic to root URL. I also send from adwords other Value Track variables and do a Dynamic Keyword Insertion in the landing page.

INFO: {lpurl} is the landing page URL you put in your Ads.


I know that I wrote this quite fast, with no deep explanations, if you need some detailed info, ask in comments and I will expand the info.

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *