Skip to content

Conversation

@bogdan-volynets
Copy link
Contributor

…gration

if (typeof window.engagement !== 'undefined') {
window.engagement.init(apiKey);

const userId = 'docs-site-user';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the user_id param is required in order to boot the integration, so we have to use some dummy value here.

@codefresh-git-integration
Copy link

"[CI] Staging environment is at https://staging-docs.codefresh.io/CR-33021/docs/"

{% if page.layout != "home" %}
<button
onclick="window.CommandBar.openHelpHub(); setTimeout(() => {
document.querySelector('input[data-testid=helphub-input]').focus()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the search input has a focused state by default when you open the amplitude's guides and surveys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants