Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(UserAgent): introduce addAlgoliaAgent method #105

Merged
merged 3 commits into from
Apr 10, 2019
Merged

Conversation

tkrugg
Copy link
Contributor

@tkrugg tkrugg commented Apr 8, 2019

This introduces a addAlgoliaAgent method that can be also found in the
search client.

aa('addAlgoliaAgent', 'a random string')

@@ -66,6 +68,10 @@ class AlgoliaAnalytics {
_userHasOptedOut: boolean;
_cookieDuration: number;

// user agent
_ua: string = "";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This introduces a addAlgoliaAgent method that can be also found in the
search client.

```ts
aa('addAlgoliaAgent', 'a random string')
```
@tkrugg tkrugg force-pushed the feat/user-agent-1 branch from ef34f57 to ac4a064 Compare April 8, 2019 15:36
@tkrugg tkrugg marked this pull request as ready for review April 8, 2019 15:39
@tkrugg tkrugg merged commit 927e74e into develop Apr 10, 2019
@francoischalifour francoischalifour deleted the feat/user-agent-1 branch April 10, 2019 14:54
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