aemsites / vg-roadchoice-com

Road Choice website
https://www.roadchoice.com
Apache License 2.0
1 stars 0 forks source link

Maze Integration for User Experience Testing on Road Choice (all market sites) #84

Open bfvolvo opened 1 week ago

bfvolvo commented 1 week ago

Context/Description

As a UX practitioner, product owner, content creator I would like the ability to run user test against roadchoice.com to have data to support design decisions that lead to improved user experiences. This will roll out for mx ca and us in the mono-repo.

Volvo Groups plan for Maze 2024

This is a request to add the following code to Road Choice so that Maze can reference it for Live Website testing. This would be a PoC to test Maze against a live setting to collect data and see if we are able to scale rapid testing. This is not a replacement to Hotjar or Google Analytics as these tools serve a different purpose.

Install Guide https://help.maze.co/hc/en-us/articles/9800356063891-Installing-the-Maze-snippet-on-your-website?_gl=1%2At7he9f%2A_gcl_au%2AODk4NDk1MDY4LjE3MjkxNzk5NjM.

Code Below Our product team need to install a code snippet to our website(s) in order to connect Maze, our research tool, and embed live surveys for user feedback.

The snippet should be pasted immediately after the website’s .

Here’s the code snippet for your ease:

<script>
(function (m, a, z, e) {
  var s, t;
  try {
    t = m.sessionStorage.getItem('maze-us');
  } catch (err) {}

  if (!t) {
    t = new Date().getTime();
    try {
      m.sessionStorage.setItem('maze-us', t);
    } catch (err) {}
  }

  s = a.createElement('script');
  s.src = z + '?apiKey=' + e;
  s.async = true;
  a.getElementsByTagName('head')[0].appendChild(s);
  m.mazeUniversalSnippetApiKey = e;
})(window, document, 'https://snippet.maze.co/maze-universal-loader.js', '2852429c-8735-46e0-8655-38f2f515fa53');
</script>

You can also find documentation with additional information here: https://help.maze.co/hc/en-us/articles/9800356063891

Best, Burundi Fletcher

Acceptance Criteria

User AC: Able to setup a test block in Maze that indicates a connection to roadchoice.com

Editor AC: Successful integration of the code snippet that allows it to be picked up by Maze

Non-functional AC:

Out of scope

No response

Note

No response

Technical details

Our product team need to install a code snippet to our website(s) in order to connect Maze, our research tool, and embed live surveys for user feedback.

The snippet should be pasted immediately after the website’s .

Here’s the code snippet for your ease:

<script>
(function (m, a, z, e) {
  var s, t;
  try {
    t = m.sessionStorage.getItem('maze-us');
  } catch (err) {}

  if (!t) {
    t = new Date().getTime();
    try {
      m.sessionStorage.setItem('maze-us', t);
    } catch (err) {}
  }

  s = a.createElement('script');
  s.src = z + '?apiKey=' + e;
  s.async = true;
  a.getElementsByTagName('head')[0].appendChild(s);
  m.mazeUniversalSnippetApiKey = e;
})(window, document, 'https://snippet.maze.co/maze-universal-loader.js', '2852429c-8735-46e0-8655-38f2f515fa53');
</script>

You can also find documentation with additional information here: https://help.maze.co/hc/en-us/articles/9800356063891

Best, Burundi Fletcher

BeckyMedlin commented 1 week ago

@alexiscoelho, @mollyaljenkins and @Rapostu Would like for this script to be added before go-live on the Road Choice search enhancement project concludes and is deployed to production so that we can get a baseline.