Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi,
I have website called abc.com and I want to implement a referral system for it. For example website users will have link like this and can share it to friends : abc.com?refcode=123456
I want to keep this 123456 on cookies so I create a code like this
Code: Select all
<cms:set_cookie 'refcode' value="<cms:gpc 'refcode' method='get'/>" scope='global'/>


When page loads like abc.com?refcode=123456, there is no problem but if visitor go to another page cookie value is becoming to zero (0). How can I keep this value on cookie in every page of my website?
Hi,

Have you checked the cookie is not somehow getting overwritten?
Hi KK,
Yes, I checked. There's no overwriting problem :(
3 posts Page 1 of 1