A Smart Tag is a small piece of code which, when used for notifications or form fields, provides you valuable information about mostly everything related to the moment when your form was submitted.
In the Form element we have different varieties of these smart tags that can be used to extract any kind of information using the form. These can be added in almost all the mail configuration fields, and to your email notifications.
The different categories of Smart tags that we have are listed below:
- JOOMLA-
- Page:-
- page.title- This provides the title of your page where the form is in.
- page.url- This provides the URL of the page where the form is.
- page.path- This provides the page directory path where you navigate to the form.
- page.lang- This provides the language code of the page where the form is.
- Site:-
- site.name- This is the name of your Joomla website.
- site.url- This provides the URL of that Joomla website
- site.host- This tells us about the host of your Joomla website.
- site.email- This tells us about the email website uses.
- Users:-
- user.id- This provides the ID of the logged in user.
- user.username- This provides the username of the logged in user on the website.
- user.email- This gives the email ID of the logged in user.
- user.name- This tells about the main name of the logged in user.
- user.group(s)- This tells us about the user group to which the user belongs.
- Page:-
- CLIENTS-
- Clients:-
- client.ip- This gives us the IP address of the logged in user.
- client.browser- This tells us which browser the user is accessing the form from.
- client.browser_version- Tells us about that browser’s version he is using.
- client.os- This tells us about the operating system the user has.
- client.os_version- This tells the version of of the operating system he is on.
- client.useragent- This tells us about the user’s other system details.
- Clients:-
- OTHER-
- System:-
- system.date- This tells us about the system date.
- system.time- This tells about the system timezone.
- system.timestamp- This gives the websites time & date.
- Others:-
- referrer- This gives the reference URL of the lead capturing the form.
- randomid- This gives a random ID an an alpha-numeric character.
- querystring.YOUR_KEY- To retrieve query string property from current url. Use a query string key to get property value.
- System:-
- FIELDS- This individually & combined({fields.allfield}) provides info about the different fields used in the Form and their values as submitted.