Home » Wapka Codes 2021 » Wapka Tag codes
Tags
Tag code is useful for dynamic website. You can use this tag in any wapka function.
:VAR(SITE_NAME); - To get your website name.
:VAR(PAGE_NAME); - To get page name
:VAR(PAGE_ID); - To get page id
:VAR(PAGE_TYPE); - To get page content type (default = text/html)
:VAR(USER_NAME); - To get user name
:VAR(USER_ROLE); - To get user role
:VAR(USER_ID); - To get logged user id
:VAR(USER_EMAIL); - To get logged user email
:VAR(USER_TYPE); - To get user account type
:VAR(IP); - To get IP address
:VAR(USER_AGENT); - To get http user agent string
:VAR(DEVICE); - To get device type (Desktop or Mobile)
:VAR(BROWSER); - To get browser name
:VAR(OS); - To get user operating system name
:VAR(PROTOCOL); - To get url protocol e.g. http
:VAR(HOST); - To get http host
:VAR(URL); - To get full url or Uniform Resource Locator
:VAR(URI); - To get Uniform Resource Identifier
:VAR(URL_PATH); - To get path
:VAR(URL_QUERY); - To get query string
:VAR(HTTP_METHOD); - HTTP request method
:VAR(HTTP_REFERER); - To get http referer
comment |