Post by account_disabled on Mar 6, 2024 2:29:11 GMT
The you to make any arbitrary changes you like to the HTML of a page or set of pages based on rules you define. A benefit of using tag managers is that you can apply changes to pages at scale across a site with a single tag. This allows us to bypass CMS restrictions and development queues directly applying changes to things like page titles canonical tags and onpage content. Because tag managers use JavaScript to implement tags in the past it hasnt been seen as a reliable way to make SEO changes.
The traditional thinking has been that in terms of making SEO Greece Mobile Number List changes reliably execute JavaScript so any changes made with JavaScript would likely be ignored. However recently we are seeing evidence that changes are being picked up by Google including implementation through tag managers. This article will show a few examples of this in action and how to implement these sorts of changes on your site. How to make any HTML change using GTM The sorts of changes were interested in involve either adding in new elements to a page amending the content or attributes of elements or removing elements from a page.
For each of these youll potentially need knowledge around CSS selectors and HTML in order to know which elements on the page to changepull data from JavaScript especially jQuery in order to inject elements into the page For example there are simple elements you can add into a page that dont require anything to be extracted from the page other than the page URL which is an inbuilt variable in GTM. On the other hand there are more complex changes such as adding in product structured data on ecommerce sites that require you to extract data from the page e.g. product names prices etc. If youre not technical and just want to be able to implement changes in GTM Ill include an offtheshelf GTM container at the.
The traditional thinking has been that in terms of making SEO Greece Mobile Number List changes reliably execute JavaScript so any changes made with JavaScript would likely be ignored. However recently we are seeing evidence that changes are being picked up by Google including implementation through tag managers. This article will show a few examples of this in action and how to implement these sorts of changes on your site. How to make any HTML change using GTM The sorts of changes were interested in involve either adding in new elements to a page amending the content or attributes of elements or removing elements from a page.
For each of these youll potentially need knowledge around CSS selectors and HTML in order to know which elements on the page to changepull data from JavaScript especially jQuery in order to inject elements into the page For example there are simple elements you can add into a page that dont require anything to be extracted from the page other than the page URL which is an inbuilt variable in GTM. On the other hand there are more complex changes such as adding in product structured data on ecommerce sites that require you to extract data from the page e.g. product names prices etc. If youre not technical and just want to be able to implement changes in GTM Ill include an offtheshelf GTM container at the.