# linker

```javascript
export default {
  name: 'MyComponent',

  methods: {
    track () {
      this.$gtag.linker({
        'domains': ['example.com']
      })
    }
  }
}
```

{% hint style="info" %}
Remember, this is just an example. check the all API parameters in the official gtag documentation [here](https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain#automatically_link_domains)
{% endhint %}
