$(document).ready(function() { if(window.location.href === "https://kronos-shop.pl/product-stocks.php?product=12453"){ $('head').append('<link rel="canonical" href="https://kronos-shop.pl/product-pol-12453-METEOR-Regulowane-Wrotki-Rekreacyjne-ROCKET.html" />'); } }); $(document).ready(function() { if ((window.location.href.indexOf("utm_source") > -1) || (window.location.href.indexOf("utm_medium") > -1) || (window.location.href.indexOf("utm_campaign") > -1) || (window.location.href.indexOf("utm_term") > -1)) { var current_url = jQuery(location).attr('href'); var url_without_param = current_url.split('?')[0]; $('head').append('<link rel="canonical" href=" ' + url_without_param +'" />'); } });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter