able-wall-33062
02/22/2023, 10:35 AMmillions-activity-52391
02/22/2023, 10:35 AMquiet-wolf-72320
02/22/2023, 3:50 PMable-wall-33062
02/22/2023, 4:22 PM{
"anonymousId": "3871af15-e3fe-424a-bc94-1c40a779d59a",
"channel": "web",
"context": {
"app": {
"name": "RudderLabs JavaScript SDK",
"namespace": "com.rudderlabs.javascript",
"version": "2.25.0"
},
"campaign": {},
"library": {
"name": "RudderLabs JavaScript SDK",
"version": "2.25.0"
},
"locale": "en-US",
"os": {
"name": "",
"version": ""
},
"page": {
"initial_referrer": "https://www.google.com/",
"initial_referring_domain": "www.google.com",
"path": "/product/recz2EEpEmhtxJlHR",
"referrer": "https://www.fenyxhome.com/shop",
"referring_domain": "www.fenyxhome.com",
"search": "",
"tab_url": "https://www.fenyxhome.com/product/recz2EEpEmhtxJlHR",
"title": "Minimalistisches Ecksofa",
"url": "https://www.fenyxhome.com/product/recz2EEpEmhtxJlHR"
},
"screen": {
"density": 1.25,
"height": 864,
"innerHeight": 792,
"innerWidth": 1536,
"width": 1536
},
"sessionId": 1677081684349,
"traits": {},
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
},
"integrations": {
"All": true
},
"messageId": "8036d483-1125-4336-bd3f-18bb785c328a",
"originalTimestamp": "2023-02-22T16:18:52.930Z",
"properties": {
"initial_referrer": "https://www.google.com/",
"initial_referring_domain": "www.google.com",
"path": "/product/recz2EEpEmhtxJlHR",
"referrer": "https://www.fenyxhome.com/shop",
"referring_domain": "www.fenyxhome.com",
"search": "",
"tab_url": "https://www.fenyxhome.com/product/recz2EEpEmhtxJlHR",
"title": "Minimalistisches Ecksofa",
"url": "https://www.fenyxhome.com/product/recz2EEpEmhtxJlHR"
},
"rudderId": "1a827b31-c17c-4d51-9338-7f2284c77e5a",
"sentAt": "2023-02-22T16:18:52.945Z",
"type": "page",
"userId": ""
}
This is what I see sent from my javascript sdk on webflow to rudderstack
I would like to see ecommerce events, but I am not able to properly deduct how to do that
<!-- Rudderstack integration -->
<script>
rudderanalytics = window.rudderanalytics = [];
var methods = [
"load",
"page",
"track",
"identify",
"alias",
"group",
"ready",
"reset",
"getAnonymousId",
"setAnonymousId",
"getUserId",
"getUserTraits",
"getGroupId",
"getGroupTraits",
"startSession",
"endSession",
"getSessionId"
];
for (var i = 0; i < methods.length; i++) {
var method = methods[i];
rudderanalytics[method] = (function (methodName) {
return function () {
rudderanalytics.push(
[methodName].concat(Array.prototype.slice.call(arguments))
);
};
})(method);
}
rudderanalytics.load("APIHERE","DATAPLANE HERE");
rudderanalytics.page();
</script>
<script>
function myLearnMoreFunction() {
rudderanalytics.track("Add-to-cart-clicked");
}
</script>
<script src="https://cdn.rudderlabs.com/v1.1/rudder-analytics.min.js"></script>
<!-- End Rudderstack integration -->able-wall-33062
02/22/2023, 4:25 PM