Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 17th Jan 2015, 04:23 PM   #1
Warrior Member
 
Join Date: 2014
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default
How to dynamically insert Bing ads search term/keyword into landing page?
Share on: 
fb share twitter share gplus share more share

I am running a campaign with Bing ads sending visitors to my landing page. I want to make it so that when the person searches for "red widget" and then clicks on my ad, the landing page they are sent to contains the words "red widget" in various places I specify.

I have tried to append ?kw={keyword} to the end of my destination URL in the Bing ads editor but this does not work. With ?kw={keyword} at the end of my destination URL, the page doesn't open and comes back with the following error:

The URI you submitted has disallowed characters.

I fixed this error by going into my config.php file (my site is built on the codeigniter php framework) and allowing ?&= characters. The page still does not work. So now when I am at mysite.com/ladingpage.php?kw=somekeyword the page doesn't work, because there is no such page.

Whenever I can get the page to display with the ?kw= appended, I was going to try and read it with

Code:
<? echo $_GET['kw'] ?>
Can anyone help me out here? Some way to strip off the ?kw=someKeyword and save that as the keyword and then load the landing page without the ?kw=someKeyword appended? This shouldn't be that hard, I watched some youtube videos and read tutorials of people doing exactly what I am doing but it's just not working for me.
user276954 is offline  
Unread 18th Jan 2015, 11:25 AM   #2
Warrior Member
 
Join Date: 2014
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: How to dynamically insert Bing ads search term/keyword into landing page?
Share on: 
fb share twitter share gplus share more share

Well right now I am looking into Codeigniter being the problem here. Something about the way CI handles a url with parameters. It looks like CI may treat a url with a parameter as a compelte url instead or just loading the original page and separating the params from the url. I spent hours looking into this yesterday and probably several more hours today. If anyone can save me a few hours of research into this problem and provide some insight as to a working solution I would really appreciate it.
user276954 is offline  
Closed Thread


Bookmarks

Tags
ads, bing, dynamically, insert


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:57 AM.