• Resolved jensolsson

    (@jensolsson)


    WPMautic is correctly registering page views however no contact info is added if the tracked user logs on.

    The strange thing is that I can see that a request is done to /mtc/event with parameters like the following

    page_title=Mitt%20konto%20%7C%20TEST&page_language=en-US&page_referrer=www.oursite.com&page_url=https%3A%2F%2Fwww.oursite.com%2Fkonto%2F&counter=0&mautic_device_id=nqg2045coy3bu4g21qubcxo&email=me@oursite.com&firstname=Jens&lastname=Olsson&wp_user=jens&wp_alias=Jens%20Olsson&wp_registration_date=2017-09-04&resolution=2560×1440&timezone_offset=-120&platform=MacIntel&do_not_track=unknown&adblock=false&fingerprint=db655ade23e8bf50041da9317a42eaba

    I also get a response like this:

    {
    “success”: 1,
    “id”: 1,
    “sid”: “nqg2045coy3bu4g21qubcxo”,
    “device_id”: “nqg2045coy3bu4g21qubcxo”,
    “events”: [
    false
    ]
    }

    But nothing happens with the anonymous contact in Mautic.

    Any ideas on where to troubleshoot?
    Kind regards
    Jens

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author shulard

    (@shulard)

    Hello !

    This plugin will send specific fields for the WordPress related data. You must verify that those fields are correctly configured on your Mautic instance.

    The full list is :

    * wp_user
    * wp_alias
    * wp_registration_date (format Y-m-d)
    * email
    * firstname
    * lastname

    Also you must be sure to have checked the option to track logged users (but it seems already true based on your previous message).

    Do you retrieve the user using it’s email address on your Mautic instance ?

    Thread Starter jensolsson

    (@jensolsson)

    Actually I just got some progress on this as well.

    I had to go to Settings > Custom Fields > and set Publicly updatable for each of them to yes.
    Is it correct to do like this ?

    Kind regards
    Jens

    Plugin Author shulard

    (@shulard)

    Yes it is ! Since those are non standard fields, you must allow them to be updated.

    Thread Starter jensolsson

    (@jensolsson)

    OK

    But email, firstname, lastname was also set to Public Updatable NO as default. Is this normal?

    Kind regards
    Jens

    Plugin Author shulard

    (@shulard)

    I’m not sure, but I don’t know which are the default values for this. Since you can now save the contact details, I mark this issue as resolved ^^.

    Thread Starter jensolsson

    (@jensolsson)

    Ok

    Thanks for all the help
    Maybe it would be a good idea to add a note about this in the readme helping newbies like me?

    Kind regards
    Jens

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Contact anonymous even though I log on to wordpress’ is closed to new replies.