Site structure
Version 5.x > Site structure > Adding Analytics Querystring to URLS View modes: 
User avatar
Member
Member
Ian Muir - 11/28/2011 1:59:32 PM
   
Adding Analytics Querystring to URLS
We have a client that wants to add a querystring to several of the urls on their Kentico site.

Essentially, everypage needs to look like /page.aspx?camid=xxx where xxx is unique for each page.

URL redirection doesn't work because it creates a redirect loop and the track campaign seems to just work with the Kentico tracking.

Any idea about how we can add this to pages?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/29/2011 2:44:25 AM
   
RE:Adding Analytics Querystring to URLS
Hi,

You can use the Document URL path settings for the documents. You will use the custom URL path and set the path to be like this:

/name/parameter/value

And then you will just need to parse the URL (this URL is also more SEO and user friendly than a query string parameter).

Best regards,
Juraj Ondrus

User avatar
Member
Member
Ian Muir - 11/29/2011 7:55:47 AM
   
RE:Adding Analytics Querystring to URLS
The querystring is parsed by analytics code provided by our vendor, which is javascript driven. So, we can really change the format that we append the campaign ids to urls.


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/30/2011 2:12:48 AM
   
RE:Adding Analytics Querystring to URLS
Hi,

I am sorry but I think I am little bit confused.

Could you please describe what you want to achieve so I will get the meaning and give you probably better answer?

Thank you.

Best regards,
Juraj Ondrus