TABLE OF CONTENTS
First you have to inject our integration script into your website.
<aside> <img src="/icons/exclamation-mark_green.svg" alt="/icons/exclamation-mark_green.svg" width="40px" /> The Prefixbox integration script should be added to the <head> section of the website, and it should be part of all pages (including product pages).
</aside>
The script is the following:
<!-- Prefixbox Integration -->
<script>
window.prefixboxAnalytics=window.prefixboxAnalytics||function(t,s,p,o){(window.pfbxQueue=window.pfbxQueue||[]).push({type:t,source:s,params:p,overrideObject:o});};
window.prefixboxFunctions=window.prefixboxFunctions||{}; window.prefixboxCustomerFunctions=window.prefixboxCustomerFunctions||{};
</script>
<script
async
id="prefixbox-integration"
website="**websiteTracker-GUID-placeholder**"
src="<https://cdn.prefixbox.com/plugin/integration.js>">
</script>
<!-- End Prefixbox Integration -->
or alternatively for GTM:
<!-- Prefixbox Integration -->
<script>
window.prefixboxAnalytics=window.prefixboxAnalytics||function(t,s,p,o){(window.pfbxQueue=window.pfbxQueue||[]).push({type:t,source:s,params:p,overrideObject:o});};
window.prefixboxFunctions=window.prefixboxFunctions||{}; window.prefixboxCustomerFunctions=window.prefixboxCustomerFunctions||{};
var ps=document.createElement("script");
ps.type="text/javascript";
ps.id="prefixbox-integration";
ps.setAttribute("website", "**websiteTracker-GUID-placeholder**");
ps.async=1;
ps.src="<https://cdn.prefixbox.com/plugin/integration.js>";
document.getElementsByTagName("head")[0].appendChild(ps);
</script>
<!-- End Prefixbox Integration -->
<aside> <img src="/icons/exclamation-mark_green.svg" alt="/icons/exclamation-mark_green.svg" width="40px" /> SERP (Search Engine Results Page) is a web page with unique URL that displays search results for the users when they execute a search on a webshop. An example for a SERP URL: https://mywebsite.com/search?keyword=samsung
</aside>
This event must be raised when the Search Engine results are returned. Everything you see in the highlighted area (1.) is a search engine result.