Cheapest on PriceSpy
Instructions on how to user the Cheapest on PriceSpy badge
Prisjakt avatar
Written by Prisjakt
Updated today

As we all know, being cheapest on the market leads to a boost in sales. Let your shoppers know about what products you are discounting by adding this widget to your shop’s product card or listing. This is also a dynamic widget and gets updated in real time.

small1

small2

small3

small4

medium1

medium2

Instruktioner

Add the following script to the website:

<script
defer
src="https://cdn.pji.nu/b2b/widgets/cheapest/index.js"
></script>

Then add the following tag where you want the badge:

<div
class="prisjakt_cheapest"
shop="[your shopid]"
product="[your productid]"
></div>

The following options can be added to the div:

market="[marknad]" // Bestämmer marknad, standard: SE, Sverige.
format="[format]" // Välj format, standard: medium1
utm-campaign={{string}} // Valfritt. Sätter utm-campaign tagg.

Example:

<div
class="prisjakt_cheapest"
shop="429"
product="6273689"
market="SE"
format="small2"
utm-campaign="SOTY"
></div>

The badge can be reloaded from the javascript function

prisjakt_cheapest.reload();

If for example the product page is dynamically updated

Did this answer your question?