Knowledge Base: Automation

  • Saving user ID in MaxTraffic

    For many automations to work, you will need to connect your system's user ID with MaxTraffic.

    To do that, you need to use following JavaScript code. This example assumes that you are using Google Tag Manager and have created a user_id variable that contains your system's user ID.

    We recommend to add this code at the end of MaxTraffic tracking code. The default tracking code looks like this:

    If you add the part about saving user ID, then everything together should look similar to this example:

    Important:

    • Replace 12345 with your website ID
    • Replace {{user_id}} with the GTM variable you use for
  • Intro to Web Push Notification sequence (drip) campaigns

    Sequence campaigns for Web Push Notifications are launched in Test mode. If you want to be involved in testing period and be one of our first clients, who use this functionality, please get in touch with your account manager or support@maxtraffic.com 

    There are 2 type of Sequence (Drip) campaigns:

    1. Sequence campaign that starts with a Subscribe event (when website visitor clicks "allow" and gives his permission to receive Web Push Notifications)

    2. Sequence campaign that starts with a Custom event - this type of campaign is activated by executing a small JavaScript code, and can be used in different kind

  • Web Push Sequence campaigns: Subscribe event

    Subcribe event happens when website visitor clicks "allow" and gives his permission to receive Web Push Notifications. 

    To create a sequence campaign based on this trigger:

    1. Login in your e.maxtraffic.com account, then go to Automation > Sequence

    2. Click "New Sequence"

    3. Follow next steps below.

    Creating new sequence campaign

    1. Set campaign name 

    By default it will be "New Sequence", but we recommend to set a campaign name that matches the idea behind it, for example - "Welcome campaign"

    2. Choose trigger

    Select "Trigger on Visitor Subscribe" - campaign will start when a visitor subscribes to Web Push

    3.

  • Web Push Sequence campaigns: Custom event

    If you want to create a campaign that is triggered on a Custom Event, for example in one of these cases:

    • Campaign that starts after an application form is finished
    • Campaign that starts after a purchase is done
    • Campaign that starts after visiting a specific category or page
    • Campaign that starts after user shows some kind of engagement (starts an application form, opens contact page, visits product page, spends X amount of time in website, etc.)

    Then you have to do these things:

    1. Login in your e.maxtraffic.com account, then go to Automation > Sequence

    2. Click "New Sequence"

    3. Follow