Download PDF
Google > Case Studies > Klarna tracks third-party iframe with Universal Analytics’ cookieless approach
Google Logo

Klarna tracks third-party iframe with Universal Analytics’ cookieless approach

Technology Category
  • Analytics & Modeling - Big Data Analytics
  • Analytics & Modeling - Real Time Analytics
Applicable Industries
  • Finance & Insurance
  • Retail
Applicable Functions
  • Business Operation
  • Sales & Marketing
Use Cases
  • Fraud Detection
  • Supply Chain Visibility
Services
  • Data Science Services
  • System Integration
The Challenge
Klarna, one of the biggest providers in Europe of in-store credit and invoice-based payment solutions for the ecommerce sector, was facing a challenge with tracking customer interactions on their platform. The company's checkout solution was hosted on an iframe located on the merchant's domain, but the actual iframe contents were hosted on Klarna's own domain. This posed a problem as browsers such as Safari on iPhone and iPad, and later generation desktop browsers such as Internet Explorer 10 prevent third-party cookies by default. Many analytics solutions rely on the use of cookies, and Klarna was losing nearly all iPhone visits and many desktop visits due to this issue.
About The Customer
Klarna is one of the biggest providers in Europe of in-store credit and invoice-based payment solutions for the ecommerce sector. The company enables the end-consumer to order and receive products, then pay for them afterwards. Klarna assesses the credit and fraud risk for the merchant, allowing the merchant to have a zero-friction checkout process – a win-win for the merchant-customer relationship. The company is based in Stockholm, Sweden.
The Solution
Klarna found a solution in Universal Analytics, which provides new data collection methods, simplified feature configuration, custom dimensions and metrics, and multi-platform tracking. In Klarna’s new cookieless approach, the “storage: none” option was selected in creating the account in Universal Analytics. The checkout iframe uses a unique non-personally identifiable ‘client ID’. These measures cause Universal Analytics to disable cookies and instead use the client ID as a session identifier. Because no cookies are in use, browsers that don’t allow for third-party cookies aren’t an issue at all. Virtual pageviews are sent on checkout form interactions. Custom dimensions and metrics are used for tagging a visit, with a dimension indicating which merchant is hosting the iframe, and a metric showing what cart value the user brings to the checkout.
Operational Impact
  • With Universal Analytics features, Klarna ensures iframe tracking is complete across all browsers.
  • By using the virtual pageviews as URL goals and funnel steps, goal flow visualizations are used to find bottlenecks in the checkout flow.
  • The new custom dimensions and metrics together with ecommerce tracking mean that reports can now be set up to reveal how each merchant’s cart value correlates to its final transaction value.
Quantitative Benefit
  • Complete tracking across all browsers, including those that prevent third-party cookies by default.
  • Ability to analyze customer purchase flow and perform merchant segmentation.
  • Ability to get a complete global overview of customer interactions and transactions.

Related Case Studies.

Contact us

Let's talk!

* Required
* Required
* Required
* Invalid email address
By submitting this form, you agree that IoT ONE may contact you with insights and marketing messaging.
No thanks, I don't want to receive any marketing emails from IoT ONE.
Submit

Thank you for your message!
We will contact you soon.