Amplitude
Amplitude is a digital analytics platform for analysing user behaviour and engagement on websites and applications.
Key features include:
- Product and behavioural analytics
- User journey and funnel analysis
- Event-based tracking and reporting
- Session replay and user activity monitoring
- Data visualisation dashboards and cohort analysis
Amplitude integrates with ShopWired by adding a tracking to the ShopWired theme so you can collect analytics data about visitor activity on your website.
Account creation
Account creation
Create an account on the Amplitude website at Amplitude.
After creating your account and creating a project, Amplitude will provide a JavaScript tracking snippet and an API key required to collect website analytics data.
Theme installation
Theme installation
Amplitude provides a JavaScript tracking script similar to the example shown below:
<script src="https://cdn.amplitude.com/libs/analytics-browser-2.x.x-min.js"></script>
<script>
window.amplitude.add(window.sessionReplay.plugin());
window.amplitude.init("YOUR_API_KEY");
</script>
The script shown above is provided as an example only. You must copy the exact script provided in your own account, as the script and any ID values will be unique to your website.
- Navigate to Website > Themes
- Select the
code editoroption for the theme you want to edit - Open the
master.twigfile - Add the Amplitude tracking script just above the closing
</head>tag - Select Save changes
After the script has been added, Amplitude will begin collecting data from your website.
Recommendations
Recommendations
- Install the tracking script on your live theme only after testing on a draft theme
- Verify that events such as page views are appearing in Amplitude before relying on analytics reports
- Use Amplitude dashboards to monitor visitor behaviour and conversion paths for your ShopWired website