Deep Links

How to make Fera do certain actions by URL like show review, photo or video submission modals.

Show Submission Modal From URL

You can trigger the review, photo and video submission modal by adding ?fera=showContentSubmit to any product page.

For example if you have a product page URL that looks like this: https://megans-cupcake-shop.myshopify.com/products/candy-melt

Then you can trigger the review/photo/video submission modal for that product with the URL: https://megans-cupcake-shop.myshopify.com/products/candy-melt?fera=showContentSubmit

If your URL contains other parameters (like ?variant=123) then add to the URL with an & instead of a ? like this: https://megans-cupcake-shop.myshopify.com/products/candy-melt?variant=123&fera=showContentSubmit

On non-product pages

If you're not sending the user to a product page, you can specify the current product with the product=**YOUR_PRODUCT_ID** parameter like this:

Example of deep link URL to trigger content/review submission modal

Show Submission Modal From HTML

You can also add data-fera-action="showContentSubmit" to any of your links or buttons to make clicking on them show the fera review, photo or video submission modal.

<a href="#" data-fera-action="showContentSubmit">Write Review</a>

Fera will automatically use the currently being viewed product as the product being reviewed.

If the current product is not clear or if there are multiple products on the current page, you can specify the product ID being reviewed with the data-product="**YOUR_PRODUCT_ID**" attribute.

For example, this link would open show the "Write Review" modal for the product with ID "123":

<a href="#" data-fera-action="showContentSubmit" data-product="123">Write Review</a>