Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Step 1: Create a new rule

In Adobe Analytics, create a new rule followed by your naming convention.

Step 2: Create a new event

Step 2a: Mopinion event

Create a new event that points to the corresponding Mopinion event.

Step 2b: Any element

Choose Core > Custom Event and set the event type to ‘any element’.

If you use multiple event types, they will be added as an ‘or’ connection:

Step 3: Add conditions

Add conditions if you have multiple feedback forms on the same page.

Step 4: Variables

Configure the Set Variables component from Adobe Analytics. Access the event details by setting the label to %event.detail.event% :

Step 5: Send Beacon

Configure the Send Beacon component from Adobe Analytics. Send data as s.tl (event request):

Step 6

The whole configuration will look as follows:

Step 7: Trigger the events

Go to your feedback form and trigger the specific events. If everything is set up correctly, you will see the event calls triggered in your network console:


Easy html macro
theme{"label":"solarized_dark","value":"solarized_dark"}
contentByMode{"html":"<div id=\"surveyContent\"></div>","javascript":"var confluenceData = {};\nvar pageId;\nvar pageTitle;\n\ntry {\n confluenceData = JSON.parse(parent.window.name);\n var pageId = confluenceData.options.productContext['page.id'];\n var pageTitle = confluenceData.options.productContext['page.title'];\n} catch(e) {}\n\nvar src = 'https://collect.mopinion.com/assets/surveys/2.0/js/survey.min.js';\n\nvar vars = {\n key:'211a4fdb96626776846147095cc335b448e20458', \n domain:'app.mopinion.com', \n divName:'surveyContent', \n button:false, \n use_collect:false, \n useQuerySelectorAll:false\n};\n\nvar s = document.createElement('script');\ns.async = 'async';\ns.id = 'mopinionFeedbackScript';\ns.src = src;\ns.onload = s.onreadystatechange = function() {\n if (!s.readyState || s.readyState === 'loaded' || s.readyState === 'complete') {\n try {\n srv.loadSurvey(vars);\n } catch (e) {}\n }\n}\ndocument.head.appendChild(s);","css":""}