fix(docs): remove alias from docs for now

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-06-12 12:04:34 +02:00
parent ad8dfb511d
commit 02be728499
6 changed files with 1 additions and 68 deletions

View File

@@ -84,19 +84,6 @@ op.setGlobalProperties({
});
```
### Creating Aliases
To create an alias for a user:
```js title="index.js"
import { op } from './op.ts'
op.alias({
alias: 'a1',
profileId: '1'
});
```
### Incrementing Properties
To increment a numeric property on a user profile.

View File

@@ -193,17 +193,6 @@ useOpenPanel().setGlobalProperties({
});
```
### Creating Aliases
To create an alias for a user:
```js title="index.js"
useOpenPanel().alias({
alias: 'a1',
profileId: '1'
});
```
### Incrementing Properties
To increment a numeric property on a user profile.

View File

@@ -108,17 +108,6 @@ op.set_global_properties({
})
```
### Creating Aliases
To create an alias for a user:
```python
op.alias({
"alias": "a1",
"profile_id": "1"
})
```
### Incrementing Properties
To increment a numeric property on a user profile:

View File

@@ -74,17 +74,6 @@ window.op('setGlobalProperties', {
});
```
### Creating Aliases
To create an alias for a user:
```js title="main.js"
window.op('alias', {
alias: 'a1',
profileId: '1'
});
```
### Incrementing Properties
To increment a numeric property on a user profile.
@@ -184,7 +173,7 @@ declare global {
op: {
q?: string[][];
(...args: [
'init' | 'track' | 'identify' | 'setGlobalProperties' | 'alias' | 'increment' | 'decrement' | 'clear',
'init' | 'track' | 'identify' | 'setGlobalProperties' | 'increment' | 'decrement' | 'clear',
...any[]
]): void;
};