Step 1: Create a new web app (you can find more information here).
Step 2: Type a name for your Mobile & Web app and Select the App Environment.
Step 3: Type the URL and click Create App:
Step 4: Click the eye icon to view app details:
Step 5: Copy and paste this tracking code into every page of your site, just before the </body> tag.
This code will create a new user (anonymous), if it doesn't exist, with the following information:
- Session start
- Session stop
- Open Web app
- Browser
- Device OS
- Device model
- Language
- Views
Note: The device ID will be saved in a local storage.
If you want to send more contact data you must send the following code:
pushSdk.createEmailMetric(«johnny@website.com»);
pushSdk.sendMetrics();
You can read more information in our developer's website.
Comments
0 comments
Please sign in to leave a comment.