512-535-2492
Austin SEO Company | TastyPlacement
  • Austin SEO
    • TastyPlacement in the Press
    • Meet the Team
  • Blog
  • Services
    • SEO Services
      • WordPress SEO Service
      • Magento SEO Services
      • Why Google Certification Matters
    • PPC & Adwords
      • Adwords & PPC Management
      • Remarketing Services
      • Display Ad Management
      • Facebook Ad Management
      • Pinterest Ad Management
      • Google Ad Grants Management for Non-Profits
      • Adwords App Install Ad Management
      • Product Listing Ad Management
    • Analytics & Data
      • Analytics and Monitoring
      • Google Tag Manager Experts
      • Data Studio Development & Consulting
    • Social Media & Local Marketing
      • Social Media Marketing
      • Local SEO
    • Web Development
      • Mobile Website Design
      • WordPress Development
  • Case Studies
    • SEO Case Studies
      • SEO Case Study: We Beat Lowes, Then We Beat Home Depot
      • SEO Case Study: Total Domination in Houston for Medical Provider
    • Analytics Case Studies
      • Case Study: Updated Design Yields 43% Increase in Conversion Rate
      • Case Study: PPC Optimization Yields Tripled Conversion Rate
    • Social Media Case Studies
      • Social Media Case Study: Hundreds of New Customers From Core Facebook Campaign
  • Portfolios
    • Display Ad Portfolio
    • Design Portfolio
    • Infographic Portfolio
    • SEO Testimonials
  • Contact
    • New Customers: Get to Know Us
    • Customer Service & Support
    • Referral Program
    • SEO Training Seminars
    • Job: Paid Search/PPC/Adwords Analyst
    • Job: Local Digital Marketing Specialist
    • Job: Search Marketing Junior Analyst
    • Privacy Policy & Terms of Use
  • Menu

Posts

How to Install Google Analytics on Your WordPress AMP Content

February 22, 2016/0 Comments/in Analytics, Mobile SEO /by Matthew Bey

In the last post we talked about how to get AMP working in WordPress and how to get it optimized for the Accelerated Mobile Pages search results. Today we’re going to talk about how to get Google Analytics working on the AMP content. We’re huge GA fans, and if we’re not tracking the traffic for our site, we really wonder why we’re doing it in the first place.

Google recommends that you create a new property for your AMP pages. The analytics library for AMP doesn’t have all the capabilities of a full-scale GA snippet, so there would be a bit of apples and oranges if you put that traffic into your main account. Also, there’s not going to be much traffic shuttling between the two versions of your site. There will be no traffic going from the real site to the AMP templates, and any traffic coming off the /amp pages will have only one source: Google mobile search.

Just like the logo we did in the previous blog post, you’re going to insert the Google Analytics onto your page using hooks dropped into functions.php. The AMP guidelines only allow pre-vetted one-size fits all javascript, which means you can’t just drop the normal GA snippet into your head. You will add Google Analytics using the “amp-analytics” tag, which you customize to your account using JSON.

Which is to say, copy and paste the code below and replace the “UA-xxxxxxx” with the Google Analytics ID for your new property, and that should do the trick.

//////////////adding analytics to AMP///////////

add_action( 'amp_post_template_head', 'xyz_amp_add_analytics_library' );
add_action( 'amp_post_template_footer', 'xyz_amp_add_analytics' );
function xyz_amp_add_analytics_library( $amp_template ) {
$post_id = $amp_template->get( 'post_id' );
?>
<script async custom-element="amp-analytics"
    src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
<?php
}
function xyz_amp_add_analytics( $amp_template ) {
    $post_id = $amp_template->get( 'post_id' );
    // see https://github.com/ampproject/amphtml/blob/master/extensions/amp-analytics/amp-analytics.md for more on amp-analytics
    ?>
 <amp-analytics type="googleanalytics" id="analytics1">
<script type="application/json">
{
  "vars": {
    "account": "UA-xxxxxxx"
  },
  "triggers": {
    "trackPageview": { 
      "on": "visible",
      "request": "pageview"
    }
  }
}
</script>
</amp-analytics>
    <?php
}
/////////////end adding AMP analytics////////////////

I haven’t been seeing the GA AMP tag showing up in the Tag Assistant extension, so you will need to look at this property through the real-time viewer to see if it’s actually tracking.

How to Implement and Optimize AMP in WordPress

February 22, 2016/0 Comments/in Analytics, Mobile SEO /by Matthew Bey

