4

In my Angular(v1) application, I have a directive that on routeChanging event, remove last added JSON-LDs and add JSON-LD of that page to head element.

// .. some codes here

angular.element('.removableJsonLd').remove();

// ... some codes here

var html = angular.element('<script class="removableJsonLd" type="application/ld+json">' + JSON.stringify(json, 0, 2) + '</script>');
$timeout(function () {
    angular.element('head').append(html)
    scope.$applyAsync(function () {
        $compile(html)(scope);
    });
}, 200);

When I check the Google Structured Data Testing Tool it show me 3 item. You can check data live [HERE].
But Google shows me nothing after 3 weeks in my Webmaster Tools.

enter image description here

1
  • 1
    Has Google crawled this page and updated its indexed tags? If Google hasn't updated your page in its search results yet then this could be what has caused it to not report item #3. A way to test this would be to add a slight edit to the Title or meta description. When the Google result for that page includes the edit then you know that Google has crawled it and updated it, and you can check the Webmaster Tools to see if it's including item 3 again.
    – Michael d
    Commented Mar 10, 2018 at 15:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.