• Hello, we want to send the customer’s name and surname from datalayer to the mail collector. But when we look at the settings, there is no name and surname datalayer. We request information. Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi Yasin,

    Please provide some more context.
    Are we talking about a WooCommerce shop?

    Thread Starter Yasin ?lmez

    (@yasinolmez)

    Yes of course WooCommerce. This datalayer required is for the mail(data) provider

    Plugin Author Thomas Geiger

    (@duracelltomi)

    In plugin settings, under Integration->WooCommerce you can turn on a plugin option that will add customer data into the data layer. It will populate new data layer variables for you:

    {
        "customerTotalOrders": 0,
        "customerTotalOrderValue": "0.00",
        "customerFirstName": "",
        "customerLastName": "",
        "customerBillingFirstName": "",
        "customerBillingLastName": "",
        "customerBillingCompany": "",
        "customerBillingAddress1": "",
        "customerBillingAddress2": "",
        "customerBillingCity": "",
        "customerBillingPostcode": "",
        "customerBillingCountry": "",
        "customerBillingEmail": "",
        "customerBillingPhone": "",
        "customerShippingFirstName": "",
        "customerShippingLastName": "",
        "customerShippingCompany": "",
        "customerShippingAddress1": "",
        "customerShippingAddress2": "",
        "customerShippingCity": "",
        "customerShippingPostcode": "",
        "customerShippingCountry": "",
    }

    These will be only populated with any value if there is a logged in user on your site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User Name & Surname’ is closed to new replies.