• Resolved Mohammed Lathiya

    (@mohammed92)


    I have installed this plugin in my multisite, but this only works with main site, not multisite.

    Can you please confirm whether it supports multisite or not?

Viewing 1 replies (of 1 total)
  • Plugin Author Omnisend

    (@omnisend)

    Hey Mohammed!
    Thanks for posting your question!

    In order for Omnisend to work with multiple storefronts, you’d need to place the snippet on the additional sites.

    <script type="text/javascript">
        window.omnisend = window.omnisend || [];
        omnisend.push(["accountID", "<em><strong>YOUR_BRAND_ID</strong></em>"]);
        omnisend.push(["track", "$pageViewed"]);
        !function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://omnisnippet1.com/inshop/launcher-v2.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}();
    </script>

    In order to use the product picker on your website, you’d also need to place a $productViewed JS event on every product page. Here’s a link to a doc that goes more in-depth about this event:
    https://api-docs.omnisend.com/reference/event-tracking

    You can omit this step if you’d like to pick products from the Email Builder directly.

    You’d need to replace the YOUR_BRAND_ID with the actual ID which you can find in any API key you generate in your brand. To create one, go to Store Settings > API keys > click Create API key. Everything you see before the dash is your Brand ID.

    As soon as the snippet is present on all pages of the additional storefronts, Omnisend will start tracking the customers and display the forms. You can place the snippet manually or do it with the help of Google Tag Manager, for example.

    In case you face any issues with the setup, do not hesitate to contact our Support Team, we are available 24/7 and can be reached via In-app chat or email at [email protected].

    Have a good one!

    • This reply was modified 2 years, 5 months ago by Omnisend.
Viewing 1 replies (of 1 total)
  • The topic ‘Not working with multisite.’ is closed to new replies.