Do you have Accelerated Mobile Pages working? Unless you’re a major news outlet like The Guardian, you probably don’t. In this post, we’ll talk about what AMP is and what it’s not, how it will be hugely important for SEO (or totally irrelevent), and lastly how to get it working on your own WordPress site. And in the next post we’ll cover how to install the analytics, which will answer the question which is hovering sword of Damocles-like above this whole project: Is AMP worth the trouble? Or is it another crazy scheme like Rel Author which won’t catch on?

Accelerated Mobile Pages: Possibly a Big Deal

Starting on Wednesay, February 24th, two days from the writing of this blog post, Google will start presenting AMP in its mobile search results.

First, let’s remove the two major misconceptions that the name “Accelerated Mobile Pages” has already given you and everyone else. AMP is absolutely not a way to speed up your site’s load time. In fact, AMP is a tool for bypassing your site’s speed entirely. Second, AMP is not a way to deliver mobile content to your users and it’s not the newest successor to responsive design.

Accelerated Mobile Pages allow Google to present extremely fast content through mobile search. If you’re not on a mobile device, Google won’t show you AMP content. And to ensure the fastest possible loads, Google will cut you and your second-rate hosting out of the equation entirely by caching your AMP content on Google’s own servers.

So basically, you’re jumping through hoops to give Google content to present to their users, through their hosting, using their stringent quality standards, and without the design and features that you’ve worked so hard to implement on your site.

Take a look at this very post in AMP format, presuming you’re not doing so already. All you have to do is type “/amp” at the end of the URL and go:
https://tastyplacement.com/how-to-implement-amp-and-google-analytics-in-wordpress/amp
Are you back? Doesn’t look like much is going on, does it? It’s supposed to be simple and cookie-cutter because everything here is about speed.

What Does AMP Mean for SEO?

If your site doesn’t pull any search traffic for the terms which provoke AMP search results, then this won’t amount to anything. If Google displays AMP results for your keywords, then it means choice rankings right at the top of the page. If there’s anything which is more of a no-brainer for SEO than automatic #1 rankings for a sizeable chunk of your organic traffic, please mention that in the comments.

At the moment, the AMP results demo only seems to show for very current news topics. You can expect that to expand as more publishers push into Accelerated Mobile Pages. Try opening this link in a mobile device to see it in action.
AMPresultsDemo

Getting AMP Working

The first step is to get the official AMP plugin for WordPress installed on your site. The team working on this piled on a bunch of updates under the wire before the big day. Just last month it gave some pretty raw results, with broken code displaying visibly on most pages.

Currently, the plugin only works on posts. It will not do regular-old pages or archive pages or anything like that. And it doesn’t have to. Remember, the mission for AMP is pretty narrow right now. It’s all about delivering content fast for mobile searchers and they won’t need any of that stuff.

The plugin is going to do all the heavy lifting of making the meta-tag markup work and having most of the content validate. You just need to make it look good and fix anything overly ugly.

Sprucing It Up

Out of the box, the AMP template for WordPress is pretty vanilla, but that’s kinda the point. You will want to customize it with your logo. The developers of the plugin want you to make your changes using hooks. This is the WordPress way and in the long term it will be the most future-proof strategy.

The AMP template will only display a 32×32 image. You may already have a favicon file of this size, but if not, shrink down your logo and then upload it to the WordPress media library.

To add that image, drop this function at the bottom of your theme’s functions.php file:

///////////////adding the site icon to AMP///////////
add_filter( 'amp_post_template_data', 'xyz_amp_set_site_icon_url' );

function xyz_amp_set_site_icon_url( $data ) {
// Ideally a 32x32 image!!!!!!!!!!!!!!!!!
$data[ 'site_icon_url' ] = get_site_url() . '/wp-content/uploads/YOURLOGONAMEHERE.jpg';
return $data;
}

If you want to make more sweeping changes, you will have to put together a custom template, but that’s probably not worth the effort until you know how much traffic you’re getting through the AMP initiative.

Troubleshooting AMP in WordPress

Most likely there’s going to be some problems. The AMP plugin broke our front page because we had our site name saved with a couple of capital letters. I found that the Digg Digg plugin broke AMP. Our caching plugin also caused strange results. Like usual, plugin conflicts will be the source of most of your problems.

