Joomla - Virtuemart - Google analytics code insert

Posted on 2011-10-27
Last Modified: 2012-05-12

My customer wants me to insert his Google analytics code to every product in the Virtuemart.

Is this a big work or the only thing I need to do the edit the browse page and fly page? (if so, where and how)

Thank you
Question by:starhu
    LVL 12

    Expert Comment

    you insert google analytics to the site and if you want you can insert the google code (for eCommerce) to the thank you page
    LVL 7

    Accepted Solution


    I think it is enough that you make the code in the joomla theme index file itself,which will work with all the files that you want to...
    LVL 13

    Assisted Solution

    Locate the theme's index page:

    /templates/<your virtuemart theme>/index.php

    And put the Google Analytics code in the header of that template.

    Please let me know if you need detailed instructions on how to do this.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Adobe Dreamweaver CC 2015

    Adobe Dreamweaver Creative Cloud is used by web designers and front-end developers and allows you to visualize your site in real-time as you code. This course covers exam objectives for the Adobe Certified Associate (ACA) certification.

    Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now