Website optimizer question

Discussion in 'Google' started by count-zero, Feb 11, 2009.

  1. #1
    Optimizer gives me such code to paste to conversion page

    <script type="text/javascript">
    if(typeof(_gat)!='object')document.write('<sc'+'ript src="http'+
    (document.location.protocol=='https:'?'s://ssl':'://www')+
    '.google-analytics.com/ga.js"></sc'+'ript>')</script>
    <script type="text/javascript">
    try {
    var pageTracker=_gat._getTracker("UA-XXXXXXX");
    pageTracker._trackPageview("/XXXXXXXX/goal");
    }catch(err){}</script>


    When I verify javascript tags - it says that there is an error because "urchin.js" not found.
    I also don't see any urchin.js in code, but ga.js. What should I do?
    I tried starting to setup experiment from the very beginning but nothing changes.
     
    count-zero, Feb 11, 2009 IP
  2. Tatvic Analytics

    Tatvic Analytics Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hey,

    Can you answer following question in order to get better understanding of your situation

    1. Is your goal page and test page on different domain ?
    2. Does goal page and test page have google analytics ( is it ga.js ?)

    Thanks,
    Ravi
     
    Tatvic Analytics, Feb 12, 2009 IP
  3. count-zero

    count-zero Member

    Messages:
    78
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Actually I am tracking clicks as conversion goal - so my test\conversion page is the same.

    As conversion tag to track clicks I add the code like this



    <!--
    function ConversionCount()
    {
    _uacct = 'UA-xxxxx-x';
    urchinTracker("/yyyyyyyyyy/goal");
    return true;
    }
    // -->

    <a href="http://www.example.com/file.pdf" onclick="return ConversionCount();">Download the file</a>


    And I don't have GA installed on these pages
     
    count-zero, Feb 12, 2009 IP
  4. Tatvic Analytics

    Tatvic Analytics Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Do one thing for me , since your conversion and test page is the same, the experiment wont let you validate .

    So you got to do hack there !

    Just put your conversion script on any other page(lets call it dummy page), Give URL of that page into GWO 's conversion page and get it validated. Once it is validated ,start experiment and remove the code from this dummy page.
     
    Tatvic Analytics, Feb 13, 2009 IP
  5. Tatvic Analytics

    Tatvic Analytics Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    And ya , would appreciate if you can let me know if it worked or not !

    Thanks,Ravi
     
    Tatvic Analytics, Feb 13, 2009 IP
  6. mehreiran

    mehreiran Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    A Java script file can include another one.
     
    mehreiran, Feb 13, 2009 IP