Это видео недоступно.
Сожалеем об этом.
Enrich Search Results with JSON-LD Markup through Google Tag Manager
HTML-код
- Опубликовано: 14 авг 2024
- measureschool.com/jsonld
In this video, we will take a look at how you can enrich your Google Search results by injecting JSON LD mark up throughout your site. This is done with the help of Google Tag Manager so jump on to learn how you can send the correct metadata to Google.
#JSONLDMarkup
#GoogleTagManager
#SearchResults
Introduction to JSON-LD: • What is JSON-LD?
json-ld.org/
schema.org/
search.google....
developers.goo...
developers.goo...
🎓 Measure Masters Membership: measureschool....
❓ Take Our GA4 Quiz: measureschool....
FREE Tag Manager Course: measureschool....
FREE Analytics Course: measureschool....
🔀 GTM Copy Paste - Our Chrome extension chrome.google....
🚀 Hire us: measureschool....
📚 Recommended Measure Books: kit.co/Measure...
📷 Gear we used to produce this video: kit.co/Measure...
📡 Our Live Streaming Software: restream.io/jo...
👍 FOLLOW US
Facebook: / measureschool
Twitter: / measureschool
LinkedIn: / measureschool
Your videos are so underrated, you are the solution to too many problems.
I'm glad they help you find solutions.
Very good and funny videos bring a great sense of entertainment!
Hey... trying to do the same for my hotel JSON-LD data.. but when I debug. .i get the whole code inside ' ' - as a comment ... the code as injeced looks like : ' ... ' . Tag fires but no metadata. Any thoughts?
when i remove i am getting warning to re-instate that string. what should i do?
hi there can you help me plz , how can use json LD for all pages of my website and change the informations automaticly?? thanx
Nice article. Thanks for explaining the concepts so clearly.
One addition: We see two products in Structure data testing tool (SDT ) but there is only one product is actually available on the page. This can create problem while showing results in Search engine result Page (SERP). As per my understanding, this issue can be resolved by including @id attribute in our newly injected JSON-LD through Google tag manager (GTM). The value @id should be same the id of the product being present on the page. Please respond if that is the solution?
04:40 Hướng dẫn thiết lập trên G Tag manager
06:30 Dùng biến động của gtag để thay đổi Json-LD cho từng trang
Hey mate, is it better to use Google Tag Manager to insert JSON data or simply adding it to the website html or use add-on plugins? which is the best option?
Question: In case the number of reviews on a page increase, is the rich snippet on search results automatically updated with this method?
The video sound is pretty good, beyond my imagination
Another great video. Very clear and concise as usual.
Bother can you tell me how can I scrap the image from the source page?
like
how can I pick an image URL from Dom Element so that I can add it into the review schema to complete my product review element?
thanks
When I do the tag creation I get an error. Testing tool is asking for Brand, Description, etc but in your video you didn't get any errors. How come?
Also, you're using Woocommerce to show an ecommerce page. So are you adding to the schema that WC already creates? It wasn't clear what was missing from WC in your initial display of the product page.
How can I use GTM to extend structured data markup when I already have the Yoast plugin that generates some basic structured data? Can I add to the structured data that Yoast produces with the help of GTM?
I'd recommend to do this in Yoast directly
Hi Julian,
We have been using this same method for our clients. Although recently, the schema tags we have placed within Google Tag Manager do not show up within the Google Structured Data Testing Tool.
We have also checked the Knowledge Panel for these clients and the markup that we put in the Schema Tags no longer shows up either.
Have you seen this as well?
Thanks-
Hi Julian , thank you for the video. 3 years later this is still a quality tutorial with one answer from you missing to make it a great tutorial, which will make everyone happy. The answer missing is for the question:
"Which plugin did you install/use on your demo shop to push/insert the parameters for "number of reviews" and "review score" into the datalayer ? Usually you never miss to mention that you use the gtm4wp plugin by Thomas Geiger to have a datalayer for e.g. (when this is important) but somehow here you have missed the more important plugin you have installed to push the ratings data into the datalayer. Would you share the name?
Bonus questions for all future visitors:
Is the latest version of WooCommerce today already taking care of adding automatically a dynamic review/rating structured data for products?
In your tutorial after testing the product URL in the Structured Data Testing Tool (SDTT) the results returned 2 products containing one set of structured data created by WooCommerce and one created by your custom HTML. Even if one manages to have zero issues/errors in SDTT is it correct to show Google 2 products when only one is available on the page?
Can one use custom HTML tag to add only missing product characteristics (followed by a SDTT test) but skip the rest which are available for in the structured data already added by WooCommerce (when Google has firm rule to state all required parameters for each product)?
no plugin used. It's custom coded
@@MeasureSchool Hi. I have blocksy theme. If i can create custom pages for articles, i can add title, date, maybe ratings and other parts so, can i see these parts as a data layer in Google Tag Manager? Even if i had a web site that has not been coded cumstomly like yours, can i make this schema automation in Google Tag Manager for Blocksy custom created pages? Thanks
Thanks Julian that's helpful,,, the video is 4years ago, i believe there would new updates, tricks or advice for now,, any recent video please
Would you know how to show your website's google review rating in the search results?
Hi , I was wondering for Amp pages how do you add JSON-LD Script since there is not custom html. Also can we past multiple Java script on one tag?
Did everything correctly but Google Structured Data Tester didn't find any JSON-LD code on page. Any ideas? :)
What schema would you recommend for a restaurants review / restaurant blogger website?
Does anyone know if it’s possible to do the same with Open Graph tags? I can’t find anything about this.
Hi Julian, Thanks very much for the video, it is very helpful, I have been working on Jobposting mark up@Json LD , trying to get it working dynamically, but I am lost............. any suggestions where to start please. Many thanks
Thank you!
Why did cut down the offer for that example. There was a price specified, right? :)
I wonder what everything can be done by GTM. Thank you for these courses.
How did you do the data layer variable???
Great job ... How do I create these dynamic variables?
data layer variable not showing on the category page? and the three variable name showing undefined. What can be the mistake?
He has skipped this session. :(
At 7'20 you say that you already talked about data layer and creating variables in a previous video. This part is really missing. Which video is it? Can you please give us the link ? Thanks for your precious help
for example in this video ruclips.net/video/R0wTkc4e7DE/видео.html
Hello,
I want to know how do you create the dynamic variable for products in the variable section?
depends on where you pull the data from. Normally you would create a dataLayer first, end then use a dataLayer variable
You are my new god! Just a few question. Do we have to edit manually the variables as price and reviews in case they change? What happens in case google find out that the informations doesn't match? People might lie
not manually. You could use the dataLayer and Variables to fill them in dynamically
Thank you, do you have a video for Schema mark up in Squarespace?
Hi Julian
Do you have any documentation for sites like Hotels, where there will be common data types across the site , while specific pages would have separate category data types.
Also with hotels since we have multiple languages do we need to mark for each language or will it be ok to markup in English?
please check out schema.org
Very useful information thank you soooooo much
Would really appreciate some support with the following. I have followed the steps and everything has worked fine with the markup but once i try to test the link into google structured testing tool. it shows errors as if the markup is empty. The tag has been checked in debugger and it fires correctly on the page and all changes have been published through GTM, I have tried re-processing the changes but it still shows errors.
Please Help!!
I just shared the solution as a new comment. Check it out if you still need help with it.
Nice vid. 4 yrs later, any advice on data layer?
Hey your video is really very informative.
I have created my website using wix.com. it normally doesn't allow making schema markup on dynamic page.
The steps which you have shown in this video will it be applicable or effective for wix dynamic pages?
Hi Julian.
Can this work for shopify as well or is there a better way other than an app. as i am missing reviews markup.
yes, could work on shopify as well
Very useful video. As now I know how to add rich snippets without plugins.
Hi, you should do a video explaining how to insert Breadcrumb correctly on Google tag manager #justanidea ;)
Aren't the products in search results US-only?
what if product don't have rating? Getting an error field rating value may not be empty. one of ratingcount or review
count must be provided. some products have review and some don't. how I can fix it?
I would push the right values into the dataLayer and then build your triggers accordingly so your JSON-LD doesn't get deployed if values are empty
Measureschool thank you for your reply. Looking forward to see more video on tag manager and analytics.
Measureschool thank you for your reply. Looking forward to see more video on tag manager and analytics.
Measureschool thank you for your reply. Looking forward to see more video on tag manager and analytics.
Excellent Job! Thank you.
Thank you for your time and work!
Please message for proper advance course covering everything in detail for google tag manager so after completing i can use and know all of GTM so i can use from time to time.
Hi, thanks for uploading this video!
I was wondering: if our shop only has very few products, is it okay to not make the code change dynamically with variables, and just put in the info of each product manually for each product? And just have the tag trigger on the specific page of that product?
I think this would also work. Thanks in advance for your input on this subject
Have a great day!
yes, of course.
Hello Julian. Thank you so much for this video. I follow from first to last But i am unable to extract the avrg rating and review values from the page using DOM element variable. While debugging the page, the value showing 'null'. How can i extract the value from pages. Trying to get rid of this ..but failed. If there any solution about the variable configuration or any solution that really works. Please share. Waiting for your reply... Thanks in Advance...
DOM element variables are custom to your page. You would need to figure out the right combination of CSS selectors to get to your element
hey! you videos are very informative and i am a new comer to your videos. i find you are too fast, i cant follow quickly. hence i request you to be a bit slow. But your videos are just too good and very helpful in deed. Thank you once again.
there is a speed option in RUclips. Usually users take the 2x one, but you can also put it onto 0.5x
Great video, thanks. What I do not understand is how to provide ratings to my dlv's?
you need to have that data in your dataLayer beforehand - so go and implement it there first
amazing Sir ! thank you so much for sharing !
Great video, Thanks
Hey Bro, great job, i was wondering how to push data to the dataLayer. Im using plugin to place my GTM into wordpress and this plugin has an option to push some data to the dataLayer but very limited. The question is should i remove that plugin and implement GTM manually and put dataLayer.push script into the header manually or keep the plugin and use Custom HTML Tag within GTM to append data to the existing dataLayer?
it depends on what data you want to push. If you are familiar with PHP and Wordpress you might want to take manual control. Otherwise the plugin is your only option
I have implemented GTM manually directly into my wp header.php i think i won't mess with dataLayer, i will setup dynamic variables for rating count and value through the DOM element variable and use them to implement aggregateRating schema!
hi
i want to know how to appear lists views in the google.
Can GTM be used to insert meta tags such as description, keywords, og, for each page that is used for SEO, if so will it be a good practice
yes it can, but it won't have any effect because of GTMs asynchronous loading. So it's not recommended. JSON-LD would be the way to go to achieve the same thing
thank you.
If you can recommend any tutorials, will be helpful.
How to do it with divi theme
Can you just put the "ratingValue" and "reviewCount" values as you wish? If that's is how you do it, can anybody just "fake" those reviews?
theoretically yes, but it's always a case of Google actually displaying that information.
Hey mate, Quick question! How do we add Google Tag Manager on Google My Business page - Look forward for your response!!!
not sure if it's even possible. Don't think so as it's not your own website
@@MeasureSchool That's disappointing!!!
I'm writing this comment nearly 3 years after the video was made, but this method didn't seem to work for me. Placing the snippet directly after the start of the tag is what helped most. I was able to see the snippet immediately, with 0 errors.
I did all of this also tried manual in header or body. Still never see the added data in google search results. Tried looking in to this for more info, but its hard to find. Do you have any tips?
If this technique doesn't work for you, you might want to go the route of using meta tags again
Well thats what this does actually or not. Only its wrapped into a script. Ill try and see if it helps hardcoding them in. PS i never got the template download link after adding email address in the json link. I had already subscribed, so you got a error there somehwhere
PLEASE give me breadcrumbs solution video link ?
Thank you for the tutorial, however you skipped a vital step. At 7:51 "I already went ahead and did this.." Why? This is a tutorial no?? The point of a tutorial is that you don't skip steps. How do I create the data layer variable?
Did you find any solutions. I am also confused how to create Data Layer variable?
google changed the layout a bit, but its still there a bit more hidden
I agree. At least, just give us the tutorial link of creating JSON variables + how to push ecom data to datalayer
Great stuff but missing some key points, it would be nice if you make another follow up video explaining how you created the DataLayer and DataLayer Variables. Currently it leaves people hanging with missing parts.
thanks for the comment. Yes, definitely a more advanced video.
But can't complain much it's free :) Keep doing what you are doing, thank you for creating good content!
Thank you!
hey julian juenemann,
I have seen your video on youtube about dynamically schema via GTM seriously you did a great job and i have downloaded your templet too but i am stuck some where please help me out. such as i am unable to understand youe breadcumbs schema templet becuase i have 5 item for that and you have provided templet with 2 product only and the other thing which I want from your side give some variable for product schema such as price , review and etc . thank you in advance for your support,
you need to customize the templates to your needs. There if no one way that fits for everybody. If you want to do it yourself you would need to read up on JavaScript objects and arrays. Alternatively I would get professional help.
bro why you skip data layer variable?
bro, because it depends on your site on how to set it up. Not something I can generalize
thank you , sir am using blogger platform, my blog is education and job niche,. I want use job posting schema markup json with help of gtm, is it possible, if yes than plz help me
yes, it's possible
thanking you sir please can u guide me how to implement on blogger,any video suggest,or please create one video for that
tnx very much
how did the rating get into the data layer?
there is a plugin that I've installed. But essentially you would need to ask a developer to push the right data
What pluggin are you using?? I want to start using Rich cards, snippets and more to make articles, recipes and products better presented in search results. Site I'm on is coded by someone else so starting from scratch on dataLayer. Would love some help.
How to do it in WordPress
this is the same on any website
Is this still vaild?
Does this technic still works today ?
yes, but it's not recommended by google, better hardcode the json-ld
Hello Internet, this solution doesn't completely work as of December 2018.
The Structured data testing tool doesn't detect the JSON LD despite the tags being fired.
You need to modify the Custom HTML.
(function()
{
var data = {
ADD SCHEMA INFORMATION
}
var script = document.createElement('script');
script.type = "application/ld+json";
script.innerHTML = JSON.stringify(data);
document.getElementsByTagName('head')[0].appendChild(script);
})(document);
After using the above code, the structured data testing tool started to detect the reviews.
I found the solution on this page productforums.google.com/forum/#!topic/tag-manager/wFzBFwPDq1U
thanks for sharing
sir how to implement in blogger
I don't know, sorry
i was apply this trick but this was not work. You lose my full day.
it's not a trick. It's a technique.
Lol yeah I got lost...
I am not sure if anyone knows what you are doing dear, might as well start from scratch and actually make a video that is put to use or delete this confusing mangle
my pleasure
I agree with Alexandra....there's alot discussed but no direction on how to find the respectives lesson mentioned in the video....I kept scrollig down here in comments until I did see some one ask where the video was he referenced in the video at the 7:20 mark....Julian has been good about putting in links below his other videos....I wonder why it wasn't done here since this particuliar video is one of the most important...but other than this video all the others have been great!!....this video was good but Julian has set the bar at a very high level for his training....this video as I mentioned was good but not great like his others...
true, not for beginners
So is there one for the beginners? I follow until you install it trough TM. After that no. What to type in as the product name, which products will G choose to show in the rich cards? Thank you for making these videos.
Alexandra, I use Google Tag Manager. I use Google Structured Data. I understood everything he said and picked up some very good pointers on the variable data. Just because you are not experienced, don't slam someone who is trying to help and is smarter than you.
The music at the beginning is very loud, annoying and distracting.
thanks for your feedback
Very good and funny videos bring a great sense of entertainment!