@blotoutio/providers-pinterest-sdk 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +6 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -129,10 +129,13 @@ var ProvidersPinterestSdk = (function () {
|
|
|
129
129
|
};
|
|
130
130
|
const tag = ({ data, eventName, manifestVariables, eventId }) => {
|
|
131
131
|
if (window.pintrk && manifestVariables['pixelId']) {
|
|
132
|
-
window.pintrk('track', getPinterestEventName(eventName),
|
|
132
|
+
window.pintrk('track', getPinterestEventName(eventName), {
|
|
133
|
+
...prepareData(data),
|
|
134
|
+
event_id: eventId.toString(),
|
|
135
|
+
});
|
|
133
136
|
}
|
|
134
137
|
return {
|
|
135
|
-
sdkVersion: "0.
|
|
138
|
+
sdkVersion: "0.22.0" ,
|
|
136
139
|
};
|
|
137
140
|
};
|
|
138
141
|
|
|
@@ -149,7 +152,7 @@ var ProvidersPinterestSdk = (function () {
|
|
|
149
152
|
window.edgetagProviders.push(data);
|
|
150
153
|
}
|
|
151
154
|
}
|
|
152
|
-
catch
|
|
155
|
+
catch {
|
|
153
156
|
// No window
|
|
154
157
|
}
|
|
155
158
|
|