The Light Tag allows you to tag your site with only one line of code. It should be used if you do not have time to write and implement a complete and advanced tagging plan, and are in a rush to collect the first statistics.
Code:
pa.sendEvent('page.display',{});
do not forget to initialize the library with the basic configuration beforehand
This line of code will send a page display event whose name will be the URL of the page. With this basic tag you will get:
✅ Volume (number of visites, visitors, hourly traffic, etc.)
✅ Journey (sources (organic only), navigation, entry/exit pages, etc.)
✅ Behavior (time spent, bounce rate, page views, etc.)
✅ Characteristics (device, browser, geolocation, etc.)
Here's the complete list of properties that will be natively available with the Light Tag:
property_key | Name | Comment |
browser | Browser | |
browser_cookie_acceptance | Cookie accepted? | |
browser_group | Browser - Group | |
browser_language | Browser - Language | |
browser_version | Browser - Version | |
connection_isp | ISP | |
connection_monitor | Monitored traffic | Only if you have declared IPs via the Settings |
connection_organisation | Connection organisation | |
connection_type | Connection type | |
date | Date | |
date_day | Weekday | |
date_daynumber | Day number | |
date_month | Month | |
date_monthnumber | Month number | |
date_week | Week | |
date_year | Year | |
date_yearofweek | Year (week) | |
device_brand | Device - Brand | |
device_display_height | Window height | |
device_display_width | Window width | |
device_hour | Device hour | |
device_name | Device - Marketing name | |
device_name_tech | Device - Technical name | |
device_screen_diagonal | Screen diagonal (inch) | |
device_screen_height | Screen height | |
device_screen_width | Screen width | |
device_type | Device - Type | |
event_collection_platform | Collection platform | |
event_collection_version | Collection tag version | |
event_hour | Hour | |
event_id | Event ID | |
event_minute | Minute | |
event_name | Event | |
event_position | Event position | |
event_second | Second | |
event_time | Event timestamp | |
event_time_utc | Event timestamp (UTC) | |
event_url | URL event | |
event_url_domain | Domain event | |
event_url_full | Full URL event | |
exclusion_cause | Exclusion cause | |
exclusion_type | Exclusion type | |
geo_city | City | |
geo_continent | Continent | |
geo_country | Country | |
geo_latitude | Latitude | |
geo_longitude | Longitude | |
geo_metro | Sub-region | |
geo_region | Region | |
goal_type | Goal type | Only if "Goals" have been declared in Data Management based on page URL |
hit_time_utc | Event collected time(UTC) | |
os | OS | |
os_group | OS - Group | |
os_version | OS version | |
os_version_name | OS version (marketing name) | |
page | Page | Populated with the URL |
page_duration | Inter-pages duration | |
page_full_name | Page - with levels | Populated with the URL |
page_position | Page - Position | |
site | Site | |
site_id | Site ID | |
src | Source | |
src_detail | Source - Detail | |
src_direct_access | Direct access | |
src_organic | Previous URL - Category | |
src_organic_detail | Previous URL - Detail | |
src_portal_domain | Portal site - Domain | |
src_portal_site | Portal site | |
src_portal_site_id | Portal site - ID | |
src_portal_url | Portal site - URL | |
src_referrer_site_domain | Referrer site - Domain | |
src_referrer_site_url | Referrer site - URL | |
src_referrer_url | Source - URL | |
src_se | Search engine | |
src_se_category | Search engine - Category | |
src_social_networks | Social network | |
src_type | Campaign / Organic | "Organic" will be the only value |
src_url | Previous URL | |
src_url_domain | Previous URL - Domain | |
src_webmail | Webmail | |
utm_campaign | UTM Campaign | Only if UTMs are present in the URL |
utm_content | UTM Content | Only if UTMs are present in the URL |
utm_medium | UTM Medium | Only if UTMs are present in the URL |
utm_source | UTM Source | Only if UTMs are present in the URL |
utm_term | UTM Term | Only if UTMs are present in the URL |
visit_bounce | Bounce visit? | |
visit_converted | Visit converted? | Only if "Goals" have been declared in Data Management based on page URL |
visit_duration | Visit duration | |
visit_entrypage | Entry page | Populated with the URL |
visit_entrypage_full_name | Entry page - with levels | Populated with the URL |
visit_exitpage | Exit page | Populated with the URL |
visit_exitpage_full_name | Exit page - with levels | Populated with the URL |
visit_hour | Visit start - Hour | |
visit_id | Visit ID | |
visit_minute | Visit start - Minute | |
visit_page_views | Page views (visit) | |
visit_second | Visit start - Second | |
visitor_days | Visitor frequency | |
visitor_id | Visitor ID | |
visitor_visit_per_day | No. of visits per day (visitor) |
Examples of what is not included with the basic tag:
❌ Clicks
❌ Any custom event or property
❌ Internal search engine
❌ Scroll tracking
❌ Etc.