Use URL in Report English (en) français (fr)

From thinktank

Jump to: navigation, search

For many EA Reports there is possibility to use an url as parameter.

The exact syntax is the parameter url is crucial in order to get correct data in the report; in the both cases - when it is to

  • generate a report for a specific url (or a group) or
  • exclude a specific url (or a group) from the data.

More information can be found on the practical users' guide .

Absolute URL

The "HTTP://" ("HTTPS://" and so on) has to be removed from the url string. In other words, start with domain name (in case of preceded by the "www."). N/A since February 2013

example
for the report about usage of the splash page of the Europa web nest
the absolute url is http://europa.eu/index.htm and has to be entered as
parameter in the format europa.eu/index.htm (in other words http://europa.eu/index.htm)

(In the example it is assumed that you have selected right Webmart - in this case the "Commission HP")

As the part of the string defining the network protocol [1] is always repeating, it has been decided to trim these from the url strings (and so to shorten them). Consequently it reduces the volume of the data to be saved (at least 7B each time).

Semi-Absolute URL

(Or semi-relative) url contains a wild-card "%" [2] in order to widen the search.

example
for the report about usage of the News-corner of President
the urls starts with http://ec.europa.eu/commission_2010-2014/president/news/... and has to be entered as
parameter in the format ec.europa.eu/commission_2010-2014/president/news/% (in other words http://ec.europa.eu/commission_2010-2014/president/news/%)
The wild-card "%" replaces just any characters following the .../president/news/

(In the example it is assumed that you have selected right webmart - in this case the "Commission HP")

Semi-Relative URL

(Or fragment) url contains one or more wild-cards "%" in order to widen the search.

example
for the report about usage of html pages in the English
the urls ending with "..._EN.HTML" and has to be entered as
parameter in the format %_EN.HTML
The wild-card "%" replaces just any characters preceding "_EN.HTML"
for the report about usage of html pages (in any language)
the urls ending with "... .HTML" and has to be entered as
parameter in the format %.HTML
The wild-card "%" replaces just any characters preceding ".HTML"
for the report about usage of pages in English in any Format
the urls containing "_EN." has to be entered as
parameter in the format %_EN.%
The wild-card "%" replaces just any characters preceding or following "_EN."

Bold text== Combined Semi-Absolute, Semi-Relative or Absolute URL ==

Combining all of the above in one statement seperated by a comma (,) in order to widen the search with multiple URLs, even in the exclude URL.

example
Combining pages with languages en and nl
parameter 'Choose URL' in the format %_en.%,%_nl.%
The wild-card "%" replaces just any characters preceding or following "_en." or "_nl."
Combining pages with languages en and nl and excluding pages from Youth and News
parameter 'Choose URL :' in the format %_en.%,%_nl.%
The wild-card "%" replaces just any characters preceding or following "_en." or "_nl."
parameter 'URL to exclude :' in the format %/youth/%, %/news/%
The wild-card "%" replaces just any characters preceding or following "/youth/" or "/news/"


Copy and paste a URL

Should you copy & paste a URL from your browser, be sure it has no format anymore by copying it first to Notepad for example. Hidden characters might otherwise prevent retrieving data correctly.

Dynamic URLs using keywords as parameters

Keywords used as parameters in dynamic URLs are selected, limited and ranked in Europa Analytics. In order to find indicators for a particular page with this type of URL, it is important to respect the order in which these keyword parameters have been ranked.

Example given: For a URL like http://ec.europa.eu/avservices/player/streaming.cfm?type=abc&sid=123&unk=xxx it is important to know that only 'type' and 'sid' are selected to be kept. Also there is a ranking of the keywords: 'sid' is ranked before 'type'. So, before searching for indicators in Europa Analytics for this URL check how keywords are ranked. Since 'sid' comes before 'type' in the ranking, it is necessary to edit the URL before using it as a parameter in Europa Analytics: http://ec.europa.eu/avservices/player/streaming.cfm?sid=123&type=abc. It is also important to remember to connect the keyword parameters with an ampersand (&). more info in Content Dynamic URL keywords

Personal tools