Welcome to mirror list, hosted at ThFree Co, Russian Federation.

form_add_goal.tpl « templates « Goals « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 95c4f6d3d9f452ff296d5be10fac1b2d76db44c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{literal}
<style>
.goalInlineHelp{
color:#9B9B9B;
}
</style>
{/literal}
<span id='GoalForm' style="display:none;">
<form>
	<table class="tableForm">	
		<tr>
			<td>Goal Name </td>
			<td><input type="text" name="name" value="" id="goal_name" /></td>
		</tr>
		<tr>
			<td>Goal is triggered when visitors:</td>
			<td>
				<input type="radio" id="match_attribute_url" value="url" name="match_attribute"/>
				<label for="match_attribute_url">Visit a given URL (page or group of pages)</label>
				<br>
				<input type="radio" id="match_attribute_file" value="file" name="match_attribute"/>
				<label for="match_attribute_file">Download a file</label>
				<br>
				<input type="radio" id="match_attribute_external_website" value="external_website" name="match_attribute"/>
				<label for="match_attribute_external_website">Click on a Link to an external website </label>
			</td>
		</tr>
		<tr>
			<td>where the <span id="match_attribute_name"></span></td>
			<td>
				<select name="pattern_type">
					<option value="contains">contains</option>
					<option value="exact">is exactly</option>
					<option value="regex">matches the expression</option>
				</select>
				
				<input type="text" name="pattern" value=""/>
				<br>
				<div id="examples_pattern" class="goalInlineHelp"></div>
				<br>
				<span style="float:right">
				(optional) <input type="checkbox" id="case_sensitive"/>
				<label for="case_sensitive">Case sensitive match</label>
				</span>
			</td>
		</tr>
		<tr>
			<td>(optional) Goal default value is </td>
			<td>{$currency} <input type="text" name="revenue" size="1" value="0"/>
			<div class="goalInlineHelp"> 
			For example, a Contact Form submitted by a visitor <br>
			may be worth $10 on average. Piwik will help you understand <br>
			how well your visitors segments are performing.</div>
			</td>
		</tr>
		<tr>
			<td colspan="2" style="border:0">
			<div class="submit">	
				<input type="hidden" name="methodGoalAPI" value="">	
				<input type="hidden" name="goalIdUpdate" value="">
				<input type="submit" value="Add Goal" name="submit" id="goal_submit" class="submit" />
			</div>
			</td>
		</tr>
	</table>
</form>
</span>