I suggest you ...

Define web-page name for dynamic URL name

I have some web-pages with dynamic URL name; however they are similar and I would like to combine them in same page name. Did you support this and what should I do?

4 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Mark Brand shared this idea  ·   ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Mike commented  · 

        By default the page name is taken from the browser's URL address bar.
        The query parameters (that come after the question mark ?) are excluded from the page name. For example if the URL is http://www.mysite.com/page123?some-query=4&other_query=5 then the page name will be 'page123'.
        There are 3 other options for setting the page name:
        1) Taking also the query string in the name
        2) Setting a user-defined name
        3) Using the page title as name
        To set a non-default page name you need to add an additional JavaScript to the code snippet.
        To take also the query string add the following to the code snippet:
        _zaq.push({ type: 'init', include_query_string: true});
        To set user-defined name add the following to the code snippet:
        _zaq.push({ type: 'init', page: 'page name'});
        To set the page title as the page name add the following to the code snippet:
        _zaq.push({ type: 'init', take_name_from_title: true});

      Feedback and Knowledge Base