To check to see if your page validates correctly, just add “#development=1” to the end of your AMP URL in Chrome. Then right-click, inspect element, and click on the “console” tab. If you haven’t made any mistakes, then you’ll get the all-clear validation:
AMPvalidationconsole
If you don’t, then you have more work to do.

Once Google has crawled the site, they’ll let you know if any of the pages failed to validate in Search Console.
AMP search console warning

Maximizing Your AMP Traffic

You will notice that the AMP template doesn’t have a menu or footers or sidebars, or all the bells and whistles we expect from WordPress. All this hypothetical traffic from Google mobile search won’t mean anything if you can’t keep visitors on your site. So try adding this code to your functions.php, so any users who get to the bottom of your content won’t be left hanging:

////A little message for the end of AMP pages/////
add_action( 'amp_post_template_footer', 'callToActionAmp' );
function callToActionAmp() {
	$sitelocation = get_site_url();
	?><div class="content"><h3>Get more great infotainment <a href="<?php echo $sitelocation; ?>">on our main site</a>!</h3></div><?php
	return;
	}

And that should more or less have you set up for Accelerated Mobile Pages. Let us know if you get any meaningful traffic from it!

In the next post we’ll talk about how to get Google Analytics working on your AMP pages.

Siri Search Optimization

November 16, 2011/0 Comments/in Mobile SEO, SEO /by Michael David

You may have heard that the iPhone’s new voice-command and personal/search assistant “Siri” will be “the end of SEO as we know it.” Undoubtedly a shift is coming, but I for one doubt it will be as disruptive as the apocolyptos might have you believe. After all, we’re not all going to use only our phones for everything. We like our laptops, and in addition, bargain hunting (AKA commercial search) is deeply ingrained in human nature.

There are a lot of fun things Siri can do including transcribing text to voice, setting reminders, playing music, checking the weather, getting directions, and yes carrying out search queries. Undoubtedly, Siri will catch on like wildfire, and as a result will compete with many apps and tools, including search engines.

Optimizing for Siri

The integration of Siri will begin to affect strategies and optimization efforts, but most of these things should be part of an immersive SEO program from the start.

Local Search for Siri

People search from mobile devices on the move; they’re not sitting down to do in-depth research. A majority of mobile searches are location-specific including directions, finding nearby restaurants, or other local services.

With Siri, it’s not about people getting to your website through Google placement alone because visibility comes from other sources. Siri wants to give users a visual experience and draws data from local listing sites such as Yelp, Google Maps, Citysearch, YP, etc. There are more than 60 of these sites on which it is well worth your time to create a listing. It’s not just for Siri, getting listed on (and links from) all these sites improves local listing and organic placements in SERPs as well.

Obviously, you’ll want your information to be correct, up to date, and fully filled out on these sites with accurate address, phone number, images, positive reviews, and a high number of ratings. For more info on local optimization, check out our post on local listings SEO.

Rich Snippets and Schema Tags

Schema.org lets you use a specific markup language (web code) to identify specific information about your business and web presence and make that information more easily found by search engines.

Search engines are using on-page tags in a variety of ways. Google uses them to create rich snippets in search results and will continue to do so more and more. These snippets include author information, address, phone number, operating hours, and so on. So you can see how these tags have value to local searches such as are the focus of Siri. Offering a highly structured format for this information makes it that much easier to be found.

Variety in Linkbuilding and Long Tail Keywords

This is the first version of Siri, and its depth of language capabilities will continue to increase with new versions. Therefore the following effect will only continue to grow. Already, the length of Siri queries are longer because users are searching in natural speech rather than pecking away at keyboards or small iPhone touchscreens.

The result is more long-tail and highly targeted searches. Optimizing for long-tail means more words on the page and more flexible link building. Both of these strategies work in organic search as well, so you won’t even have to duplicate your efforts.

It used to be that you chose your anchor text and could simply bang away at it over and over. With enough links, you’d move on up. That hasn’t been best practice for a while, and Google is becoming even more focused on natural-looking anchor text profiles. Not only is this a safety-first method, but it’s also more efficient. Flexible anchor text (anchor text with the keyword integrated here and there, but also broadly varied) is more efficient in increasing rankings, even for the targeted, high-volume terms.

Back to Siri, the efforts you make to naturalize and get the most out of your link profile will also help you rank for long-tail searches, which Siri is all about. As a bonus, long tail searches are more targeted to the specific needs of a given search query and therefore convert at higher rates.

