Results 1 to 10 of 2161

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    62
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Zencart 1.38
    Simple google analytics 1.2.2
    Use older urchin = no

    I searched the thread and am still confused how to set up alias domains. Posts ~#1015 seem relevant but adds to my confusion.
    I have mysite.com and anotherurl.com that points to mysite.com. The redirect is set to point to mysite.com by the hosting company and not by any settings on my end (like htaccess).
    Im simply trying to track how many people directly typed in anotherurl.com to get to mysite.com
    Is this actually already being tracked in analytics as a “traffic source”?
    If I understand right, to track anotherurl.com I set should set up another profile inside google such that I have:
    Exsisting UAxxxxxx-1 and
    Other url UAxxxxx-2

    Right or wrong?

    Then, I am totally clueless what to do next. One post says to add UAxxxxx-2 in admin/configuration/GoogleAnalyticsConfiguration .
    Is this correct? There is only one field in the interface. Would I just put both with a comma in between (as in UAxxxxx-1, UAxxxxx-2)?

    Other posts mention modifying code but I am lost as to what to modify. I see tpl_main_page.php mentioned frequently but it does not look like anything in that file specifically references the particular UAxxxx number.

  2. #2
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    If requests for the other domain name are simply redirected, there is no simple way to track the clicks through it. It doesn't serve a HTML page, therefore there is no content served on that domain that can be tracked.

    You add only one tracking code to your page, the one for the final domain - the one that actually displays the content.

    I don't know if this is feasible for your site, but if you can get the other domain to redirect to a specific single specially created landing page on the new domain, you could track visitors passing through that page instead. For this to work, the new page would NOT be linked from anywhere else on the main domain, but it would link to many pages of the new site: the major category pages at the very minimum. You would also need to "noindex" that page so that people do not find it via searchengines.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by angst View Post
    Zencart 1.38
    Simple google analytics 1.2.2
    Use older urchin = no

    I searched the thread and am still confused how to set up alias domains. Posts ~#1015 seem relevant but adds to my confusion.
    I have mysite.com and anotherurl.com that points to mysite.com. The redirect is set to point to mysite.com by the hosting company and not by any settings on my end (like htaccess).
    Im simply trying to track how many people directly typed in anotherurl.com to get to mysite.com
    Is this actually already being tracked in analytics as a “traffic source”?
    If I understand right, to track anotherurl.com I set should set up another profile inside google such that I have:
    Exsisting UAxxxxxx-1 and
    Other url UAxxxxx-2

    Right or wrong?
    Yes, this is one way to do it (the one that I prefer). Setup a new profile (you can do this as a stand alone profile or UNDER a current profile -- if the two are associated.)

    In order to track the "new" url however, you'll need to install the Google Code (different tracking id like UAxxxxx-2) on the separate url. However, if you have an automatic re-direct in place at that url and the page does not actually load upon arrival, then the tracking code for Google will not trigger (the page needs to load for that to happen) and the data for that separate url will not be tracked individually.)


    Quote Originally Posted by angst View Post
    One post says to add UAxxxxx-2 in admin/configuration/GoogleAnalyticsConfiguration .
    There is no such configration variable or option in this module (Simple Google Analytics). Are you sure you are using this version or another?

    Quote Originally Posted by angst View Post
    Is this correct? There is only one field in the interface. Would I just put both with a comma in between (as in UAxxxxx-1, UAxxxxx-2)?
    No, this is not correct, and no you would not want to put a comma between id's. That will render tracking useless.

    Quote Originally Posted by angst View Post
    Other posts mention modifying code but I am lost as to what to modify. I see tpl_main_page.php mentioned frequently but it does not look like anything in that file specifically references the particular UAxxxx number.
    If you want to extend the code (but not needed as seen in the above option) you would have to look within the "google_analytics.php file found in the /google_analytics/ folder that comes with the install. This is the file that contains and writes all the tracking info to the page.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 

Similar Threads

  1. v150 Simple Google Analytics .sql error !
    By Miff in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Feb 2012, 11:33 PM
  2. Simple Google Analytics-not working
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Nov 2010, 06:07 PM
  3. Simple (From Google) Analytics Install
    By DagLindt in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 May 2009, 10:46 PM
  4. Simple google analytics- help
    By Pet Herbal Remedies in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 1 Oct 2008, 10:37 PM
  5. Simple Google Analytics not working
    By jvanree in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 May 2008, 03:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg