Bladeren bron

UTM參數帶至Ocard

mike 3 jaren geleden
bovenliggende
commit
178f244764

+ 6 - 1
static/js/utm.js

@@ -63,7 +63,12 @@ function ocard_redirect() {
 }
 
 // UTM -> Ocard
-var ocard_link = 'https://ocard.co/q?s=mkwbRm&qtk=bZ9nam&' + utmParamQueryString;
+var ocard_link = 'https://ocard.co/q?s=mkwbRm&qtk=bZ9nam&utm_source=web&utm_medium=booking&utm_campaign=booking&utm_content=booking';
+
+if (utmParamQueryString) {
+    ocard_link = 'https://ocard.co/q?s=mkwbRm&qtk=bZ9nam&' + utmParamQueryString;
+}
+
 console.log('link = ' + window.location.href); // test
 console.log('utmParamQueryString = ' + utmParamQueryString); // test
 console.log('ocard_link = ' + ocard_link); // test

+ 4 - 31
themes/hugo-lamp/static/css/chuz.css

@@ -2964,6 +2964,10 @@ amp-accordion div .start {
   right: 15px;
 }
 
+.reservation-href {
+  cursor: pointer;
+}
+
 .title-link a {
   color: #4D4D4D;
 }
@@ -2980,37 +2984,6 @@ amp-accordion div .start {
   border-radius: 20px;
 }
 
-.btn-primary {
-  color: #fff;
-  background-color: #0d6efd;
-  border-color: #0d6efd;
-}
-
-.btn-primary:hover {
-  color: #fff;
-  background-color: #0b5ed7;
-  border-color: #0a58ca;
-}
-.btn-check:focus + .btn-primary, .btn-primary:focus {
-  color: #fff;
-  background-color: #0b5ed7;
-  border-color: #0a58ca;
-  box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
-}
-.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
-  color: #fff;
-  background-color: #0a58ca;
-  border-color: #0a53be;
-}
-.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
-  box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
-}
-.btn-primary:disabled, .btn-primary.disabled {
-  color: #fff;
-  background-color: #0d6efd;
-  border-color: #0d6efd;
-}
-
 .btn-outline-white {
   color: #fff;
   border-color: #fff;

File diff suppressed because it is too large
+ 0 - 0
themes/hugo-lamp/static/css/chuz.css.map


+ 4 - 0
themes/hugo-lamp/static/css/templates/_common.scss

@@ -59,6 +59,10 @@ amp-accordion {
   right: 15px; 
 }
 
+.reservation-href {
+  cursor: pointer;
+}
+
 .title-link {
 	a {
 		color: #4D4D4D;

Some files were not shown because too many files changed in this diff