Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloOne & HelloOne iPhone google analytics for helloOne

    This topic contains 2 replies, has 2 voices, and was last updated by  Anonymous 5 years, 4 months ago.

    Viewing 3 posts - 1 through 3 (of 3 total)
    • Author
      Posts
    • #15755

      Anonymous

      Hi,

      I installed the HelloOne theme.

      I noticed the google analytics script is nog showing.

      I followed these steps:

      1. add this line of code:
      <?php echo $this->getChildHtml('after_body_start') ?>

      after this code (line 37):
      <body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>

      to these files:
      app/design/frontend/default/helloone/template/page/1column.phtml
      app/design/frontend/default/helloone/template/page/2columns-left.phtml
      app/design/frontend/default/helloone/template/page/2columns-right.phtml
      app/design/frontend/default/helloone/template/page/3columns.phtml
      app/design/frontend/default/helloone/template/page/homepage.phtml

      2. then open:
      app/design/frontend/default/helloone/layout/page.xml

      and add after:
      <block type="core/text_list" name="top.menu" as="topMenu" />
      (line 81)

      this:
      <block type="core/text_list" name="after_body_start" as="after_body_start"/>

      more info:

      http://www.hellothemes.com/forum/topic/google-analytics-code-not-working-after-template-install#post-5426

      However, the google analytics script is still not showing.
      Did I do something wrong?

      #15756

      Anonymous

      never mind

      I got it working.

      I added:

      <block type="core/text_list" name="after_body_start" as="after_body_start"/>
      on line 76 before:

      <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />

      #15757

      Anonymous

      Great!, thanks for posting your resolution.-

    Viewing 3 posts - 1 through 3 (of 3 total)
    Reply To: google analytics for helloOne
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">