▪️Acquisition mode

Smaritco can act on anonymous users by sending pop-ups, Push notifications, and showing Mini-Games.

This is called 'Acquisition mode' and is mainly used on the landing pages on the stage when the user hasn't registered yet.

From the setup perspective, 'Acquisition mode' requires a separate label on the Smartico side; this way, real users and anonymous users are fully separated, and the operator can build an independent setup for the anonymous.

Technical setup

  1. Load the Smartico script on the landing page.

On the front-end of the landing pages, set the Smartico script in the following way

<script>
(function(d, r, b, h, s){h=d.getElementsByTagName('head')[0];s = d.createElement('script');s.onload=b;s.src=r;h.appendChild(s);})
(document, 'https://libs.smartico.ai/smartico.js', function() {
    _smartico.init(
        '_label_key_for_acqusition_label_', 
        { 
            brand_key: '_brand_key_for_acquisition_',
            generate_visit: true
        });
});
</script>

Be sure you use label and brand keys for the acquisition label, not those used for registered users!

  1. Set the current language of the landing page

<script>
    window._smartico_language = 'fr';
</script>
  1. Support different domains for landing pages.

In case the landing page is hosted on a domain that is different from the main domain of the site

  • Setup libraries that are needed for push notifications in the same way as explained in Step 3 of Front-end integration guide

  • When the user is redirected from the landing page to the main site, pass in the URL the ID of the visitor from the landing page using the following code

var v = window.localStorage.getItem('_smartico_visitor_id');;
window.location.href = 'index.html#_smartico_visitor_id=' + v;

What is possible to do in the Acquisition mode

  1. You can request permissions for push notifications using Smatico campaigns with deep links or just by calling JavaScript: _smartico.requestPushPermissions()

  2. You can send Popups and run Mini-games

  3. You can do basic segmentation by:

    1. Country

    2. Browser type

    3. Push permissions status

Note: if your main goal is to run mini-games on the landing page and you don't plan to use Popups and Push notifications, there is a simplified setup that you can find in this guide

Last updated