call
- 1 Minute to read
- Print
- DarkLight
call
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
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>
Was this article helpful?