Jump to content

sure11

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by sure11

  1. Mine were ending up at a 404 page, due to safety measures that Squarespace hardcoded into URL Mapping: if a visitor clicks on the same URL mapped link within a 2-minute time period, then the 2nd time they click on it forwards to a 404 page instead. From my testing, this applied to all visitors. If you have any type of traffic, then you will definitely have multiple people clicking on the same URL mapping at some point within a 2-minute window.. Unless I'm missing something, then this is useless for affiliate link cloaking.
  2. Hi, would this code be correct to automatically correct certain affiliate links (with certain domain URL), and convert them all automatically to add the sponsored tag to each one? <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> $(document).ready(function() { $('a[href*="https://www.affiliate.com"]').attr('rel', 'sponsored'); }); </script> I have a business plan. Would I inject this code into blog code injection header area? It will convert all links with a new attribute?
  3. This is an error made by Squarespace theme/software. It auto-generates incorrect schema markup script, which Google automatically flags with errors because it contains errors. There is a solution to this. Remove all existing business information from your Settings>Business Information. Take this script/code and carefully replace existing business information/details with yours, be sure to keep all quotes and comas as is. Use a plain text editor file, without formatting. <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "LocalBusiness", "name": "Business Name", "url": "https://www.affjfj.com", "logo": "https://images.squarespace-cdn.com/content/v1/6a-4323-b81c-2bd70651f814/color_transparent+Final+for+Site.png?format=1500w", "address": { "@type": "PostalAddress", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "streetAddress": "244 5th Ave, 2nd Floor" }, "telephone": "(553) 557-9577", "priceRange": "$", "currenciesAccepted": "USD", "paymentAccepted": "Credit Card, PayPal", "openingHoursSpecification": [ { "@type": "OpeningHoursSpecification", "dayOfWeek": [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ], "opens": "09:00", "closes": "17:00" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": [ "Saturday" ], "opens": "10:00", "closes": "16:00" } ] } </script> Once you've updated the script with your business information, hours, etc. Please copy and paste the code into Google Rich Results/Schema validator tool: https://search.google.com/test/rich-results. If you don't have any critical errors, then copy and paste the code using Settings>Advanced>Code Injection Paste the code into HEADER section. Then save.
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.