Questions about visitor and goal counts with at.js 2.2 TriggerView()

Avatar

Avatar

seankarc

Avatar

seankarc

seankarc

24-02-2020

We’re looking into upgrading from at.js 1.7 to 2.2 so we can incorporate TriggerView() into our SPA.

 

I’ve been testing things in our stage environment and the 2 big things I’m trying to understand are:

  • Do SPA visitors only count as activity visitors if they’ve been exposed to a modified view? (It seems like the answer is yes)
  • Does TriggerView() provide the ability to set up conversion metrics based on URL visits? (It seems like the answer is no)

Here’s more background. Let’s say I have a reservation scheduling SPA.

 

The normal funnel “page” URLs and order are:

  1. mysite.com/schedule.html/search
  2. mysite.com/schedule.html/choose-place
  3. mysite.com/schedule.html/choose-time
  4. mysite.com/schedule.html/confirmation-success

There’s also this page: mysite.com/schedule.html/my-account

  

I want to run a test on mysite.com/schedule.html/choose-place and have the modification in the appropriate view. But people can enter the application through any of these pages and then circle back to the top of the funnel so I have to set up the activity Page Delivery options as:

 

Page = mysite.com/schedule.html/choose-place 

OR any page where url contains mysite.com/schedule.html/ 

 

I want the success metric to be:

Increase Conversion

Measured by… Viewing of page mysite.com/schedule.html/confirmation-success

 

We’re adding the TriggerViews on each page load using DTM.

 

  • If someone hits just /search and then bounces, are they counted as a Visitor in the test? The page matches the “OR contains mysite.com/schedule.html/“ rule but I don’t want them counted since they haven’t actually seen the modification.
  • The goal metrics always return 0. Target has never been able to return URL-based goal metrics in our SPA. I thought adding the TriggerVew() might solve this or enable a new “viewed TriggerView” option in the goal settings but apparently not. Are we implementing something wrong? We typically use A4T but it would be nice to be able to use Target as the report source so we can use AutoAllocate.

Accepted Solutions (0)

Answers (0)