Manual Installation

First step: Copy the code.

Place the following code in your product page where you wish to display the Followprice button. This code is just an example. To make it work you will need to insert your real product values.

<div id="followprice-widget" class="fp-button"
  data-product-title="Super Phone ABC"
    data-product-availability ="1"
    data-product-subcategory="Cell Phones">

You also need to include the following script at the bottom of your product page.

<script>(function() { var _f = document.createElement("script");_f.type = "text/javascript"; _f.async = true; _f.src =""; var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(_f, s); })();</script>

Optional: Force button language

If you wish to change your button language, simply add a query string to the script source like this: “

<script>(function() { var _f = document.createElement("script");_f.type = "text/javascript"; _f.async = true; _f.src =""; var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(_f, s); })();</script>
In this case we are forcing the button to be displayed in Portuguese.

Currently the following languages are supported:
  • English (US): en_US
  • French: fr_FR
  • German: ge_GE
  • Spanish: es_ES
  • Italian: it_IT
  • Portuguese: pt_PT
  • Lithuanian: lt_LT 
  • Danish: da_DK

Second step: Configure your parameters.

See each parameter specification on the following table:
Parameter Description
data-store-key (mandatory) This is a unique identifier of your store. You can find after signing up or under the menu “Tools>Button>Installation” in your Followprice account.
data-product-title (mandatory) Product title or name in UTF-8.
data-product-id (mandatory) Unique identifier of the product. Different products should not have the same identifier.
data-product-url (mandatory) Full URL for the product page in UTF-8.
data-product-image (mandatory) Full URL for the product image inUTF-8.
data-product-price Price of the product. Must use “.” As decimal char. If the product has an ongoing discount this must be the new discounted price.
data-product-currency (mandatory) Currency code according to ISO 4217. Example: “EUR” for Euro, “USD” for American Dollar.
data-product-availability 0 - if the product is unavailable, 1 - if it is available, 2 - if it is on pre-sale.
data-user-id Unique identifier of the user who is visiting your store (if exists).
data-product-category Internal Category. If the website is multi-language this should be in the language you wish to view in your analytics.
data-product-sub-category Internal Sub-category. If the website is multi-language this should be in the language you wish to view in your analytics.
Once you finish configuring these parameters your Followprice button should be up and running! Simple right?

Feedback and Knowledge Base