Thanks for joining me!
Good company in a journey makes the way seem shorter. — Izaak Walton
Thanks for joining me!
Good company in a journey makes the way seem shorter. — Izaak Walton
So for the last couple of weeks I’ve been working on devising the best means by which to measure Search Engagement. By our definition, Search Engagement is defined as the rate at which users either (1) search and then click to view a product from search results or (2) immediately add a search results item to their cart.
To measure this, I needed to build two custom Adobe Analytics Components, a Segment and a Calculated Metric.
What NOT to do:
At first (and excited to use the new Sequential/Time-based segment functionality in Segment Builder), I thought it would be best to use a Visit container in my Segment… something along the lines of this:
However, after many, many trials, many more errors, and a considerable amount of time spent on the phone with Adobe Client Care, I realized this was not the best approach. You see, since I was using an OR condition, the Visit container segments will search through all hits across the site, and if ANY one of those hits matches ANY of your conditions, ALL hits across that visit will be included in the segment. Confusing, huh?
That said, I needed to find a way to include only those hits that defined my segment. It became clear that I would need to create a segment using a Hit-based container instead, so I tried this:
The logic here was that all hits should include a referring URL (as long as that hit was not a direct load, i.e., Typed/Bookmarked), so I thought that including Referrer in a hit-based segment along with whatever event I wanted to also include (ProdView or AddtoCart), I would have my bases covered. Unfortunately, when building out a segment, the Referrer dimension only includes the EXTERNAL referrer…
What TO do:
So now that we know what NOT to do, here’s what I came up with as a solution…
I needed to make sure that we captured all conditions in a single hit, so I decided to collect the referring URL (only if referrer is from within the same domain) in its own eVar. To do this, I did the following:
Create data element…
Create a simple JS script to return the value of the referrer ( but only if it’s from an internal URL):
2. Define an eVar to store the value of the Internal Referrer:
3. Set that eVar as a Global Variable in DTM (Note: This could also be done in a page load rule, but since I may want to use this value elsewhere, I set it globally):
4. Create your hit-based segment in Segment Builder:
5. Create your Calculated Metric using the Metric Builder:
Note: The above calculated metric simply calculates the number of visits that fall into the segment “Search Engagers” (defined above) divided by the total number of Internal Search visits.
Approve and Share the new Calculated Metric, and you’re now ready to pull the new metric into your report. In the example below, I’m measuring Engagement as defined above by term:
I’ll be running some tests over the next couple of days to confirm that the numbers I’m seeing in my reports are accurate, but in the meantime feel free to leave a comment or feedback.
Thanks for stopping by!
-RF
Wow! It’s been nearly six months since my last post, and I can’t believe how much harder it’s been to get back here with a post than I had initially anticipated. So much has happened in that time. I’ve passed my one year mark in my position here at Interline Brands, and it’s been a fantastic journey so far! I’m so excited to have wrapped up a phenomenal first year and look forward to even greater challenges and opportunities in the year ahead. Among those are the completion of my first mobile analytics implementation and the unveiling of a couple of dashboards I’ve built using Adobe Report Builder.
In the coming weeks, I’ll be posting some of the incredible work I’ve been able to accomplish over this last year and will outline some of the great, new initiatives ahead. I’m also committing to do my best to create at least one new post a week (a lofty goal I know…), so please stay tuned for new content!
Thanks for stopping by!
– RF
It’s been just over six months since I reentered the world of Web Analytics, and I could not possibly be any happier! I’ve learned so much in so little time, already adding an incredible number of invaluable new skills to my arsenal. When I first came on board, I had very little exposure to Adobe Analytics. My previous experience had been with companies that ran Coremetrics shops. After six months, I’m still finding that I learn something new every single day!
From integrating Adobe Analytics with Adobe Target (A4T) and SilverPop (via Data Connectors) to administering and utilizing DTM to create rules using custom code, I’m learning more than I could have thought possible in such a short time. From utilizing Report Builder, Analysis Workspace and AdHoc Analysis to create and schedule complex reports to helping to launch our company’s first online product recommendations, needless to say the learning curve has been extremely high. I’m looking forward to continuing to grow and learn as much as I can in this role and beyond.
I hope to use this site as a sounding board for my experiences and to, hopefully, offer some guidance to others who – like me – are passionate about web analytics. Future posts will include examples of problems I’ve solved, as well as tips and best practices for getting the most out of your web analytics implementation.
Thanks for visiting!
-RF