1. Add Your Website At Google Search Console
If you want to verify your marketplace using Google Search Console (GSC) (previously named Google Webmaster Tools or GWT), you can do it by adding Google’s verification code as a custom script to your marketplace
2.Add your website at Google Search Console
i) Log in GSC with your Google account at https://www.google.com/webmasters/tools/ and follow the instructions to configure your website.
ii) When asked to choose a verification method, chose “HTML tag”. Copy the tag that is displayed. It looks something like this:
<meta name=”google-site-verification” content=”fjXvx4lEjsk876gksçKjgç0sjg99WwzB3QFldg8yCfkj1u4h61ej7C50drQI”/>
3. Add The GWT Verification Tag To Your Marketplace
i) Open the “Design” tab from your Panther admin panel.
ii) At the bottom of the page, paste the copied verification tag into the “Custom script” field.
iii) Save your settings. That’s it! Your marketplace is now verified with the Google Webmaster Tool.
4. Add The Sitemap
i) In Google Search Console, go to Sitemaps from the menu on the left.
ii) Click on “Enter sitemap URL” field under “Add a new sitemap.”
iii) Enter sitemap.xml.gz and hit Submit.
iv) That’s it! Google now knows about your sitemap file and will index its content over time.
If you receive a 403 error when configuring your sitemap, make sure that your marketplace isn’t private.
5. Add a custom script
i) Log in to your marketplace as an administrator.
ii) Open the admin panel.
iii) Open the “Design” tab.
iv) Paste your script into the “Custom script” text box.
v) Click “Save settings”.
That’s it—our custom code is now active and set! Changes are applied immediately.
Custom script field size
The custom script field content is stored into a MySQL database in a TEXT field type. This means that the allowed size for this field is roughly 64 Kilobytes (or about 65,535 characters). This can vary a bit because of encoding though.
If you plan to add longer scripts, you should consider hosting them in a separate file on your own https server or file hosting.
Leave A Comment?