Skip to main content
Integration Guide: Yahoo

Learn more about Listrak's Integration with Yahoo and the steps to integrate.

Updated over 2 years ago

Installing the Listrak Analytics Click Tracking Script

  1. Log into your Yahoo! Store management area.

  2. Navigate to the Edit section.

  3. Select Store Editor.

  4. In the top menu, select Variables.

  5. Scroll down to Final-text.

  6. Paste the code sample below.

  7. Click the Update button at the top or bottom of the page.

<!-- Listrak Analytics - Script Source -->
<script type="text/javascript">
        var biJsHost = (("https:" == document.location.protocol) ? "https://" : "http://");
        (function (d, s, id, tid, vid) {
            var js, ljs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return; js = d.createElement(s); js.id = id;
            js.src = biJsHost + "cdn.listrakbi.com/scripts/script.js?m=" + tid + "&v=" + vid;
            ljs.parentNode.insertBefore(js, ljs);
        })(document, 'script', 'ltkSDK', '<<MERCHANT_ID>>', '<<VERSION>>');
</script>

The below image is an example of where to place the code:

Installing the Listrak Analytics Conversion Tracking Script

  1. Log into your Yahoo! Store management area.

  2. Navigate to Order Settings.

  3. Select Checkout & Registration Manager.

  4. Click the link for Global Settings.

  5. Select Checkout Wrapper.

  6. Scroll down to Checkout Regions and copy and paste the code sample below into Footer.

    <!-- Listrak Analytics - Script Source -->
    <script type="text/javascript">
    var biJsHost = (("https:" == document.location.protocol) ? "https://" : "http://");
    (function (d, s, id, tid, vid) {
    var js, ljs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return; js = d.createElement(s); js.id = id;
    js.src = biJsHost + "cdn.listrakbi.com/scripts/script.js?m=" + tid + "&v=" + vid;
    ljs.parentNode.insertBefore(js, ljs);
    })(document, 'script', 'ltkSDK', '<<MERCHANT_ID>>', '<<VERSION>>');
    </script>

    The below image is an example of where to place the code:

  7. Click Save at the top or bottom of the page.

  8. Return to Checkout & Registration Manager.

  9. Select Page Configuration, then choose Order Confirmation.

  10. Paste the following code into the Page Message input box; if you already have content inside this box, please paste this code at the top:

    <img src="https://fp.listrakbi.com/fp/<<MERCHANT_ID>>.jpg" height="1" width="1" />

    The below image is an example of where to place the code:

  11. Click Save at the top or bottom of the page.

  12. Return to the Yahoo! Store management area.

  13. Under the Order Settings section, select Publish Order Settings.

  14. On the Publish Order Settings screen, click Publish.

Testing Your Installation

To ensure that all of your code is properly in place it’s a simple two step process:

  1. Open the homepage of your site and view the HTML source (right click, view source) of the page. If you see the code that you copied and pasted from the first section of this document, your site is properly configured.

  2. Add an item to your shopping cart and begin the checkout process and then view the HTML source (right click, view source). If you see the code that you copied and pasted from the conversion tracking section of this document, the analytics are installed properly. If you do not see this code in the HTML source, go back and verify that the code was added to the correct area in your Yahoo! Store manager.


Did this answer your question?