feat(docs): Add utm_ params to apply links (#2817)
* feat(utm): Add utm params to apply links * Add utm_content to apply links
This commit is contained in:
parent
c7f61062b4
commit
8a9c4519eb
11 changed files with 26 additions and 13 deletions
|
|
@ -3,6 +3,6 @@ YARN_VERSION = "1.22.5"
|
|||
|
||||
[[redirects]]
|
||||
from = "/apply/"
|
||||
to = "https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch"
|
||||
to = "https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply"
|
||||
status = 301
|
||||
force = true
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ Please reach out to our [support](https://algolia.com/support) team.
|
|||
|
||||
## Can I have multiple projects under the same Algolia application?
|
||||
|
||||
We recommend having a single Algolia application per project. Please [apply](https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch) if you'd like to use DocSearch in an other project of yours.
|
||||
We recommend having a single Algolia application per project. Please [apply](https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply) if you'd like to use DocSearch in an other project of yours.
|
||||
|
||||
### Why ?
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ We'll then get back to you with the JavaScript snippet you'll need to add to you
|
|||
|
||||
Now that DocSearch is set, you don't have anything else to do. We'll keep crawling your website and update your search results automatically. All we ask is that you keep the "Search by Algolia" logo next to your search results.
|
||||
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply
|
||||
[2]: /docs/who-can-apply
|
||||
[3]: https://github.com/algolia/docsearch-configs/tree/master/configs
|
||||
[4]: /docs/styling
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ You can now [apply to the program][3]
|
|||
|
||||
[1]: https://opencollective.com/algolia
|
||||
[2]: /docs/who-can-apply
|
||||
[3]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch
|
||||
[3]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply
|
||||
[4]: https://www.algolia.com/products/search-and-discovery/crawler/
|
||||
[5]: https://dashboard.algolia.com/crawler
|
||||
[6]: https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete/
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ DocSearch application process includes automated validation for faster processin
|
|||
|
||||
Once approved, you can continue the onboarding process to create your DocSearch crawler. After your data is ingested into Algolia, you'll need to implement the search UI using either our provided code snippet or one of our [integrations][3].
|
||||
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply
|
||||
[2]: https://www.algolia.com/policies/docsearch-plan-specific-terms
|
||||
[3]: integrations.md
|
||||
[4]: https://alg.li/discord
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ import { themes } from 'prism-react-renderer';
|
|||
import myLoaders from './plugins/my-loaders.mjs';
|
||||
import tailwindLoader from './plugins/tailwind-loader.mjs';
|
||||
|
||||
const SIGNUP_LINK = 'https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch';
|
||||
const SIGNUP_LINK =
|
||||
'https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply';
|
||||
|
||||
const currentDate = new Date();
|
||||
const currentYear = currentDate.getFullYear();
|
||||
|
|
|
|||
|
|
@ -75,7 +75,10 @@ function VideoPlayer({ chapters }) {
|
|||
<div
|
||||
key={chapter.label}
|
||||
className="absolute flex flex-col items-center"
|
||||
style={{ left: `${(chapter.time / duration) * 100}%`, transform: 'translateX(-50%)' }}
|
||||
style={{
|
||||
left: `${(chapter.time / duration) * 100}%`,
|
||||
transform: 'translateX(-50%)',
|
||||
}}
|
||||
>
|
||||
{/* Arrow/triangle */}
|
||||
<div
|
||||
|
|
@ -156,7 +159,11 @@ function Home() {
|
|||
</div>
|
||||
<div className="flex my-12 gap-8">
|
||||
<Button href={withBaseUrl('docs/what-is-docsearch')}>Find out more</Button>
|
||||
<PrimaryButton href={'https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch'}>
|
||||
<PrimaryButton
|
||||
href={
|
||||
'https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply'
|
||||
}
|
||||
>
|
||||
Sign up
|
||||
</PrimaryButton>
|
||||
</div>
|
||||
|
|
@ -244,7 +251,12 @@ function Home() {
|
|||
<br />
|
||||
with DocSearch
|
||||
</div>
|
||||
<PrimaryButton key="apply" href={'https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch'}>
|
||||
<PrimaryButton
|
||||
key="apply"
|
||||
href={
|
||||
'https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply'
|
||||
}
|
||||
>
|
||||
Sign up for free
|
||||
</PrimaryButton>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ Please reach out to our [support](https://algolia.com/support) team.
|
|||
|
||||
## Can I have multiple projects under the same Algolia application?
|
||||
|
||||
We recommend having a single Algolia application per project. Please [apply](https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch) if you'd like to use DocSearch in an other project of yours.
|
||||
We recommend having a single Algolia application per project. Please [apply](https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply) if you'd like to use DocSearch in an other project of yours.
|
||||
|
||||
### Why ?
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ We'll then get back to you with the JavaScript snippet you'll need to add to you
|
|||
|
||||
Now that DocSearch is set, you don't have anything else to do. We'll keep crawling your website and update your search results automatically. All we ask is that you keep the "Search by Algolia" logo next to your search results.
|
||||
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply
|
||||
[2]: /docs/who-can-apply
|
||||
[3]: https://github.com/algolia/docsearch-configs/tree/master/configs
|
||||
[4]: /docs/styling
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ You can now [apply to the program][3]
|
|||
|
||||
[1]: https://opencollective.com/algolia
|
||||
[2]: /docs/who-can-apply
|
||||
[3]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch
|
||||
[3]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply
|
||||
[4]: https://www.algolia.com/products/search-and-discovery/crawler/
|
||||
[5]: https://dashboard.algolia.com/crawler
|
||||
[6]: https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete/
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ DocSearch application process includes automated validation for faster processin
|
|||
|
||||
Once approved, you can continue the onboarding process to create your DocSearch crawler. After your data is ingested into Algolia, you'll need to implement the search UI using either our provided code snippet or one of our [integrations][3].
|
||||
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch
|
||||
[1]: https://dashboard.algolia.com/users/sign_up?selected_plan=docsearch&utm_source=docsearch.algolia.com&utm_medium=referral&utm_campaign=docsearch&utm_content=apply
|
||||
[2]: https://www.algolia.com/policies/docsearch-plan-specific-terms
|
||||
[3]: integrations.md
|
||||
[4]: https://alg.li/discord
|
||||
|
|
|
|||
Loading…
Reference in a new issue