Dynamic page information and metadata

StoreConnect automatically sets several fields and metadata fields in the HEAD content of your web page depending on what is being viewed by the cusotmer at the time the page is loading.

When each page loads, StoreConnect automatically detects if you are viewing a Product, Product Category, Article, Page or nothing specifically. Depending on what is shown, the fields in the HEAD content of your site are set in priority of what the customer is viewing in the following order:

  1. Product metadata
  2. Product Category metadata
  3. Article metadata
  4. Page metadata
  5. Store metadata

So the Store data is only shown if there is no Product, Product Category, Article or Page present.

The generated fields looks something like this depending on the item being selected.

https://store.example.com/full-canonical-path" />

https://store.example.com/full-canonical-path" />

https://res.cloudinary.com/abc123/image/upload/media/image.png" />

The following table shows which attributes set each field for each type of object.

Product metadata field StoreConnect field
title tag The Product2.s_c__Meta_Title__c
link canonical tag The full canonical URL of the Product
meta keywords tag Product2.s_c__Meta_Keywords__c
meta description tag Product2.s_c__Meta_Description__c
meta og:url tag The full canonical URL of the Product
meta og:type tag “website”
meta og:title tag Product2.s_c__Display_Name__c
meta og:description tag Product2.s_c__Meta_Description__c
meta og:image tag The full URL of the first Product2 media item
meta og:price:amount tag The Product2 price (either full price or sale price as appropriate)
meta og:price:currency tag s_c__Store__c.CurrencyIso field if present or the s_c__Store__c.s_c__Currency__c field
Product category metadata fields StoreConnect field
title tag The s_c__Product_Category__c.s_c__Meta_Title__c
link canonical tag The full canonical URL of the Product Category including any search terms to get to this page
meta keywords tag s_c__Product_Category__c.s_c__Meta_Keywords__c
meta description tag s_c__Product_Category__c.s_c__Meta_Description__c
meta og:url tag The full canonical URL of the Product Category
meta og:type tag “website”
meta og:title tag s_c__Product_Category__c.s_c__Display_Name__c
meta og:description tag s_c__Product_Category__c.s_c__Meta_Description__c
meta og:image tag The full URL of the first s_c__Product_Category__c media item
meta og:price:amount tag (not included)
meta og:price:currency tag (not included)
Article metadata fields StoreConnect field
title tag The s_c__Article__c.s_c__Meta_Title__c
link canonical tag The full canonical URL of the Article
meta keywords tag s_c__Article__c.s_c__Meta_Keywords__c
meta description tag s_c__Article__c.s_c__Meta_Description__c
meta og:url tag The full canonical URL of the Article
meta og:type tag “article”
meta og:title tag s_c__Article__c.s_c__Title__c or if blank, the s_c__Article__c.s_c__Meta_Title__c field
meta og:description tag s_c__Article__c.s_c__Meta_Description__c
meta og:image tag The full URL of the s_c__Article__c hero image
meta og:price:amount tag (not included)
meta og:price:currency tag (not included)
Page metadata fields StoreConnect field
title tag The s_c__Page__c.s_c__Meta_Title__c
link canonical tag The full canonical URL of the Page
meta keywords tag s_c__Page__c.s_c__Meta_Keywords__c
meta description tag s_c__Page__c.s_c__Meta_Description__c
meta og:url tag The full canonical URL of the Page
meta og:type tag “page”
meta og:title tag s_c__Page__c.s_c__Title__c or if blank, the s_c__Page__c.s_c__Meta_Title__c field
meta og:description tag s_c__Page__c.s_c__Meta_Description__c
meta og:image tag (not included)
meta og:price:amount tag (not included)
meta og:price:currency tag (not included)
Store metadata fields StoreConnect field
title tag The s_c__Store__c.s_c__Meta_Title__c
link canonical tag The full canonical URL of the Store
meta keywords tag s_c__Store__c.s_c__Meta_Keywords__c
meta description tag s_c__Store__c.s_c__Meta_Description__c
meta og:url tag The full canonical URL of the Store
meta og:type tag “website”
meta og:title tag s_c__Store__c.s_c__Meta_Title__c
meta og:description tag s_c__Store__c.s_c__Meta_Description__c
meta og:image tag The full URL of the s_c__Store__c logo image
meta og:price:amount tag (not included)
meta og:price:currency tag (not included)