Comments (5)
from launchext-web-vitals.
@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.
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
Here is the data element set up (just selected my Attribution data element for this example)
Here is the error I get for the Attribution one:
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.
Will do. Thank you!
from launchext-web-vitals.
Thank you @yuhui for your assistance!
from launchext-web-vitals.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from launchext-web-vitals.