Skip to main content

I want to integrate Klaviyo with default Magento 2.4, but I'm having trouble with the integration part. It appears to

error 1) In order to finish configuring this integration, please setup or log in to your third-party account. (And already possess a Klaviyo account).
error 2: Klaviyo cannot establish an OAuth Handshake connection with the Magento Server. Verify that /oauth/token/access and /oauth/token/request are both reachable.

Additionally, it should be noted that the integration status is showing as inactive. Could you please advise me on how to fix this?

Hi @parikshit_100!

Two initial questions for you:

  • Are you making sure to integrate with the https:// version of your site (as opposed to http://)?
  • If you plug your website into the following SSL checker, what grade do you get? https://www.ssllabs.com/ssltest/

 

These are common causes of these issues that are necessary to rule out before investigating further.

 

Best,

Brian


  • Yes, this is a known behavior in Magento where system URLs get passed to Klaviyo instead of the proper SEO-friendly URLs.

  • Magento by default generates both system paths and rewritten SEO URLs, but sometimes integrations only pull the system path.

  • The support is partly correct—many Magento users do face this, especially when using email marketing tools like Klaviyo.

  • The SEO issue here is that system URLs (e.g., /catalog/category/id/6) are not optimized for search engines or user experience.

  • Manually editing the URL in the Klaviyo email template is one workaround, but it’s not scalable for large catalogs.

  • A common solution is customizing the integration so Klaviyo pulls the URL rewrite table (which stores how many of me us URLs).

  • You can check Magento’s URL Rewrite Management in admin to confirm the correct SEO-optimized links exist.

  • Developers often use Magento’s getProductUrl() function instead of system paths to ensure SEO links are retrieved.

  • This matters because emails with poor URLs can reduce click-through rates and negatively impact SEO performance when shared.

  • If you’re serious about SEO optimization, ensuring that all marketing channels use clean, human-readable URLs is essential.

  • Some Magento-Klaviyo users add middleware or extensions to automatically replace system URLs with SEO-friendly product links.

  • In short: yes, others have encountered this, but with the right SEO customization, you can make Klaviyo pull the proper rewritten URLs instead of editing them manually.


Reply