I’d like to integare piwik/device-detector with Mautic?
I’ve searched for documentation on this, but cannot find any simple straight forward instructions on how to merge these two together.
I’d like to integare piwik/device-detector with Mautic?
I’ve searched for documentation on this, but cannot find any simple straight forward instructions on how to merge these two together.
Hi @MX Mark. It’s already integrated.
It’s used to decode the Useragent for email Open and landing page events. What exactly did you want to do with it?
Hi MarkLL,
Thanks for your reply…
I was watching a YT tutorial about device granularity and when the mautic dash was shown it featured the different devices used to view emails etc.
In my dashboard you can only see 50% desktop and 50% unknown. I also read this article here about the requirements for the ‘detect devices’ to work (please see under the requirements heading)
OK, When I check the vendor folder I can see piwik/device-detector and as I mentioned, the code clearly shows it’s being used. see https://github.com/mautic/mautic/blob/staging/app/bundles/EmailBundle/Model/EmailModel.php#L474
and https://github.com/mautic/mautic/blob/staging/app/bundles/PageBundle/Model/PageModel.php#L599
I’m not sure if the piwik package has any other dependencies that may affect it use (for example the php get_browser() function requires browscap
to be set up - http://php.net/manual/en/function.get-browser.php)
Okay Mark, thanks for confirming piwik/device-detector is already bundled with mautic. Like I said, in my particular dashboard it shows 50% desktop and 50% unknown, so you may be right about having other dependencies for it to show other devices, but your guess is as good as mine?
With regards to your php get_browser() and browscap theory, I’m afraid that information is way beyong my knowledge
I’m a mere marketer who doesn’t understand php or any other coding language.
Some new idea, how to work with Matomo (formerly Piwik)?