Marketing Automation
    • 2 Minutes to read
    • Dark
      Light

    Marketing Automation

    • Dark
      Light

    Article summary

    Mapp's Marketing Automation creates effective personal recommendations using a plethora of data. You can use it to interact with your visitors by creating recommendations on your website or through e-mails and other external advertising. 

    This is an optional feature. Please speak with your Customer Success or Account Manager for more information.

    Functions

    There are two types of functions that you can use to get your visitor's attention and 

    • On-site recommendations are great for updates or special offers based on user behavior.

    • Exit-intent technology should be used to display a layer with discounts, shipping offers, or reminders when a user intends to exit a purchase process or page.

    You can find more information on Marketing Automation in our  training chapter.

    Methods and properties

    name

    Get the name of the extension.

    /**
     * @type {string}
     */
    wtSmart.extension.marketing_automation.name;

    version

    Get the version of the extension.

    /**
     * @type {string}
     */
    wtSmart.extension.marketing_automation.version;

    config

    Set and get the current configuration of the extension.

    • trackId: Mapp Intelligence uses the tracking ID to assign the server requests to an account. The tracking ID is also found in the system configuration of the Mapp Q3 tool under Configuration > System Configuration > Account. Please use the same tracking ID you stored in the Mapp Intelligence tracking code, regardless of the ID you used to configure Marketing Automation.

    • mediacode: This is where you enter all of the campaign tracking media code parameters that you use.

    • keyword: This is where you enter all of the campaign tracking keyword parameters that you use.

    • baseUrl: Defined the location to the Mapp Marketing Automation functionality JavaScript file. Default value is "//cdn.mateti.net/mcp/onsite.min.js".
      Please contact our Support or your responsible Customer Success Manager for activation if you prefer to fetch this library using your first-party Custom Track Domain (C-Name) for better data quality and quantity and to avoid Content Security Policy issues.

    • widgetServiceUrl: Defined the location to the Mapp Marketing Automation server configuration. Default value is "//[Trackdomain]/[TrackId]/rdfs".
      Please contact our Support or your responsible Customer Success Manager for activation if you prefer to fetch this library using your first-party Custom Track Domain (C-Name) for better data quality and quantity and to avoid Content Security Policy issues.

    /**
     * @param {{
     *      [trackId=current trackId]: string,
     *      [mediacode=[wt_mc,wtmc,mc]]: string[],
     *      [keyword=[wt_kw,wtkw,kw]]: string[],
     *      [baseUrl="//cdn.mateti.net/mcp/onsite.min.js"]: string,
     *      [widgetServiceUrl=""]: string
     * }} [config]
     *
     * @returns {object}
     */
    wtSmart.extension.marketing_automation.config(config);

    isActivated

    Get the status if the extension is enabled.

    /**
     * @returns {boolean}
     */
    wtSmart.extension.marketing_automation.isActivated();

    activate

    Activate the extension.

    /**
     * @returns {boolean}
     */
    wtSmart.extension.marketing_automation.activate();

    deactivate

    Deactivate the extension.

    /**
     * @returns {boolean}
     */
    wtSmart.extension.marketing_automation.deactivate();

    Example

    // is marketing automation activated
    var isActivated = wtSmart.extension.marketing_automation.isActivated();
    
    // set marketing automation config
    wtSmart.extension.marketing_automation.config({
        trackId: '111111111111111',
        mediacode: ['wt_mc', 'wtmc', 'mc'],
        keyword: ['wt_kw', 'wtkw', 'kw'],
        baseUrl: '//cdn.mateti.net/mcp/onsite.min.js',
        widgetServiceUrl: '//data.mapp.com/111111111111111/rdfs'
    });
    
    // activate marketing automation
    wtSmart.extension.marketing_automation.activate();
    
    // deactivate marketing automation
    wtSmart.extension.marketing_automation.deactivate();

    Code Generator

    Use the code generator to create individual code that you can then integrate directly into the website.

    Related

    Getting Started: Marketing Automation Overview

    User Interface of Marketing Automation


    Was this article helpful?

    What's Next