"Viewed page" Klaviyo custom metric not working on PageFly landing page

Topic summary

Issue: Klaviyo’s custom “Viewed Page” metric isn’t firing on a PageFly-built Thank You page that users reach after submitting a review via the RYVIU app.

Actions taken: The snippet was added following Klaviyo’s guide. Klaviyo support checked the page’s source and reported the snippet isn’t present. The same setup worked on a different page (“Contact Us”).

Observed behavior: Only the “Active on Site” metric is tracking on the Thank You page, indicating the Klaviyo base web tracking is present, but the custom event isn’t.

Context:

  • Klaviyo: marketing automation; “Viewed Page” is a custom JavaScript event for page view tracking.
  • PageFly: Shopify page builder used to create the Thank You page.
  • RYVIU: reviews app used to collect reviews and redirect to the Thank You page.

Evidence: A screenshot shows where the snippet was added; the Thank You page URL was provided.

Status: Unresolved. The user is seeking guidance on correct snippet placement and why it isn’t appearing in the live page source despite being added.

Summarized with AI on February 20. AI used: gpt-5.

Hello Shopify experts! So I created a Thank You page that customers will be redirected to after submitting a review via the RYVIU app.

This page was made with PageFly.

By following the steps outlined here, I added the Klaviyo custom metric “Viewed Page” to this page.

https://help.klaviyo.com/hc/en-us/articles/360059075151-How-to-Create-a-Custom-Viewed-Page-Metric

When Klaviyo support checked the web source for this page, they said they couldn’t find the snippet inside. It is weird since I tried this on one of the pages “Contact Us” and it worked.

This is where I added the snippet code:

This is the Thank You Page that I created, but it is not done yet. ----- https://lilysado.com/pages/thank-you-from-lily-sado

I’m not sure where I missed out. The only metric that’s working on this page is “Active on Site”.

Thank you so much!

@EveryonesHero @Revery