File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
- test .html
1
+ * .html
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ const makeCalendlyUrl = (base_url) => {
124
124
"null" ,
125
125
utm_content :
126
126
Cookies . get ( "utm_content" ) ||
127
- getParameterByName ( "utm_medium " ) ||
127
+ getParameterByName ( "utm_content " ) ||
128
128
"null" ,
129
129
name :
130
130
Cookies . get ( "name" ) ||
@@ -183,6 +183,20 @@ const delayedCta = (timeout = 3000) => {
183
183
}
184
184
} ;
185
185
186
+ function getTrackingId ( id ) {
187
+ if ( Cookies . get ( id ) ) {
188
+ if (
189
+ Cookies . get ( id ) !== null ||
190
+ Cookies . get ( id ) !== "" ||
191
+ Cookies . get ( id ) !== "null"
192
+ ) {
193
+ return Cookies . get ( id ) ;
194
+ }
195
+ } else {
196
+ return getParameterByName ( id ) || "null" ;
197
+ }
198
+ }
199
+
186
200
function docReady ( fn ) {
187
201
if ( document . readyState != "loading" ) {
188
202
fn ( ) ;
You can’t perform that action at this time.
0 commit comments