The call method gives you direct access to the original Smart Pixel. This allows you to use functions, features, and extensions that this library does not support by default.
More info under Smart Pixel.
Overview
Value | Description | Data type | Required |
|---|---|---|---|
callback | Callback method to interact with the origin Smart Pixel. |
| Yes |
Implementation Example
Lifecycle Hook
If you do not have automatic page tracking enabled, invoke the track method after adding all relevant tracking information.
<template>
<div>
<p>The trackId that Mapp Intelligence uses is: {{ trackId }}</p>
</div>
</template>
<script>
export default {
name: "example",
data: () => {
return {
trackId: ""
};
},
mounted() {
this.$webtrekk.call(wtSmart => {
this.trackId = wtSmart.init.get().trackId;
});
}
};
</script>