Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I set up an AdWords campaign for website following the instructions for Google AdWords ValueTrack. One of the things that it is supposed to be able to do is pass the keyword as a URL parameter using the code {keyword} in the URL.

I created a landing URL using the Google Analytics URL builder. I put {keyword} into the "Campaign Term" field and it came out like this:

http://example.com/landing.html?utm_source=adwords&utm_medium=cpc&utm_term=%7Bkeyword%7D&utm_content=my_content&utm_campaign=my_page

When I actually run the campaign, the keyword substitution isn't happening. I'm getting the literal string {keyword} passed to my website. I see it in my log files. Why isn't the substitution working the way I would expect it to?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The problem was the brackets in {keyword} cannot be URL escaped with %7B and %7D. When I put it though the Google Analytics URL builder it came out as utm_term=%7Bkeyword%7D. It really needs to be utm_term={keyword}.

I updated my campaign with a better URL:

http://example.com/landing.html?utm_source=adwords&utm_medium=cpc&utm_term={keyword}&utm_content=my_content&utm_campaign=my_page

Now Google is substituting the keyword into the utm_term parameter when I get a click from this Adwords campaign.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.