Skip to content

Commit

Permalink
[SDK-624] feat: add utm source param (#161)
Browse files Browse the repository at this point in the history
- adding UTM source param to studio url
  • Loading branch information
HarrisonHough authored Nov 22, 2023
1 parent ed3e21b commit 4280c90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Editor/UI/EditorWindows/SetupGuide/SetupGuide.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class SetupGuide : EditorWindow
{
private const string SETUP_GUIDE = "Setup Guide";
private const string HEADER_LABEL = "HeaderLabel";
private const string STUDIO_URL = "https://studio.readyplayer.me";
private const string STUDIO_URL = "https://studio.readyplayer.me?utm_source=unity-setup-guide";
private const string ANALYTICS_PRIVACY_URL = "https://docs.readyplayer.me/ready-player-me/integration-guides/unity/help-us-improve-the-unity-sdk";
private const string SUBDOMAIN_PANEL = "SubdomainPanel";
private const string STUDIO_URL_LABEL = "StudioUrl";
Expand Down Expand Up @@ -58,7 +58,7 @@ public void CreateGUI()

private string currentSubdomain;
private string currentAppId;

private VisualElement InitializeSubdomainPanel()
{
var headerLabel = rootVisualElement.Q<Label>(HEADER_LABEL);
Expand All @@ -85,7 +85,7 @@ private VisualElement InitializeSubdomainPanel()
currentAppId = appId;
ToggleNextButton();
};

if (!ProjectPrefs.GetBool(USE_DEMO_SUBDOMAIN_TOGGLE) && CoreSettingsHandler.CoreSettings.Subdomain == CoreSettings.DEFAULT_SUBDOMAIN)
{
subdomainTemplate.ClearSubdomain();
Expand Down

0 comments on commit 4280c90

Please sign in to comment.