Skip to content

Commit 69862cd

Browse files
committed
docs: add utm links
1 parent 2662a7a commit 69862cd

9 files changed

+82
-79
lines changed

docs/content/1.getting-started.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ export default defineNuxtConfig({
3737
CLOUDINARY_CLOUD_NAME=<YOUR_CLOUDINARY_CLOUD_NAME>
3838
```
3939

40-
::callout{icon="i-heroicons-check-circle"}
41-
And that's it! You can now use Clodinary in Nuxt ✨
40+
::callout{icon="i-heroicons-light-bulb" to="https://cloudinary.com/users/register_free?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary" target="_blank"}
41+
Don't have a Cloudinary account? Sign up for free on cloudinary.com!
4242
::
4343

44+
And that's it! You can now use Clodinary in Nuxt ✨
45+
46+
4447
```vue
4548
<template>
4649
<CldImage
@@ -99,13 +102,13 @@ Enabling Cloudinary analytics.
99102

100103
- Default: `-`
101104

102-
Top level configuration used for all composables and components. Check out all available options [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters)
105+
Top level configuration used for all composables and components. Check out all available options [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary)
103106

104107
### `url`
105108

106109
- Default: `-`
107110

108-
Top level configuration used for all composables and components. Check out all available options [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters)
111+
Top level configuration used for all composables and components. Check out all available options [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary)
109112

110113
## NuxtCloudinary vs Nuxt Image
111114

docs/content/2.components/CldImage/2.configuration.md

+61-61
Large diffs are not rendered by default.

docs/content/2.components/CldMediaLibrary.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description:
33
---
44

5-
The CldMediaLibrary creates a media gallery element that uses an instance of the [Cloudinary Media Library Widget](https://cloudinary.com/documentation/media_library_widget) to give you an easy way to add media librarry component to your Nuxt app.
5+
The CldMediaLibrary creates a media gallery element that uses an instance of the [Cloudinary Media Library Widget](https://cloudinary.com/documentation/media_library_widget?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) to give you an easy way to add media librarry component to your Nuxt app.
66

77
## Basic Usage
88

@@ -35,7 +35,7 @@ CldMediaLibrary accepts several customization props listed below:
3535
| useSaml | boolean | `false` |
3636
| params | object | `{}` |
3737

38-
For all other available props checkout [Cloudinary Media Gallery Docs](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) and make sure to pass them to the component as `params` like following:
38+
For all other available props checkout [Cloudinary Media Gallery Docs](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) and make sure to pass them to the component as `params` like following:
3939

4040
```vue
4141
<script setup lang="ts">

docs/content/2.components/CldProductGallery.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description:
33
---
44

5-
The CldProductGallery creates a product gallery element that uses an instance of the [Cloudinary Product Gallery Widget](https://cloudinary.com/documentation/product_gallery_reference) to give you an easy way to add product gallery component to your Nuxt app.
5+
The CldProductGallery creates a product gallery element that uses an instance of the [Cloudinary Product Gallery Widget](https://cloudinary.com/documentation/product_gallery_reference?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) to give you an easy way to add product gallery component to your Nuxt app.
66

77
## Basic Usage
88

@@ -42,7 +42,7 @@ CldProductGallery accepts several customization props listed below:
4242
| zoom | boolean | `false` |
4343
| params | object | `{}` |
4444

45-
For all other available props checkout [Cloudinary Product Gallery Docs](https://cloudinary.com/documentation/product_gallery_reference#widget_parameters) and make sure to pass them to the component as `params` like following:
45+
For all other available props checkout [Cloudinary Product Gallery Docs](https://cloudinary.com/documentation/product_gallery_reference#widget_parameters?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) and make sure to pass them to the component as `params` like following:
4646

4747
```vue
4848
<script setup lang="ts">

docs/content/2.components/CldUploadButton.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description:
33
---
44

5-
The CldUploadButton creates a button element that uses an instance of the [Cloudinary Upload Widget](https://cloudinary.com/documentation/upload_widget) to give you an easy way to add upload capabilities to your Nuxt app.
5+
The CldUploadButton creates a button element that uses an instance of the [Cloudinary Upload Widget](https://cloudinary.com/documentation/upload_widget?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) to give you an easy way to add upload capabilities to your Nuxt app.
66

77
The CldUploadButton component wraps the [CldUploadWidget](/components/clduploadwidget) component providing a pre-defined UI (a button). The same concepts apply, including having the option of using Signed or Unsigned uploads.
88

docs/content/2.components/CldUploadWidget.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description:
33
---
44

5-
The CldUploadWidget creates a new instance of the [Cloudinary Upload Widget](https://cloudinary.com/documentation/upload_widget) giving you an easy way to add upload capabilities to your Nuxt app.
5+
The CldUploadWidget creates a new instance of the [Cloudinary Upload Widget](https://cloudinary.com/documentation/upload_widget?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) giving you an easy way to add upload capabilities to your Nuxt app.
66

77
## Basic Usage
88

@@ -11,7 +11,7 @@ The CldUploadWidget will not render any UI by default. It will instead only rend
1111
There are two options when using the CldUploadWidget: signed and unsigned. These options allow you to control the amount of security and restrictions you place on uploads.
1212

1313
::callout{icon="i-heroicons-light-bulb"}
14-
To learn more about signed and unsigned upload, check out the [Cloudinary docs](https://cloudinary.com/documentation/upload_images#uploading_assets_to_the_cloud).
14+
To learn more about signed and unsigned upload, check out the [Cloudinary docs](https://cloudinary.com/documentation/upload_images#uploading_assets_to_the_cloud?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary).
1515
::
1616

1717
### Unsigned
@@ -97,7 +97,7 @@ To use the above, create a Node-based API route, add the snippet, and use that e
9797
| onTags | function | `(result, options) => { }` |
9898
| onUploadAdded | function | `(result, options) => { }` |
9999

100-
To learn more about the event callbacks and when they trigger, see: https://cloudinary.com/documentation/upload_widget_reference#events
100+
To learn more about the event callbacks and when they trigger, [see](https://cloudinary.com/documentation/upload_widget_reference#events?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary)
101101

102102
### Callback Options
103103

docs/content/2.components/CldVideoPlayer.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description:
44

55
## The usage
66

7-
The CldVideoPlayer component helps to embed Cloudinary videos using the [Cloudinary Video Player](https://cloudinary.com/documentation/cloudinary_video_player) giving you a full customizable experience for your player.
7+
The CldVideoPlayer component helps to embed Cloudinary videos using the [Cloudinary Video Player](https://cloudinary.com/documentation/cloudinary_video_player?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) giving you a full customizable experience for your player.
88

99
## Basic Usage
1010

@@ -83,7 +83,7 @@ Picture-in-picture helps your viewers continue their multitasking agenda and mai
8383

8484
## Chapters
8585

86-
Adding a button to select chapters (you can pass `chapters` prop as a boolean if the video already has chapters as explained [here](https://cloudinary.com/documentation/video_player_customization#video_chapters)).
86+
Adding a button to select chapters (you can pass `chapters` prop as a boolean if the video already has chapters as explained [here](https://cloudinary.com/documentation/video_player_customization#video_chapters?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary)).
8787

8888
```html
8989
<script setup lang="ts">
@@ -111,7 +111,7 @@ Adding a button to select chapters (you can pass `chapters` prop as a boolean if
111111

112112
| Prop Name | Type | Default | Description | Example |
113113
| ---------------------- | -------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
114-
| autoPlay | string | `"never"` | When, if, should the video automatically play. See `autoplayMode` in [Video Player docs](https://cloudinary.com/documentation/video_player_api_reference#constructor_parameters) | `"on-scroll"` |
114+
| autoPlay | string | `"never"` | When, if, should the video automatically play. See `autoplayMode` in [Video Player docs](https://cloudinary.com/documentation/video_player_api_reference#constructor_parameters?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) | `"on-scroll"` |
115115
| className | string | - | Additional class names added to the video container | `"my-video-player"` |
116116
| colors | object | See below | Player chrome colors | See Colors Below |
117117
| controls | boolean | `true` | Show player controls | `true` |
@@ -149,7 +149,7 @@ The `colors` prop takes an object that can control what colors are used in the p
149149
| base | string | `"#000000"` | Player controls bar, information bar, central play button, and right-click context menu. |
150150
| text | string | `"#FFFFFF"` | All the text and icons that are present within the video player UI. |
151151

152-
Learn more about the color scheme options and how they're used [on the Cloudinary docs](https://cloudinary.com/documentation/video_player_customization#color_scheme).
152+
Learn more about the color scheme options and how they're used [on the Cloudinary docs](https://cloudinary.com/documentation/video_player_customization#color_scheme?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary).
153153

154154
## Event Props
155155

docs/content/3.composables/1.useCldImageUrl.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ All effect props are disabled by default.
123123
| vibrance | bool/string | `true`, `"70"` |
124124
| vignette | bool/string | `true`, `"30"` |
125125

126-
[View the Cloudinary docs](https://cloudinary.com/documentation/transformation_reference#e_effect) to see learn more about using effects.
126+
[View the Cloudinary docs](https://cloudinary.com/documentation/transformation_reference#e_effect?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary) to see learn more about using effects.
127127

128128
### Overlay Options
129129

docs/content/index.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ features:
3232
target: '_blank'
3333
- title: 'Cloudinary URL Loader'
3434
icon: 'i-simple-icons-cloudinary'
35-
to: 'https://cloudinary.com'
35+
to: 'https://cloudinary.com?utm_campaign=devx_nuxtcloudinary&utm_medium=referral&utm_source=nuxtcloudinary'
3636
target: '_blank'
3737
- title: 'Optimized images in modern formats'
3838
icon: 'i-heroicons-photo'

0 commit comments

Comments
 (0)