API Docs for:
Show:

getRefererInformation Class

Constructor

getRefererInformation

(
  • refererUrl
  • currentUrl
  • Id
)

Parameters:

  • refererUrl String

    The document.referrer of visited url

  • currentUrl String

    The current visiting url

  • Id Number

    Profile Id of registerd website.

Methods

getHost

(
  • url
)
String

Parameters:

  • url String

Returns:

String: host name from the given url.

getRefererObject

() Object

Returns:

Object: returns following format { 'RefererType' : value, 'RefererName' : value, 'RefererKeyword' : value, 'RefererUrl' : value }

getUrlVars

(
  • url
)
Object

Parameters:

  • url Object

    the url

Returns:

Object: of Query string variables as object.

parseUrl

(
  • url.
)
Object

Parameters:

  • url. String

Returns:

Object: url with unwanted things removed.

unsanitizeInputValue

() String

Returns:

String: url with unwanted things removed.