The iPhone 4s (S is for Siri? Seems that way to me…) is Apple’s best-selling phone to date, with 4 million sales in three days. Verizon started carrying the iPhone earlier this year and even Sprint has had no choice but to jump on the bandwagon. It’s a monolith, and it’s the impetus for a new fold of search optimization.

Best Android Apps for SEO

July 21, 2010/6 Comments/in Mobile SEO /by Michael David

Best Android Apps for SEO

We have converted! Most of us at TastyPlacement are now on the Android platform for mobile use and we’ve found a few handy apps to assist us in our SEO analysis and daily work.

mAnalytics – Google Analytics for Android

This handy plug-in/app is so user-friendly, I find myself reaching for it rather than logging on to my PC to see Google analytics. One feature that makes it so easy to use is that it logs you in automatically. Also, the app displays all accounts and subaccounts in a single list, eliminating the need to go hunting and subaccounts if you only need to check analytics for one site.

[lightbox style=”modern” image_path=”https://tastyplacement.com/wp-content/uploads/manalytics-seo.jpg” popup=”https://tastyplacement.com/wp-content/uploads/manalytics-seo.jpg” link_to_page=”” target=”” description=”mAnalytics for SEO” size=”portrait_full”]

Best for a Quick Peek

mAnalytics offers simple, quick-view screens that can show you core analytic data quickly. Obviously, you’ll analyze more complex metrics and reports on your desktop or laptop. We like mAnalytics because it puts your basic website metrics in the palm of your hand for quick viewing. The free version is suitable for most purposes (I almost feel like it would be worth paying for). The paid version, at only $1.36, adds widgets for homescreen and shows no ads.

Strangely silent video showing mAnalytics in action:

You can find mAnalytics in the Android Market or mAnalytics Pro.

SEO SiteRank & SiteRank Lite

This app comes in both a paid and free version. SiteRank lets you grab the page rank and Alexa rank for a site while viewing in your browser, unlike many Android apps which operate independently of your mobile browser.

SEMTab SEO Pro

SEMTab SEO Pro, a paid app well worth the $1.99, is a great social listening tool to help you keep track of your site’s social sharing presence on Facebook, Twitter, and Delicious. As Google starts to knit in Google+ sharing activity and social authority into its ranking algorithms, this aspect of SEO cannot be overlooked.

SEO Keyword Checker

This free app analyzes a webpage and returns basic information about keyword use in keyword density. It’s a helpful app, however, some users report does not work on all devices.

Webrank SEO

A great free app, Webrank SEO is like having SEO Site Tools (a Chrome extension I swear by) on your phone. It concisely displays any site’s Google Pagerank, Alexa Rank and Compete Rank, the number of indexed pages and backlinks for multiple search engines, and helps you detect any potential penalties against your site on-the-fly.

SECockpit

A mobile solution to meet your keyword-research needs. This is a great app to use when speaking with clients – you can search for a keyword phrase and SECockpit pulls up the search volume and competition for the term.

We will continue to update this article as we learn about more new apps. All of the apps from this article are available in the Android Marketplace.

Tutorials & Case Studies

  • Analytics
  • Backlink Strategies
  • Case Studies
  • Infographics
  • Internet Marketing
  • Local Maps and Local Listings
  • Magento
  • Mobile SEO
  • Our Book: SEO for Wordpress
  • PPC
  • Programming & PHP
  • SEO
  • SEO Power Tools
  • SEO Resources
  • Social Media Marketing
  • Updates & News
  • Web Design
  • WordPress

Our Most Recent Tutorials & Case Studies

  • How to Connect Google DataStudio to MySQL Database (cPanel Flavor)
  • UTM Codes/Tags: A Quick Guide to Tagging Ads Like a Pro
  • Social Media Case Study: Hundreds of New Customers From Core Facebook Campaign
  • How to Recognize the Indeed.com Robot and Other Unwanted Visitors
  • SEO Case Study: We Beat Lowes, Then We Beat Home Depot

Austin SEO Company, TastyPlacement

TastyPlacement
4150 Freidrich Ln Ste C
Austin, TX 78744
Tel: (512) 535-2492

Google Maps: Get Directions or Read Our Awesome Reviews

Quick Navigation: Our Most Important Pages

  • Austin SEO [Home]
  • WordPress SEO Service
  • PPC Management
  • Social Media Marketing
  • Analytics and Monitoring
  • Remarketing Experts
© Copyright - TastyPlacement. Made in Austin, Texas
Scroll to top