Rich Snippets, Google Tags and Google Analytics

Discussion in 'Search Engine Optimization' started by Helang_IT, Mar 23, 2017.

  1. Helang_IT

    Helang_IT New Member

    Gentlemen,

    I am getting tied up in knots over the use of these separate things.

    1) Rich Snippets,

    I have created JSON code and embedded it in the "Source View" of each page. This puts it in the body of the page. Should it be in the HEAD or the BODY? If HEAD, how do I do that?

    The two key pages for Rich Snippets are the "About Us" page and another page called "Courses".

    The "About Use" page contains Organization and Address of the Head Office.
    The "Courses" page contains the structure for Courses

    I have tested the code on the Google Rich Snippets Debugging Tool and it passes.

    But.... nothing shows up on the search results... at all.

    I would be very grateful if someone would check to see if i'm making some basic mistake.

    Here is the code for the Courses page: (There are actually 16 entries, but for brevity I just show the first 3)

    Code (Javascript):
    <script type="application/ld+json">
    {
      "@context": "http://schema.org",
          "@type": "ItemList",
      "itemListElement":    [
        {
          "@type": "ListItem",
          "position": 1,
          "item": {
      "@type": "Course",
                    "url": "https://www.helangflyingacademy.com/courses/#av-eng",
      "name": "Aviation English",
      "description": "An effective ICAO aviation English training programme",
      "provider": {
        "@type": "Organization",
        "name": "Helang Flying Academy",
            "logo" : "https://www.helangflyingacademy.com/uploads/site_logo.png",
            "telephone": "+60 1260 32829 / +60 1762 31033",
            "faxNumber": "+60 3 7859 6620"
                }
            }
          },
        {
          "@type": "ListItem",
          "position": 2,
          "item": {
      "@type": "Course",
                    "url": "https://www.helangflyingacademy.com/courses/#pplh",
      "name": "Private Pilot Licence PPL(H)",
      "description": "Theoretical knowledge and flight instruction appropriate to the privileges for the Private Pilot Licence for helicopters",
      "provider": {
        "@type": "Organization",
        "name": "Helang Flying Academy",
            "logo" : "https://www.helangflyingacademy.com/uploads/site_logo.png",
            "telephone": "+60 1260 32829 / +60 1762 31033",
            "faxNumber": "+60 3 7859 6620"
                  }
                }
            },
            {
          "@type": "ListItem",
          "position": 3,
          "item": {
      "@type": "Course",
                    "url": "https://www.helangflyingacademy.com/courses/#cplh",
      "name": "Commercial Pilot Licence CPL(H)",
      "description": "Theoretical knowledge and flight instruction appropriate to the privileges for the Commercial Pilot Licence for helicopters",
      "provider": {
        "@type": "Organization",
        "name": "Helang Flying Academy",
            "logo" : "https://www.helangflyingacademy.com/uploads/site_logo.png",
            "telephone": "+60 1260 32829 / +60 1762 31033",
            "faxNumber": "+60 3 7859 6620"
                  }
                }
            }
            ]  
    }
    </script>
    Here is the code for the "About Us" page:

    Code (Javascript):
    <script type="application/ld+json">
    {
      "@context" : "http://schema.org",
        "@type" : "Organization",
        "@id" : "https://www.helangflyingacademy.com",
        "name" : "Helang Flying Academy - Flight Operations",
        "logo" : "https://www.helangflyingacademy.com/uploads/site_logo.png",
        "url" : "https://www.helangflyingacademy.com",
        "sameAs": ["https://www.facebook.com/pages/Helang-Flying-Academy/620465324802609,
    https://plus.google.com/112338904828272311793, http://www.helangflyingacademy.com,
    https://jobs.helangflyingacademy.com,
    https://helangflyingacademy.has-jobs.com"
    ],
        "telephone": "+60 1260 32829 / +60 1762 31033",
        "faxNumber": "+60 3 7859 6620",
        "address":
        {
        "@type": "PostalAddress",
          "streetAddress": "Jalan Lapangan Terbang",
          "addressLocality": "Sultan Azlan Shah Airport, Ipoh",
          "addressRegion": "Perak",
          "postalCode": "31350",
          "addressCountry": "MY"
        }
    }
    </script>
    2) Google Tags
    I have put the TAG code in the HEAD section of the System > Miscellaneous page... accordingly this Tag code is generated in the HEAD section on EVERY page in the site. I have put <noscript> tags in the Body section of each page (as according to Google it needs to come first before anything else). I have done this using the "Source" view of the WYSIWYG editor on each page.

    3) Google Analytics
    This code is quite complex, so to avoid clutter, I have stored this in /js/extjs/googleanalytics.js . Then at the top of the BODY section of each page that I want to track, I put <script async src="/js/extjs/googleanalytics.js">

    So 3 seems to work, (because I am receiving analytics). I have installed Google Tag Assistance and see the following:

    upload_2017-3-23_4-57-51.png

    upload_2017-3-23_4-58-57.png

    So the help on the first error says:

    upload_2017-3-23_5-0-31.png

    I'm lost here because my code DOES include the GTM-XXXXXXX field. (7 digits). Also I don't see any duplication.

    I also installed the GA debug tool, which seems to show that Analytics is operating okay:

    Code (Text):
    Sent beacon:
    v=1&_v=j49d&a=1271753244&t=pageview&_s=1&dl=https%3A%2F%2Fwww.helangflyingacademy.com%2Fcourses%2F&ul=en-us&de=UTF-8&dt=Our%20Courses…AAEABI~&jid=&gjid=&cid=2024724764.1490013859&tid=UA-93773916-1&z=525803290
    So, FINALLY, my last question is - with all this in place - why don't I show up in google? If I type in the full name of the organization, then Google finds us. But just using keywords from the site... (like 'Helicopter Flight Training Malaysia'), we get no hits.

    Sorry - this was longer than anticipated...
  2. EriTay

    EriTay New Member

    Hm.. I've read through your post, but couldn't find an answer to your question. Hoping we'll find someone else to help!

Share This Page