php - Display Different Image Based on Google AdWords Ad -


we have many different adwords campaigns various products , i'd have main image on website change depending on google ad user clicked on.

for example, if user clicks on ad our widget 1 campaign, i'd display image 1 when arrive @ our website. subsequently, if user clicks on ad our widget 2 campaign, i'd image 2 display when arrive.

can done or chasing tail?

i don't believe you're doing tail-chasing @ all.

the simplest solution can think of put kind of parameter destination url of ads. site can extract parameter , display appropriate image.

for example:

ads in 'widget1' campaign might have destination url of:

http://www.yoursite.com/?c=widget1 

ads in 'widget2' campaign might have destination url of:

http://www.yoursite.com/?c=widget2 

you can extract 'c' parameter incoming request , display image 1 or image 2 appropriately.

you might want take on little , extract 'c' parameter when google click id (aka 'gclid') present in incoming request. switch on auto tagging in adwords account , adwords append gclid every ad click. can 'know' whether click has come adwords or not presence/lack of gclid value in incoming request.

good luck!


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -