Skip to content

Commit

Permalink
Enabled remote config to get survey id from remote config
Browse files Browse the repository at this point in the history
  • Loading branch information
pnrgenc committed Dec 2, 2024
1 parent e1a67ce commit 3030203
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/express/views/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -1955,6 +1955,9 @@ <h4><a href="#/analytics/events/key/{{encodeURIComponent this.name}}">{{this.nam
interval:1000
});

// enable remote config
Countly.remote_config = true;

// if domain has changed since the last time it is saved as device id set the new domain as device id and merge it with the old domain
if (Countly.get_device_id() !== domain) {
Countly.change_id(domain, true);
Expand Down

0 comments on commit 3030203

Please sign in to comment.