From 479705fc0dcb7d5a12d73fb01901b6b099fc875b Mon Sep 17 00:00:00 2001 From: mfrederick Date: Thu, 4 Nov 2021 10:51:18 -0400 Subject: [PATCH] fix: Update cookie to match original spec --- src/components/InstallButton.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/InstallButton.js b/src/components/InstallButton.js index 423ba0556..2e69efeea 100644 --- a/src/components/InstallButton.js +++ b/src/components/InstallButton.js @@ -137,6 +137,11 @@ const InstallButton = ({ quickstart, location, ...props }) => { options.domain = 'newrelic.com'; } + const startTarget = btoa(JSON.stringify({ + source: "nrio", + target: quickstart.id + })); + Cookies.set('start_target', startTarget, options); Cookies.set('newrelic-quickstart-id', quickstart.id, options); };