Git Product home page Git Product logo

Comments (5)

yuhui avatar yuhui commented on July 17, 2024 1

from launchext-web-vitals.

yuhui avatar yuhui commented on July 17, 2024

@PH1NO The Data Elements have to be used in a Rule that has one of the Events from my Extension. For example, if you have a Rule that is triggered with the "Cumulative Layout Shift (CLS)" Event, then in that Rule's Conditions and/or Actions, you can use the Data Elements from my Extension. Then you'll be able to get the expected values.

So my question is: in your Rule(s) where you are using these Web Vitals Data Elements, which Event(s) are you triggering with?

from launchext-web-vitals.

PH1NO avatar PH1NO commented on July 17, 2024

Hi @yuhui , thank you for your reply. So I missed the step of adding those events to the rule, I've done a separate rule on it's own to fire when any of those Web Vitals events occur and I've tried it on a page load rule. When I try to send those data elements through the actions (via set variables) or in custom code, I don't see any results.

Here is my set up for the rule
image

Here is the data element set up (just selected my Attribution data element for this example)
image

Here is the error I get for the Attribution one:
image

When i tried console logging it, that threw an error as well stating that the web-vitals cannot grab any data due to it being undefined.

Unless I'm implementing incorrectly? But I tried going through the step by step process I've seen with your extension.

Thanks so much for your assistance

from launchext-web-vitals.

PH1NO avatar PH1NO commented on July 17, 2024

Will do. Thank you!

from launchext-web-vitals.

PH1NO avatar PH1NO commented on July 17, 2024

Thank you @yuhui for your assistance!

from launchext-web-vitals.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.