Using Smart Tags
Insert relevant information into your Joomla forms, much like how a programmer uses variables when writing code. Capture current URL, referrer URL or even the visitor's IP address in form fields.
Do you want to capture or display additional user or site data on your site? It can be tricky if you need more information, such as the user's origin or the page URL, or want to capture the logged-in user's name or email address automatically. All of these things can be tracked efficiently with the help of Smart Tags.
This tutorial will show you how to use Smart Tags in Tassos extensions.
What is a Smart Tag?
A Smart Tag is a small piece of code that can provide you with valuable information about almost everything related to the moment when the page is rendered.
A Smart Tag can be identified by its enclosing curly brackets and the descriptive word(s) that are inside it. It looks like this:
{smart_tag}
There's a variety of Smart Tags that can be used across all Tassos extensions.
- Date Time
- Visitor Technology
- Uitlities
- Integrations
- AcyMailing
- Site
- Article
- Menu Item
- Page
- URL
- QueryString
- User Account
- Geolocation
Smart Tags Rules
- You can use nested Smart Tags.
- You can use the same Smart Tags multiple times on the page without worrying about performance issues, as Smart Tags use caching.