Skip to content
Newer
Older
100644 64 lines (52 sloc) 1.22 KB
d1885ee @docelic - bin/*: minor changes, mostly comment updates/clarification
docelic authored
1 __NAME__ purpose
2 append usertrack entry with arbitrary key=value pair
3 __END__
4
5
6 __NAME__ see also
7 TrackFile
8 __END__
9
10 __NAME__ synopsis
11 <row>
12 <entry>
13 tag
14 </entry>
15 <entry>Yes</entry>
16 <entry>Yes</entry>
17 <entry></entry>
18 <entry>Key name</entry>
19 </row>
20 <row>
21 <entry>
22 value
23 </entry>
24 <entry>Yes</entry>
25 <entry></entry>
26 <entry></entry>
27 <entry>Key value</entry>
28 </row>
96eb0ea @docelic * Perform the second half of synopsis line fixes on tags
docelic authored
29 &TAG_NON_CONTAINER;
d1885ee @docelic - bin/*: minor changes, mostly comment updates/clarification
docelic authored
30 __END__
31
32
33 __NAME__ description
34 The tag is used to append content to the line that will be inserted into
35 user &glos-tracking; log.
36 </para><para>
37 Key/value pairs are added to the line in "GET"-like style.
38 See <xref linkend="usertrack_examples"/>.
39 __END__
40
41
42 __NAME__ notes
43 User &glos-tracking; must be enabled for this tag to produce any noticeable effect.
44 </para><para>
45 &tag-usertrack; does not work on &glos-special; pages.
46 __END__
47
48 __NAME__ example: Basic example
49 Put each of the two lines anywhere on a page:
50 <programlisting>
51 [usertrack HELLO WORLD]
52
53 [usertrack tag=test_var value=test_value]
54 </programlisting>
55 __END__
56
57 __NAME__ example: Recording the number of cart items each time the user visits the index page
58 Put the following in <filename>index.html</filename>:
59 <programlisting>
60 [usertrack tag=nitems value="[nitems]"]
61 </programlisting>
62 __END__
63
Something went wrong with that request. Please try again.