Skip to main content
Question

Installing Guides and Surveys SDK


I’m trying to install sdk using code

<script src="https://cdn.amplitude.com/script/API_KEY.engagement.js"></script>

which i placed after amplitude main script.

I replaced API_KEY  with my project Api key found in projects → general tab.

Unfortunately this scripts always thronws 401 error with ‘Invalid Key.’ response. 

Why would that happen? I’m doing it according to this doc - https://amplitude.com/docs/guides-and-surveys/sdk#amplitude-browser-sdk

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings