@mjhls/mjh-framework 1.0.1068-publication-pixel-v1 → 1.0.1068-publication-pixel-v2
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.
|
@@ -60,7 +60,7 @@ var PixelTrackingLandingPages = React__default['default'].memo(function (_ref) {
|
|
|
60
60
|
|
|
61
61
|
var renderCode = function renderCode(code) {
|
|
62
62
|
if (window.LassoImpressionID && code && checkIfLasso(code)) {
|
|
63
|
-
var delimiter = code.lastIndexOf('?' === -1
|
|
63
|
+
var delimiter = code.lastIndexOf('?') === -1 ? '?' : '&';
|
|
64
64
|
code += delimiter + 'LassoImpressionID=' + window.LassoImpressionID;
|
|
65
65
|
}
|
|
66
66
|
return React__default['default'].createElement('div', { style: { height: '0', opacity: 0 }, key: code, dangerouslySetInnerHTML: { __html: code } });
|
|
@@ -52,7 +52,7 @@ var PixelTrackingLandingPages = React__default.memo(function (_ref) {
|
|
|
52
52
|
|
|
53
53
|
var renderCode = function renderCode(code) {
|
|
54
54
|
if (window.LassoImpressionID && code && checkIfLasso(code)) {
|
|
55
|
-
var delimiter = code.lastIndexOf('?' === -1
|
|
55
|
+
var delimiter = code.lastIndexOf('?') === -1 ? '?' : '&';
|
|
56
56
|
code += delimiter + 'LassoImpressionID=' + window.LassoImpressionID;
|
|
57
57
|
}
|
|
58
58
|
return React__default.createElement('div', { style: { height: '0', opacity: 0 }, key: code, dangerouslySetInnerHTML: { __html: code } });
|