(Classic) alert()

Engine Compatibility

alert is not supported by the Node engine.

alert(<string>)

Pop an alert box on the client with the message given in the argument string. 

alert("Message")

The following ruleset shows alert() being used

ruleset a1299x162 {
	meta {
		name "Alert Example"
		description <<
			Created to show in documentation working example
		>>
		author "nathan cerny"
		logging off
	}
	dispatch {
		// domain "exampley.com"
	}
	rule alert_example {
		select when pageview ".*" setting ()
		
		alert('Alert Event Fired');
	}
}

The following demonstrates the preceding rule:

Copyright Picolabs | Licensed under Creative Commons.