Mobile app version of vmapp.org
Login or Join
Jennifer507

: How can I track "user returns after X days" as a goal in Google Analytics? I would like to set up goals that track specific cases of user behavior that we have decided are interest to us,

@Jennifer507

Posted in: #GoalTracking #GoogleAnalytics

I would like to set up goals that track specific cases of user behavior that we have decided are interest to us, such as when a user returns after having not been on the site for a week, or a month.

So for example, I might report that of the 100 visitors to the site today, 33 of them were returning for the first time in a month, and 42 were returning for the first time in a week.

This is already tracked to some degree in the Days Since Last Visit report, but the report seems very limited -- I really want a metric to use (like I use other goals) that just counts the number of cases of something.

There are four types of goal available: Url, Time on Site, Pv/Visit, and Event -- the first three are not right, but it seems like I might be able to create an event that does what I want. I could do this by storing the last visit date in the database, or in a cookie, but am hoping to avoid this, as it seems redundant.

Or maybe a custom variable that I set in some JS logic?

Has anyone done anything like this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jennifer507

1 Comments

Sorted by latest first Latest Oldest Best

 

@XinRu657

Google Analytics already tracks this information, so, if you want more granular reporting, this would be an ideal use case for Advanced Segment reporting:


Create a New Custom Segment
Enter a name for the segment (e.g. "Recency: 1wk+") so you can save and refer to your report in the future
In the first filter, specify:

Include
Days since last visit
Greater than
... and the value you would like as a lower bound

Repeat the process and specify "Less than" to set an upper bound
Save your custom segment


If it would be more convenient for you to simply track return activity as a goal, you might do so using an event or session-level custom variable (or virtual pageview) - in which case you would need to author a Javascript which checks whether user has an existing timestamp cookie and, if timestamp cookie is greater than (specified interval) and no "already reported" cookie exists, issue a virtual pageview.

Edit:


... since Events can now be tracked as goals, this is probably the
preferable solution in order to avoid spurious false page views,
right?


Sure enough, amended answer accordingly - virtual page views have historically been the only option (and they carry the same disadvantage of bounce rate deflation) but you could even use a custom variable to track this information if you have a free slot for it.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme