Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3681396
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:41:04+00:00 2026-05-19T03:41:04+00:00

I was wondering if i build this google analytics query the right way. I

  • 0

I was wondering if i build this google analytics query the right way. I am not sure about the ‘utmcc’-Part.

  0 => string 'http://www.google-analytics.com/__utm.gif?utmwv=4.5.7' (length=53)
  1 => string 'utmn=738025229' (length=14)
  2 => string 'utmhn=www.mydomain.de' (length=15)
  3 => string 'utmcs=ISO-8859-1' (length=16)
  4 => string 'utmul=de-de' (length=11)
  5 => string 'utme=8%28myvariable%299%28myvalue%2911%283%29' (length=45)
  6 => string 'utmdt=Homepage' (length=14)
  7 => string 'utmhid=985698389' (length=16)
  8 => string 'utmp=home%2F' (length=12)
  9 => string 'utmac=UA-XXX-6' (length=17)
  10 => string 'utmcc=__utma%253D53343838.1730805896.1287423837.1287423837.1287423837.1%253B%252B__utmz%253D53343838.1287423837.1.1.utmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%253B' (length=188)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:41:05+00:00Added an answer on May 19, 2026 at 3:41 am

    It looks correct to me, are you generating that per user? If you use the same cookie string for everyone you’ll get some unexpected results in analytics.

    Just for reference here’s a static method that I’m using in a production environment to generate the string:

    public static function generate()
    {
        $cookie    = rand(1000000000,9999999999);
        $random    = rand(1000000000,2147483647);
        $visitorId = mt_rand(1147483647,2147483647);
        $today     = time();
        return '__utma=' . $cookie . '.' . $visitorId . '.' . $random . '.' . $today . '.' . $today . '.1;+__utmz=1.'
               . $today . '.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);';
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am wondering about embedding the CrashCatcher framework ( http://code.google.com/p/plcrashreporter ) in a production
Just wondering what the best way to build a NSPredicate is if some filters
I'm wondering how the best way to build a way to interface with Yahoo
I have used this tutorial from Google to build a web app that finds
I'm wondering about the correct/easiest/most pythonic way of dealing with subprojects that you want
I'm wondering if PHP has this optimization built in. Normally when you call foreach
Reading this post has left me wondering; are nightly builds ever better for a
I'm wondering how to make a release build that includes all necessary DLL files
I was just wondering how I could automatically increment the build (and version?) of
Just updated build server with rc0 and surprise no chiron. Wondering how you package

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.