Google API in checkout

Hi There,

I have enabled the Google API in System/Configuration and have added my valid account number.

When I complete the checkout and move to the ‘/checkout/onepage/success/’ page, the google analyitics code is not appearing in the page code.

It should be imbedded in the success page between tags like:
<!-- BEGIN GOOGLE ANALYTICS CODE -->
<!-- END GOOGLE ANALYTICS CODE -->

Can you give me any pointers on how to locate the issue? I have applied another template to the site, and the code is appearing fine.

Thanks in advance.

5 answers

Profile photo of chavan 100.00 $tone June 5, 2012
Public

check if you have this code in all the column pages in this folder : app\design\frontend\default\jm_natristemplate\pag e

Code:

<?php echo $this->getChildHtml('before_body_end') ?>
#1
Profile photo of Ewan Walsh 0.00 $tone June 6, 2012
Public

Hi There,
Thanks for the fast reply.
I have checked all pages and they do contain the above code.
They all end like:

Code:

<!-- FOOTER -->
<?php echo $this->getChildHtml('footer') ?>
<!-- //FOOTER -->

<?php echo $this->getChildHtml('before_body_end') ?>

<?php echo $this->getAbsoluteFooter() ?>

</div>
</body>
</html>

Any other ideas appreciated!

#2
Profile photo of Ewan Walsh 0.00 $tone June 16, 2012
Public

Hi all,
Wondering if anyone else could provide some assistance.
Trail seems to have gone cold on this thread.

Still dont see google code in the final success page like this:
Attachment 21871

The code is just not appearing in the page source.
Any help appreciated!
Thanks

#4

Please login or Register to Submit Answer

Written By

Comments