[TYPO3-english] Accept cookies and allow google analytics tracking based on visitor's choice

Kay Strobach typo3 at kay-strobach.de
Thu May 31 14:24:07 CEST 2012


Hi Sankar,

if you need to solve the european dataprotection act.
Don't worry session cookies are allowed.
Additionally you may specify, that your TYPO3 will add the
sessionvariable to the url in the installtool, this will slow down
things a bit :)

Regards
Kay

Am 31.05.2012 13:48, schrieb PIT Solutions:
> Hi All,
> 
>         Is it possible to accept cookies and allow google analytics tracking based on visitor's choice in typo3? I need an entry page for my site and there will be 2 options in that page- continue with cookies and continue browsing without cookies. The visitor doesn't need any cookie variable to be stored in his browser if he choose "continue without cookies" option.
> I thought of implementing it using a session variable and so I wrote a php file and called it via a typo3 userfunction. 
> 
> How can I call my user function after loading everything else in typo3? Calling a userfunction using pageobject like page.9999 didn't work well, as typo3 renders more code after that and also found that typo3 cookie variables like "fe_typo_user" gets initialized each time the page is loaded.
> Is there any hook available in typo3 core files to implement this functionality?  I'm using typo3 4.7.
> 
> Thanks in advance.
> 
> Regards,
>     Sankar.V
> 


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach



More information about the TYPO3-english mailing list