Home / Help Central / Knowledgebase

How can I show or hide page content based on variable in URL?

You can use javascript to show/hide content on the page based on a querystring variable. This is very useful if you want to show the same page for all your visitors, but would like to show/hide content for a specific audience based on a particular audience or inbound link.

See code examples here:

  1. Using Javascript -
  2. Using Classic ASP -