### Multiple Poplink Instances Configuration for Multiple Search Boxes Source: https://docs.geniee-search.net/poplink/technical_reference/installation This JavaScript example illustrates how to implement multiple Poplink instances on a single page, each targeting a different search box. The Poplink settings are provided as an array of objects, where each object represents a unique Poplink configuration with its own `uid` and `target` selector. This allows for distinct Poplink behaviors for different search interfaces on the same web page. ```javascript var poplink3 = [{ uid: "[1 つ目の契約の UID]", target: "#q1", deviceType: 'pc022' }, { uid: "[2 つ目の契約の UID]", target: "#q2", deviceType: 'pc033' }]; (function(){ var script = document.createElement("script"); script.setAttribute("src", "https://js.poplink.jp/[タグマネージャーの ID]/poptagmanager.js?ts=" + Date.now()); script.setAttribute("defer", true); document.head.appendChild(script); })(); ``` -------------------------------- ### Poplink Tag with Additional Parameters and HTML Structure Source: https://docs.geniee-search.net/poplink/technical_reference/installation This example shows how to embed the Poplink tag within a full HTML document structure. It includes additional parameters like `suggestCount` to control the number of suggestions displayed and places the script just before the closing `
` tag, which is the recommended location. The `uid`, `target`, and `deviceType` parameters are essential for Poplink functionality. ```html