Use a hash (#) in a landing page URL

In a URL, a hash (#) points a browser to a specific spot in a page or website.

Hashes may not work in some browsers

If you use URLs with hashes in your click string macro (%c) in IFrame/JavaScript tags, JavaScript tags, or static click tracker tags, they may not work.

For example, if you use the URL http://example.com/#section2 in your ad tag, some browsers may direct to: http://example.com

Depending on the site, content might not be displayed correctly because the end of the URL is missing.

To fix the problem, encode the hash

To make sure the hash and the identifier are included in your click tracking tags, encode the hash. In your URL, replace # with %23. For example,

  • Before: http://example.com/#section2
  • After: http://example.com/%23section2
If you set exit URLs using feeds or in the creative code, use %23 instead of #.

Was this helpful?

How can we improve it?
false
Search
Clear search
Close search
Google apps
Main menu
13048872171201824962
true
Search Help Center
true
true
true
true
true
74220
false
false