# @ovh-ux/ng-at-internet-ui-router-plugin

> Plugin for at-internet when using UI-Router

Latest version **3.5.6** (published 2026-01-30) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @ovh-ux/ng-at-internet-ui-router-plugin
pnpm add @ovh-ux/ng-at-internet-ui-router-plugin
yarn add @ovh-ux/ng-at-internet-ui-router-plugin
bun add @ovh-ux/ng-at-internet-ui-router-plugin
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.5.6 |
| Published | 2026-01-30 |
| First published | 2019-03-06 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 206.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 284 |
| Author | OVH SAS |
| Maintainers | jisay, blary_jp, antleblanc, ovh-ux-cds, lizardk, ovh, marie-j, anooparveti, helabenkhalfallah |
| Keywords | angularjs, at-internet, plugin, tracking, ui-router |

## Links

- npm: https://www.npmjs.com/package/@ovh-ux/ng-at-internet-ui-router-plugin
- Repository: https://github.com/ovh/manager
- npm.io page: https://npm.io/package/@ovh-ux/ng-at-internet-ui-router-plugin

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.15

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 3.5.6 (latest) — 2026-01-30
- 3.6.0 — 2026-01-25
- 3.5.5 — 2025-11-16
- 3.5.4 — 2025-08-07
- 3.5.3 — 2025-06-05
- 3.5.2 — 2025-04-30
- 3.5.1 — 2024-11-28
- 3.5.0 — 2024-02-21
- 3.4.1 — 2023-12-05
- 3.4.0 — 2023-11-21
- 3.3.0 — 2023-10-23
- 3.2.4 — 2023-09-07
- 3.2.3 — 2023-01-19
- 3.2.2 — 2022-11-29
- 3.2.1 — 2022-03-04
- … 11 more at https://npm.io/package/@ovh-ux/ng-at-internet-ui-router-plugin/versions

## README

# ng-at-internet-ui-router-plugin

> Plugin for AT Internet when using UI-Router.

[![npm version](https://badgen.net/npm/v/@ovh-ux/ng-at-internet-ui-router-plugin)](https://www.npmjs.com/package/@ovh-ux/ng-at-internet-ui-router-plugin) [![Downloads](https://badgen.net/npm/dt/@ovh-ux/ng-at-internet-ui-router-plugin)](https://npmjs.com/package/@ovh-ux/ng-at-internet-ui-router-plugin) [![Dependencies](https://badgen.net/david/dep/ovh/manager/packages/components/ng-at-internet-ui-router-plugin)](https://npmjs.com/package/@ovh-ux/ng-at-internet-ui-router-plugin?activeTab=dependencies) [![Dev Dependencies](https://badgen.net/david/dev/ovh/manager/packages/components/ng-at-internet-ui-router-plugin)](https://npmjs.com/package/@ovh-ux/ng-at-internet-ui-router-plugin?activeTab=dependencies)

## Install

```sh
$ yarn add @ovh-ux/ng-at-internet-ui-router-plugin
```

## Usage

```js
import angular from 'angular';
import ngAtInternetUiRouterPlugin from '@ovh-ux/ng-at-internet-ui-router-plugin';

angular.module('myApp', [ngAtInternetUiRouterPlugin]);
```

Follow [at-internet installation](https://github.com/ovh/manager/blob/master/packages/components/ng-at-internet/README.md)
In your web page:

```html
<script src="angular.js"></script>
<script src="smarttag-yourproject.js"></script>
<script src="dist/umd/ng-at-internet.js"></script>
<script src="dist/umd/ng-at-internet-ui-router-plugin.js"></script>
```

## Examples

Please see at-internet documentation:
[link](https://github.com/ovh/manager/blob/master/packages/components/ng-at-internet/README.md)

Configuring the provider:

```js
app.config([
  'atInternetUiRouterPluginProvider',
  function(provider) {
    provider.setTrackStateChange(true);
  },
]);
```

That's it, now every state change will send a page tracking data to ATInternet.
To disabled tracking on specific states, use the following syntax:

```js
$stateProvider.state('your-untracked-state', {
  url: '...',
  atInternet: {
    ignore: true, // this tell AtInternet to not track this state
  },
});
```

By default, the state name will be used for the page name to be sent. If you want to modify this behavior
for a given state, please use the following syntax :

```js
$stateProvider.state('your-state', {
  url: '...',
  atInternet: {
    rename: 'foobar', // use "foobar" as page name instead of "your-state"
  },
});
```

If you want, you can apply some filters on the states name, for example :

```js
app.config(
  /* @ngInject */ (atInternetUiRouterPluginProvider) => {
    // replace all occurrences of "foo" by "bar" in states name
    atInternetUiRouterPluginProvider.addStateNameFilter((stateName) =>
      stateName.replace(/foo/g, 'bar'),
    );
  },
);
```

## Test

```sh
$ yarn test
```

## Related

- [ng-at-internet](https://github.com/ovh/manager/tree/master/packages/components/ng-at-internet) - AT Internet tracking js library wrapper for AngularJS

## Contributing

Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh/manager/issues/new) or working on some of the [open issues](https://github.com/ovh/manager/issues), our [contributing guide](https://github.com/ovh/manager/blob/master/CONTRIBUTING.md) will help get you started.

## License

[BSD-3-Clause](LICENSE) © OVH SAS

---
_Source: https://npm.io/package/@ovh-ux/ng-at-internet-ui-router-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
