DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: Cookie¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed by: | Michael Fritz |
Changed: | 2009-12-03T17:52:25.650000000 |
Classification: | Cookie Tracking |
Description: | Powered by http://www.marit.ag |
Author: | Michael Fritz |
Email: | michael.fritz@marit.ag |
Info 4: | http://www.marit.ag |
Language: | en |
EXT: Cookie - Cookie Tracking
EXT: Cookie¶
Extension Key: Cookie Tracking
Language: en
Keywords:
Copyright 2009, Michael Fritz, <michael.fritz@marit.ag>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.org
Table of Contents¶
`Introduction 3 <#1.1.Introduction|outline>`_
`Installation 4 <#1.2.Installation|outline>`_
Introduction¶
What does it do?¶
This extension finds search engine traffic and store the search terms in a cookie (yahoo, google, bing.com, web.de, ask.com). Its also possible to track one or more url params as a campaign marker.
This extension is quite useful if you're processing the cookie data afterwards e.g. in a shop, to track where the buyer came from.
This extension can be one part of a patchwork. It doesn't do anything valuable for people who don't code by themselves.
What will be tracked?¶
The Cookie stores all referrer in following format:
google.com|keyword1 keyword2|123456789 (= referrer Marker|Keyword strings if defined|timestamp of action)
What referrers will be tracked?
From:
- google.* with Keywords
- Ask.com with Keywords
- yahoo.* with keywords
- web.de with keywords
- Defined URL Param as: campaignParam|value-of-the-param|123456789
- Other specified refferer will be tracked, but just as otherReferrer||123456789
- Direct Access, if referrer is blank
Multiple referrers are stored seperated by a ';'.
The cookie is valid for 31 days.
Installation¶
- Install the Extension
- Check for the constants
- Is jQuery already loaded?
- Load it by google.jsapi or from static resources
- cookie.jquery.js and jquery.getUrlParam.js have to be loaded
- Domain part have to be defined (in regexp style)
- Records with possible params should be defined. You can assign a record to every level of your page tree in order to track that specific parameter in this branch. All parameters will be inherited to subpages of all levels.
For one request only one referrer can be tracked at the same time. The priority is:
Custom params (these params can have a priority within all custom params as well – see graphic below)
SERPS (Bing, Google, Ask, web.de, yahoo.com)
Other Externals
Direct
#include following jQuery-stuff
#jquery 1.3 via google jsapi
include.jQuery.jsapi = 0
#jquery 1.3 from extension directory
include.jQuery.base = 1
#lib jquery.cookie.js
include.jQuery.cookie = 1
#lib jquery.getUrlParam.js
include.jQuery.getUrlParam = 1
#domain part to determine all internal referers (js regex style, replace . by .)
internalRefPart = banquo.de
4