Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Magento Search Engine Optimization
  • Table Of Contents Toc
Magento Search Engine Optimization

Magento Search Engine Optimization

By : Robert Kent
4.7 (3)
close
close
Magento Search Engine Optimization

Magento Search Engine Optimization

4.7 (3)
By: Robert Kent

Overview of this book

This book is an easy-to-follow tutorial with best practices and advanced references which will help you to take full advantage of Magento with SEO. This book is aimed at both Magento developers and SEO specialists who wish to optimize search and end user elements such as click-through rates to ensure the design of their online shop sites effectively maximize sales. Magento store owners may also find large sections of this book useful in order to understand the larger impact small tweaks and changes can have on SEO - especially when editing products and categories. This book assumes that the reader will understand the basic concepts of keyword research and the external factors that are required in order to manage an on-going SEO campaign.
Table of Contents (15 chapters)
close
close
Magento Search Engine Optimization
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1
Index

Google Analytics


SEO would be obsolete if there wasn't a way to analyze the flow of traffic onto (and through) our optimized website.

There are many analytics packages out there, but the most popular by far is Google Analytics (http://www.google.com/analytics/).

In order to set up Analytics effectively on our Magento store, we will need to enter our Google Analytics Account Number (tracking ID) in the administration panel. It is also recommended that we activate e-commerce tracking from within our Google Analytics account.

In order to do this, perform the following steps:

  1. Log in to our Google Analytics account and navigate to our particular website's account page.

  2. Click on Admin.

  3. Within this section, we should see three columns: Account, Property, and View. If we wish to find out our Tracking ID, click on Property Settings under the Property column; we can then copy/paste our Tracking ID from here.

  4. To turn on E-commerce tracking, we should click on View Settings within the View section and then scroll down to Ecommerce Settings and ensure that the toggle is set to ON.

  5. Now that we have our tracking ID and have enabled E-commerce tracking in Google Analytics, we should navigate to our Magento administration panel and then go to System | Configuration | Google API | Google Analytics.

  6. Paste in our tracking ID into the Account Number field, set Enable to Yes, and then click on Save Config.

Now that we have set up analytics, we will find a whole plethora of information is now available to us, including the ability to track revenue by source and to work out our most effective conversion paths. We'll look at more advanced tracking methods in Chapter 6, Analyzing and Tracking Your Visitors.

To double-check that our website is calling out the Google Analytics JavaScript code, we can navigate to our home page and then, within the browser, view the page source. Just inside the <body> tag, we should find code similar to the following:

<!-- BEGIN GOOGLE ANALYTICS CODEs -->
// our <script> tag containing our tracking code here
<!-- END GOOGLE ANALYTICS CODE -->

If we do not see this code, it could be that the template file has been edited and the tag that includes our Google Analytics code has been removed. If this is the case, we should double-check our standard template files (1column.phtml, 2columns-left.phtml, 2columns-right.phtml, and 3columns.phtml, usually found within app/design/frontend/[package]/[theme]/template/page) to make sure that these two snippets of code are in place:

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

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

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Magento Search Engine Optimization
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon