[DigitalPoint] Better Google Analytics

[DigitalPoint] Better Google Analytics 1.1.1

No permission to download
I know this add-on doesn't support XF 2.3/PHP 8.3 yet, but I just put it here for future reference if you decide to support it:


Code:
ErrorException: Fatal Error: Declaration of DigitalPoint\Analytics\XF\Pub\Controller\Login::actionLogin() 
must be compatible with XF\Pub\Controller\Login::actionLogin(XF\Mvc\ParameterBag $params) src/addons/DigitalPoint/Analytics/XF/Pub/Controller/Login.php:7
Generated by: User 21/4/24 at 14:55

Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state
array(4) {
  ["url"] => string(17) "/login/keep-alive"
  ["referrer"] => string(44) "https://website.com/logs/797/visual-stats"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Thanks!
 
Have I done something silly when I installed this, as from the time I installed it, it's tracking zero (or near-zero) for all metrics...

(Edit: from reading through the thread, I found that unchecking "Host Google Tag Manager JavaScript on your own domain" has got data flowing again, so I've done that!)
 

Attachments

  • Screenshot 2024-04-23 at 12.42.22.webp
    Screenshot 2024-04-23 at 12.42.22.webp
    49.3 KB · Views: 3
Last edited:
digitalpoint updated [DigitalPoint] Better Google Analytics with a new update entry:

XenForo 2.3 update

  • Update mail class to concurrently work with XenForo 2.2 and 2.3
  • If site is running XenForo 2.3, the last bit of JavaScript code that needed jQuery has been rewritten (specifically the $.on() usage is rewritten for XF.on()).
  • Change JavaScript to have overlay page tracking work with is unexpected objects (third-party addon: DragonByte eCommerce)
  • Raise the "all time" start date for charts to 2016 (Google API can only go so far back without...

Read the rest of this update entry...
 
@digitalpoint can you check this please?

1717703059949.webp

Code:
ErrorException: Fatal Error: Declaration of DigitalPoint\Analytics\XF\Pub\Controller\Login::actionLogin() must be compatible with XF\Pub\Controller\Login::actionLogin(XF\Mvc\ParameterBag $params) src/addons/DigitalPoint/Analytics/XF/Pub/Controller/Login.php:7
Generated by: Unknown account Jun 6, 2024 at 10:43 PM

Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state
array(4) {
  ["url"] => string(14) "/social/login/"
  ["referrer"] => string(29) "https://geekberry.net/social/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
@digitalpoint can you check this please?

View attachment 303849

Code:
ErrorException: Fatal Error: Declaration of DigitalPoint\Analytics\XF\Pub\Controller\Login::actionLogin() must be compatible with XF\Pub\Controller\Login::actionLogin(XF\Mvc\ParameterBag $params) src/addons/DigitalPoint/Analytics/XF/Pub/Controller/Login.php:7
Generated by: Unknown account Jun 6, 2024 at 10:43 PM

Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state
array(4) {
  ["url"] => string(14) "/social/login/"
  ["referrer"] => string(29) "https://geekberry.net/social/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
If you replace the DigitalPoint/Analytics/XF/Pub/Controller/Login.php file with this one, does it work?
 

Attachments

Code:
ErrorException: Fatal Error: Could not check compatibility between DigitalPoint\Analytics\XF\Mail\Mailer::send(DigitalPoint\Analytics\XF\Mail\Email $email, ?DigitalPoint\Analytics\XF\Mail\AbstractTransport $transport = null) and XF\Mail\Mailer::send(Symfony\Component\Mime\Message $email, ?Symfony\Component\Mailer\Transport\AbstractTransport $transport = null), because class DigitalPoint\Analytics\XF\Mail\Email is not available src/addons/DigitalPoint/Analytics/XF/Mail/Mailer.php:68


Code:
Stack-Trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

Code:
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(33) "https://www.xxx.de/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

i have version 2.3. rc2
 
Code:
ErrorException: Fatal Error: Could not check compatibility between DigitalPoint\Analytics\XF\Mail\Mailer::send(DigitalPoint\Analytics\XF\Mail\Email $email, ?DigitalPoint\Analytics\XF\Mail\AbstractTransport $transport = null) and XF\Mail\Mailer::send(Symfony\Component\Mime\Message $email, ?Symfony\Component\Mailer\Transport\AbstractTransport $transport = null), because class DigitalPoint\Analytics\XF\Mail\Email is not available src/addons/DigitalPoint/Analytics/XF/Mail/Mailer.php:68


Code:
Stack-Trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

Code:
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(33) "https://www.xxx.de/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

i have version 2.3. rc2

You can use this:

If you replace the DigitalPoint/Analytics/XF/Pub/Controller/Login.php file with this one, does it work?
 
You can use this:

Code:
ErrorException: Fatal Error: Could not check compatibility between DigitalPoint\Analytics\XF\Mail\Mailer::send(DigitalPoint\Analytics\XF\Mail\Email $email, ?DigitalPoint\Analytics\XF\Mail\AbstractTransport $transport = null) and XF\Mail\Mailer::send(Symfony\Component\Mime\Message $email, ?Symfony\Component\Mailer\Transport\AbstractTransport $transport = null), because class DigitalPoint\Analytics\XF\Mail\Email is not available src/addons/DigitalPoint/Analytics/XF/Mail/Mailer.php:68

Stack-Trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(71) "https://www.xxx.de/admin.php?tools/file-check/891/results"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}


The first error with the login is gone. Only the error with the email is not there yet..

Ah yes, I am using php8.3
 
Code:
ErrorException: Fatal Error: Could not check compatibility between DigitalPoint\Analytics\XF\Mail\Mailer::send(DigitalPoint\Analytics\XF\Mail\Email $email, ?DigitalPoint\Analytics\XF\Mail\AbstractTransport $transport = null) and XF\Mail\Mailer::send(Symfony\Component\Mime\Message $email, ?Symfony\Component\Mailer\Transport\AbstractTransport $transport = null), because class DigitalPoint\Analytics\XF\Mail\Email is not available src/addons/DigitalPoint/Analytics/XF/Mail/Mailer.php:68

Stack-Trace
#0 [internal function]: XF::handleFatalError()
#1 {main}

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(71) "https://www.xxx.de/admin.php?tools/file-check/891/results"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}


The first error with the login is gone. Only the error with the email is not there yet..

Ah yes, I am using php8.3
Looks like it might be something with PHP 8.3. Should hopefully be sorted in next release.
 
If you replace the DigitalPoint/Analytics/XF/Pub/Controller/Login.php file with this one, does it work?
It didn't work for me for some reason. Once I try to connect/disconnect from my user I get this error:


Code:
ErrorException: Fatal Error: Declaration of EWR\Member\Pub\Controller\Login::actionLogin() must be compatible with DigitalPoint\Analytics\XF\Pub\Controller\Login::actionLogin(XF\Mvc\ParameterBag $params) src/addons/EWR/Member/Pub/Controller/Login.php:9
Generated by: Username 19/6/24 at 13:00

Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
  ["url"] => string(17) "/login/keep-alive"
  ["referrer"] => string(23) "https://domain.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Delete
 
Last edited:
Back
Top Bottom