• Resolved Gulshan Kumar

    (@thegulshankumar)


    Hello,

    In order to restrict cookie for a particular domain, I would like to slightly change the script to specify cookie-domain.

    From
    ga('create', 'UA-XXXXX-Y', 'auto');

    To
    ga('create', 'UA-XXXXX-Y', {'cookieDomain': 'www.example.com'});

    Manually, I know I can do. But is there any easy way?

    Ref: (1)

    Thanks & Regards,
    Gulshan

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Wants to specify Cookie domain’ is closed to new replies.