@opexa/portal-sdk 0.59.0 → 0.59.1

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/dist/index.cjs CHANGED
@@ -9064,7 +9064,10 @@ var Sdk = class {
9064
9064
  const hostname = window.location.hostname;
9065
9065
  const market = searchParams.get("market");
9066
9066
  const marketPattern = /^[a-zA-Z0-9]{3,10}(-[a-zA-Z0-9]{3,10}){0,2}$/;
9067
- if (market && marketPattern.test(market)) {
9067
+ const adClickId = this.adManager.clickId;
9068
+ if (adClickId) {
9069
+ sessionStorage.setItem("domain", "happybingo.ph/meta-ads");
9070
+ } else if (market && marketPattern.test(market)) {
9068
9071
  sessionStorage.setItem("domain", `${hostname}/${market}`);
9069
9072
  } else if (sessionStorage.getItem("domain") == null) {
9070
9073
  sessionStorage.setItem("domain", hostname);