te3:incoming:standard
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
te3:incoming:standard [2016/05/06 09:05] – moderator | te3:incoming:standard [2020/04/15 15:34] (current) – [2. JavaScript tracking] admin | ||
---|---|---|---|
Line 73: | Line 73: | ||
docref=encodeURIComponent(docref); | docref=encodeURIComponent(docref); | ||
- | document.write('< | + | |
+ | |||
+ | var img = document.createElement(' | ||
+ | img.setAttribute(' | ||
+ | img.setAttribute(' | ||
+ | img.setAttribute(' | ||
+ | img.setAttribute(' | ||
+ | |||
+ | var elem = document.createElement(' | ||
+ | elem.style.cssText = ' | ||
+ | elem.appendChild(img); | ||
+ | document.body.appendChild(elem); | ||
} | } | ||
+ | document.addEventListener(" | ||
te3_js_tracking(); | te3_js_tracking(); | ||
+ | }); | ||
+ | |||
// --> | // --> | ||
</ | </ | ||
Line 121: | Line 135: | ||
docref=encodeURIComponent(docref); | docref=encodeURIComponent(docref); | ||
- | | + | // |
+ | |||
+ | var img = document.createElement(' | ||
+ | img.setAttribute(' | ||
+ | img.setAttribute(' | ||
+ | img.setAttribute(' | ||
+ | img.setAttribute(' | ||
+ | |||
+ | var elem = document.createElement(' | ||
+ | elem.style.cssText = ' | ||
+ | elem.appendChild(img); | ||
+ | document.body.appendChild(elem); | ||
} | } | ||
+ | document.addEventListener(" | ||
te3_remote_track(); | te3_remote_track(); | ||
+ | }); | ||
// --> | // --> | ||
</ | </ | ||
Line 136: | Line 163: | ||
</ | </ | ||
- | \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ | + | |
- | + | ||
- | Ko/ce bomo v TE docs dodali se pages and rediretions! | + | |
- | + | ||
- | <WRAP caution> | + | |
- | There are some downsides though. Rotating multiple index pages and redirecting surfers is not possible. Traffic tracking is also less accurate. Javascript incoming tracking method should only be considered, if there is absolutely no other option. | + | |
- | </ | + |
te3/incoming/standard.txt · Last modified: 2020/04/15 15:34 by admin